Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

feat(tasks): 任务卡零读数标为未使用并链接正在处理的作品

longmeidaoa7ad851a8509
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2be38767e..70a668ae9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@ Removed / Fixed / Security。
- **采集**:扫描与采集的问题提示合成一块,「7 天内不再问」、完整记录和导出都放进同一个框;归档后可以撤销,刷新页面后那条「已归档」不再常驻。
- **界面**:数据管理、任务中心、系统诊断等页面的卡片统一去掉外圈描边,深色主题下不再一半卡有框、一半没有;卡内列表的分隔线统一左边对齐文字、右边顶到卡边。
+- **界面**:任务中心的资源读数为 0 时显示「GPU 未使用」「网络 未使用」等,不再写 0% 或 0 B/s;播放文件头修复的任务卡列出正在修复的视频,点文件名可打开作品详情。
### 修复
diff --git a/frontend/e2e/design-activity.test.ts b/frontend/e2e/design-activity.test.ts
index 6733547b0..d8288701a 100644
--- a/frontend/e2e/design-activity.test.ts
+++ b/frontend/e2e/design-activity.test.ts
@@ -69,6 +69,46 @@ describe('任务页云下载布局', () => {
assert.deepEqual(opened.problems, []);
} finally { await opened.close() }
});
+ for (const viewport of VIEWPORTS) it(`${viewport.name} 零读数标为未使用,单部作品的任务链接到作品详情`, async () => {
+ const name = '[Studio]Very_Long_Unbroken_File_Name_That_Should_Wrap_Inside_The_Card_2026-11-03_1080p.mp4';
+ const opened = await visit(browser, '/tasks', viewport, async page => {
+ await page.route('**/api/downloads?*', route => route.fulfill({ json: { available: false, tasks: [], providers: [] } }));
+ await page.route('**/api/tasks*', route => route.fulfill({ json: {
+ available: true, skipped: [], finished: [], running: [{
+ id: 7, task_key: 'mp4-header-repair', task_label: '播放文件头修复', trigger: 'manual', status: 'running',
+ host: 'desk', started_at: '2026-11-03T08:00:00Z', finished_at: null, elapsed_seconds: 140,
+ progress_current: 0, progress_total: null, progress_label: '读取帧时间戳',
+ result_summary: { asset_id: 6297, name }, error: '', parent_run_id: null, followup_key: '',
+ control: { state: 'running', actions: ['pause', 'cancel'] },
+ resources: {
+ cpu: { state: 'ready', percent: 61.6, high: true },
+ gpu: { state: 'ready', percent: 0, high: false },
+ network: { state: 'unavailable', bytes_per_second: null, high: false, reason: '挂载或 SMB 的缓存与预读无法按任务取得实际网速' },
+ sampled_at: '2026-11-03T08:02:20Z',
+ },
+ }],
+ } }));
+ });
+ try {
+ const page = opened.page;
+ const chips = page.locator('[data-task-resources="7"]');
+ await chips.waitFor();
+ const idle = await chips.locator('[data-task-resource]').evaluateAll(nodes =>
+ Object.fromEntries(nodes.map(node => [(node as HTMLElement).dataset.taskResource, 'resourceIdle' in (node as HTMLElement).dataset])));
+ assert.deepEqual(idle, { cpu: false, gpu: true, network: false });
+ const link = page.locator('[data-task-subject="7"]');
+ assert.equal(await link.getAttribute('href'), '/assets/6297');
+ assert.equal(await link.getAttribute('title'), name);
+ assert.equal(await page.locator('#run-7').getByText('技术详情').count(), 0);
+ const geometry = await page.locator('#run-7').evaluate(card => {
+ const box = card.getBoundingClientRect();
+ const link = card.querySelector('[data-task-subject]')!.getBoundingClientRect();
+ return { fits: document.documentElement.scrollWidth <= innerWidth, inside: link.right <= box.right };
+ });
+ assert.deepEqual(geometry, { fits: true, inside: true });
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
for (const viewport of VIEWPORTS) it(`${viewport.name} 追更问题展示来源原因和管理入口`, async () => {
const opened = await visit(browser, '/tasks', viewport, async page => {
await page.route('**/api/tasks*', route => route.fulfill({ json: {
diff --git a/frontend/src/react/activity/activity-page.tsx b/frontend/src/react/activity/activity-page.tsx
index 7d9d98512..72052db31 100644
--- a/frontend/src/react/activity/activity-page.tsx
+++ b/frontend/src/react/activity/activity-page.tsx
@@ -14,7 +14,7 @@
* 轮询只管第一页,翻过的那些不会被下一次刷新冲掉。 */
import { useId, useState } from 'react';
import type { ReactNode } from 'react';
-import { RiArrowDownSLine, RiArrowRightLine, RiHistoryLine } from '@remixicon/react';
+import { RiArrowDownSLine, RiArrowRightLine, RiFileVideoLine, RiHistoryLine } from '@remixicon/react';
import { useMutation, useQuery } from '@tanstack/react-query';
import { Chip } from '@/components/base/badges/chip';
@@ -39,7 +39,7 @@ import { TaskResources } from './task-resources';
import {
elapsedText, fetchEarlier, fetchTasks, foldByKind, foldRoutine, followupDetail, followupTally, groupFollowups, isActive,
hasResultProblems, isRoutine, latestOfKind, mergeFinished, momentText, pollInterval, problemDestination, progressText,
- statusLabel, summaryItems, taskIssues, TASKS_KEY, TRIGGER_LABELS, type FollowupCounts, type TaskControlState, type TaskRunPayload,
+ statusLabel, summaryItems, taskIssues, taskSubject, TASKS_KEY, TRIGGER_LABELS, type FollowupCounts, type TaskControlState, type TaskRunPayload,
} from './tasks';
/** 一张卡里最多列多少条后继。几批合成一张卡时会有上千条,全画出来一屏都是同一句。 */
@@ -128,6 +128,7 @@ function RunCard(
rank(b) - rank(a) || b.id - a.id).slice(0, FOLLOWUP_ROWS) : [];
const shown = listed.length;
const total = Math.max(followups?.length || 0, followupTotal);
+ const subject = taskSubject(run);
return (
// `id` 让「需要处理」那一行的「查看失败记录」能直接滚到这张卡。
<li id={`run-${run.id}`} data-status={run.status} data-task-key={run.task_key} data-run-id={run.id}
@@ -146,6 +147,12 @@ function RunCard(
</div>
<p className="text-caption-1-regular text-text-secondary">{meta}</p>
<TaskResources run={run} active={resourceActive} />
+ {/* 文件名常有上百字:单行末尾省略,番号在开头,完整名称在悬停提示里。不用 data-middle-truncate:
+ 它按 Canvas 量宽,不计中西文自动间距,中日文夹英文的名字会被裁掉末尾几个像素。 */}
+ {subject ? <LinkButton href={subject.href} size="xs" leadingIcon={RiFileVideoLine} data-task-subject={run.id}
+ title={subject.label} className="min-w-0 max-w-full self-start justify-start [&>span]:min-w-0 [&>span]:truncate">
+ {subject.label}
+ </LinkButton> : null}
{children}
</div>
{shown ? <div className="border-t border-separator-border px-5 py-2.5">
@@ -158,7 +165,8 @@ function RunCard(
<FollowupList rows={listed} />
</Disclosure>
</div> : null}
- {Object.keys(run.result_summary || {}).length ? <div className="border-t border-separator-border px-5 py-2.5">
+ {/* 在跑的那一轮只有开跑时写下的作品,已经链接在卡片上,结算后才有可看的详情。 */}
+ {!isActive(run) && Object.keys(run.result_summary || {}).length ? <div className="border-t border-separator-border px-5 py-2.5">
<Disclosure summary="技术详情" contentClassName="pb-2.5">
<CodeBlock code={JSON.stringify(run.result_summary, null, 2)} language="json"
label={`${run.task_label}技术详情`} />
@@ -210,7 +218,9 @@ function SettledRun(
const summary = batches
? [`共处理 ${followupTotal!.toLocaleString()} 项`, followupFailed ? `其中 ${followupFailed.toLocaleString()} 项失败` : '']
.filter(Boolean)
- : summaryItems(run.result_summary).filter((line) => line !== run.error);
+ // 作品链接已写出文件名,摘要不再列「名称」。
+ : summaryItems(taskSubject(run) ? { ...run.result_summary, name: '' } : run.result_summary)
+ .filter((line) => line !== run.error);
const issues = taskIssues(run);
const destination = problemDestination(run, latest);
const elapsed = elapsedText(run.elapsed_seconds);
diff --git a/frontend/src/react/activity/task-resources.tsx b/frontend/src/react/activity/task-resources.tsx
index 1380307d8..7de1549dd 100644
--- a/frontend/src/react/activity/task-resources.tsx
+++ b/frontend/src/react/activity/task-resources.tsx
@@ -23,6 +23,12 @@ function unavailable(state: TaskResourceState) {
return state === 'sampling' ? '采样中' : '未取得';
}
+/* 读数为 0 说的是这一轮没占用这项资源,直接写「未使用」,不让人去读一个 0。 */
+function reading(key: 'cpu' | 'gpu' | 'network', value: number) {
+ if (value === 0) return '未使用';
+ return key === 'network' ? `${fmtSize(value)}/s` : `${value.toLocaleString(undefined, { maximumFractionDigits: 1 })}%`;
+}
+
export function TaskResources({ run, active = isActive(run) || Boolean(run.control) }: {
run: TaskRunPayload; active?: boolean;
}) {
@@ -35,15 +41,13 @@ export function TaskResources({ run, active = isActive(run) || Boolean(run.contr
const value = key === 'network' ? resources.network.bytes_per_second : resources[key].percent;
const ready = metric.state === 'ready' && value !== null;
const high = ready && metric.high;
- const label = ready
- ? key === 'network' ? `${fmtSize(value)}/s` : `${value.toLocaleString(undefined, { maximumFractionDigits: 1 })}%`
- : unavailable(metric.state);
+ const label = ready ? reading(key, value) : unavailable(metric.state);
const explanation = [metric.reason, high ? '当前为高占用。' : '', appearance.description, resources.detail]
.filter(Boolean).join('\n');
return <ResourceChip key={key} color={appearance.color} high={high}
tabIndex={0} title={explanation}
data-task-resource={key} data-resource-state={metric.state} data-resource-high={high || undefined}
- data-copy-ignore=""
+ data-resource-idle={ready && value === 0 || undefined} data-copy-ignore=""
data-tooltip-copy-key={!metric.reason && !resources.detail && !high ? `tasks.resources.${key}.description` : undefined}>
{appearance.name} {label}
</ResourceChip>;
diff --git a/frontend/src/react/activity/tasks.ts b/frontend/src/react/activity/tasks.ts
index 350f1f410..a34389714 100644
--- a/frontend/src/react/activity/tasks.ts
+++ b/frontend/src/react/activity/tasks.ts
@@ -228,6 +228,14 @@ export function problemDestination(run: TaskRunPayload, latest = true): { href:
return target ? { href: target[0], label: target[1] } : null;
}
+/** 这一轮只处理一部作品时,摘要里带它的 `asset_id` 与文件名,任务卡据此链接到作品详情。 */
+export function taskSubject(run: TaskRunPayload): { href: string; label: string } | null {
+ const id = run.result_summary?.asset_id;
+ const name = run.result_summary?.name;
+ return typeof id === 'number' && Number.isInteger(id) && id > 0 && typeof name === 'string' && name
+ ? { href: `/assets/${id}`, label: name } : null;
+}
+
/** `LATEST_ONLY` 里每种任务最新那一轮的 id。后继不算:它们挂在父任务下,不是这种任务的一轮。 */
export function latestOfKind(rows: TaskRunPayload[]): Set<number> {
const newest = new Map<string, number>();
diff --git a/src/peach/jobs.py b/src/peach/jobs.py
index 7579dfc4b..422461e0e 100644
--- a/src/peach/jobs.py
+++ b/src/peach/jobs.py
@@ -554,11 +554,15 @@ class BackgroundJob:
if self.runs is None:
return
total = state.get("total")
+ # 只处理一部作品的任务在初始状态里带 `asset_id` 与 `name`,开跑就写进任务行,任务卡据此链接到它。
+ asset_id, name = state.get("asset_id"), state.get("name")
+ subject = ({"asset_id": asset_id, "name": name}
+ if type(asset_id) is int and asset_id > 0 and isinstance(name, str) and name else None)
run = self.runs.start(
self.task_key, trigger=trigger, mutex_key=self.mutex_key,
conflict="raise" if trigger == "manual" else "skip",
total=int(total) if isinstance(total, (int, float)) else None,
- label=self._progress_label(state))
+ label=self._progress_label(state), summary=subject)
if run is None:
return
self._run_ids[job_id] = run.id
diff --git a/src/peach/mp4repair.py b/src/peach/mp4repair.py
index d09993005..18f2c3da6 100644
--- a/src/peach/mp4repair.py
+++ b/src/peach/mp4repair.py
@@ -604,7 +604,7 @@ class HeaderRepairStore:
job.update(job_id, status='complete' if made else 'failed',
repaired=int(made), error='' if made else '播放文件头未能修复')
- job.start(work, initial={'stage': '读取帧时间戳', 'message': source.name, 'asset_id': asset_id})
+ job.start(work, initial={'stage': '读取帧时间戳', 'name': source.name, 'asset_id': asset_id})
def stop(self):
with self._guard:
diff --git a/src/peach/task_runs.py b/src/peach/task_runs.py
index 9731f6e64..16c62037c 100644
--- a/src/peach/task_runs.py
+++ b/src/peach/task_runs.py
@@ -277,7 +277,8 @@ class TaskRunStore:
def start(self, task_key: str, *, trigger: str, mutex_key: str | None = None,
conflict: str = "skip", total: int | None = None,
- label: str = "", pid: int | None = None) -> TaskRun | None:
+ label: str = "", pid: int | None = None,
+ summary: dict | None = None) -> TaskRun | None:
from .update_tasks import admission
with admission(self.database.db_path):
from .job_recovery import current_run
@@ -285,7 +286,8 @@ class TaskRunStore:
if resumed is not None:
return resumed
return self._start(task_key, trigger=trigger, mutex_key=mutex_key,
- conflict=conflict, total=total, label=label, pid=pid)
+ conflict=conflict, total=total, label=label, pid=pid,
+ summary=summary)
def suspend(self, run_id: int, *, label: str = '等待安装完成后继续',
paused_for_update: bool = True) -> None:
@@ -310,9 +312,12 @@ class TaskRunStore:
def _start(self, task_key: str, *, trigger: str, mutex_key: str | None = None,
conflict: str = "skip", total: int | None = None,
- label: str = "", pid: int | None = None) -> TaskRun | None:
+ label: str = "", pid: int | None = None,
+ summary: dict | None = None) -> TaskRun | None:
"""开一轮。互斥冲突时按 `conflict` 处理,返回 None 或抛 `TaskRunConflict`。
+ `summary` 是开跑时就知道的那部分摘要,例如这一轮处理的是哪部作品;结算时由最终摘要替换。
+
`conflict="skip"` 是定时触发的语义:本轮不跑,但要留下一条记录说明被谁挡了。
`conflict="raise"` 是手动触发的语义:告诉用户是哪一轮挡着,让他自己决定。
"""
@@ -329,9 +334,9 @@ class TaskRunStore:
"INSERT INTO task_run(task_key,trigger,status,mutex_key,pid,host,"
"started_at,heartbeat_at,progress_current,progress_total,"
"progress_label,result_summary) "
- "VALUES(?,?,'running',?,?,?,?,?,0,?,?,'{}')",
+ "VALUES(?,?,'running',?,?,?,?,?,0,?,?,?)",
(task_key, trigger, mutex_key, pid if pid is not None else os.getpid(),
- self.host, moment, moment, total, label))
+ self.host, moment, moment, total, label, json.dumps(summary or {}, ensure_ascii=False)))
run_id = int(cursor.lastrowid)
except sqlite3.IntegrityError:
if mutex_key is None:
diff --git a/tests/test_mp4repair.py b/tests/test_mp4repair.py
index 40baecb86..5800cbef5 100644
--- a/tests/test_mp4repair.py
+++ b/tests/test_mp4repair.py
@@ -448,6 +448,8 @@ class HeaderRepairStoreTests(unittest.TestCase):
self.assertTrue(entered.wait(5))
run = store.query(task_key='mp4-header-repair')[0]
self.assertEqual(run.status, 'running')
+ # 任务卡在跑的时候就要能链接到正在修的那部作品。
+ self.assertEqual(run.result_summary, {'asset_id': 6297, 'name': 'movie.mp4'})
task_control.request(store, run.id, 'cancel')
release.set()
worker = next(iter(repairs._jobs.values())).thread
diff --git a/web/dist/peach-app.activity-page-1INo77Cb.js b/web/dist/peach-app.activity-page-1INo77Cb.js
new file mode 100644
index 000000000..a8c76b24d
--- /dev/null
+++ b/web/dist/peach-app.activity-page-1INo77Cb.js
@@ -0,0 +1,711 @@
+(function() {
+ try {
+ var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "48b79bb1-910b-4cfe-8539-3cba30e0c65b", e._sentryDebugIdIdentifier = "sentry-dbid-48b79bb1-910b-4cfe-8539-3cba30e0c65b");
+ } catch {}
+})();
+import { BP as e, Button as t, Chip as n, Disclosure as r, DownloadsPanel as i, EmptyState as a, Gg as o, HN as s, LinkButton as c, LoadingDots as l, Note as u, OV as d, Progress as f, TASKS_KEY as p, TRIGGER_LABELS as m, __toESM as h, apiGet as g, apiSend as _, busyProps as v, cardClass as y, confirmModal as b, controlTask as x, cx as S, elapsedText as C, errorMessage as w, f1 as ee, fetchEarlier as te, fetchTasks as ne, fmtSize as T, foldByKind as re, foldRoutine as ie, followupDetail as E, followupTally as D, groupFollowups as ae, hasResultProblems as O, i2 as k, isActive as A, isRoutine as oe, latestOfKind as se, mergeFinished as j, momentText as M, notifyManager as N, pollInterval as ce, problemDestination as P, progressText as F, replaceEqualDeep as I, require_jsx_runtime as L, require_react as R, statusLabel as z, summaryItems as B, taskIssues as V, taskSubject as H, uo as le, useMutation as U, useQuery as W, useQueryClient as G } from "./peach-app.js";
+import { CodeBlock as K } from "./peach-app.code-block-CyDva4Ms.js";
+import { Page as ue } from "./peach-app.page-QAncjzM1.js";
+import { ErrorDetails as de, ErrorExcerpt as fe } from "./peach-app.error-excerpt-B8v2xEIP.js";
+// node_modules/@tanstack/react-query/build/modern/useMutationState.js
+var q = /* @__PURE__ */ h(R(), 1);
+function pe() {
+ let e;
+ return (t, n) => {
+ let r = [], i;
+ return () => {
+ let a = t.findAll(n.filters), o = a.flatMap((e) => [e, e.state]);
+ return (!i || o.length !== r.length || o.some((e, t) => !Object.is(e, r[t]))) && (r = o, i = I(e, a.map((e) => n.select ? n.select(e) : e.state)), e = i), i;
+ };
+ };
+}
+function me(e = {}, t) {
+ let n = G(t).getMutationCache(), [r] = q.useState(() => pe()), i = r(n, e);
+ return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(N.batchCalls(e)), [n]), i, i);
+}
+// src/react/activity/background-issues.tsx
+var J = L(), he = ["background-issues"];
+function ge() {
+ let e = (0, q.useId)(), t = W({
+ queryKey: he,
+ queryFn: ({ signal: e }) => g("/api/background-issues", e),
+ refetchInterval: 3e4
+ }).data?.issues || [];
+ return t.length ? /* @__PURE__ */ (0, J.jsxs)("section", {
+ "aria-labelledby": e,
+ className: "flex min-w-0 flex-col gap-3",
+ children: [/* @__PURE__ */ (0, J.jsx)("h3", {
+ id: e,
+ className: "text-title-2-medium text-text-primary",
+ children: "需要处理"
+ }), /* @__PURE__ */ (0, J.jsx)("ul", {
+ className: "flex min-w-0 flex-col gap-3",
+ children: t.map((e) => /* @__PURE__ */ (0, J.jsx)("li", { children: /* @__PURE__ */ (0, J.jsx)(_e, { issue: e }) }, e.key))
+ })]
+ }) : null;
+}
+function _e({ issue: e }) {
+ let n = G(), r = U({
+ mutationFn: () => _(e.retry, {}),
+ onSuccess: () => {
+ n.invalidateQueries({ queryKey: he });
+ }
+ }), i = e.since ? `自 ${M(e.since)} 起` : `发现于 ${M(e.noticed_at)}`;
+ return /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "error",
+ title: e.title,
+ action: /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, J.jsx)(c, {
+ href: e.href,
+ size: "small",
+ trailingIcon: k,
+ children: e.link_label
+ }), e.retry ? /* @__PURE__ */ (0, J.jsx)(t, {
+ variant: "secondary",
+ size: "small",
+ disabled: !e.retry_available,
+ ...v(r.isPending),
+ onClick: () => r.mutate(),
+ children: "立即重试"
+ }) : null]
+ }),
+ children: r.error ? `${i}\n没有重试:${w(r.error)}` : i
+ });
+}
+// src/react/activity/task-controls.tsx
+var Y = ["task-control"], ve = {
+ pause: d,
+ resume: o,
+ cancel: s
+}, ye = {
+ pause: "暂停",
+ resume: "继续",
+ cancel: "取消"
+}, be = {
+ pause: "暂停后续任务",
+ resume: "继续后续任务",
+ cancel: "取消后续任务"
+};
+function xe() {
+ let e = me({
+ filters: { mutationKey: Y },
+ select: (e) => ({
+ id: e.mutationId,
+ command: e.state.variables,
+ status: e.state.status,
+ error: e.state.error
+ })
+ }), t = /* @__PURE__ */ new Map();
+ for (let n of e) {
+ let e = n.command;
+ if (!e) continue;
+ let r = t.get(e.id);
+ (!r || r.id < n.id) && t.set(e.id, {
+ ...n,
+ command: e
+ });
+ }
+ let n = [...t.values()].filter((e) => e.status === "error");
+ return n.length ? /* @__PURE__ */ (0, J.jsx)("div", {
+ "data-task-control-feedback": "",
+ className: "flex min-w-0 flex-col gap-2",
+ children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "error",
+ title: `${e.label}:${(e.followups ? be : ye)[e.action]}未完成`,
+ children: w(t)
+ }, e.id))
+ }) : null;
+}
+function Se({ run: e }) {
+ let n = G(), r = (0, q.useRef)({
+ change: !1,
+ cancel: !1,
+ confirmation: !1
+ }), i = () => {
+ n.invalidateQueries({ queryKey: p });
+ }, a = (e) => x(e.id, e.action), o = U({
+ mutationKey: [
+ ...Y,
+ e.id,
+ "change"
+ ],
+ mutationFn: a,
+ onSettled: () => {
+ r.current.change = !1, i();
+ }
+ }), s = U({
+ mutationKey: [
+ ...Y,
+ e.id,
+ "cancel"
+ ],
+ mutationFn: a,
+ onSettled: () => {
+ r.current.cancel = !1, i();
+ }
+ }), c = e.control?.actions || [], l = !A(e), u = s.isPending || s.isSuccess;
+ if (!c.length) return null;
+ let d = (t) => {
+ let n = {
+ id: e.id,
+ label: e.task_label,
+ action: t,
+ followups: l
+ };
+ if (t === "cancel") {
+ if (r.current.cancel || r.current.confirmation || s.isSuccess) return;
+ r.current.confirmation = !0, b({
+ title: l ? `取消「${e.task_label}」的全部后续任务` : `取消任务「${e.task_label}」`,
+ body: l ? "将停止这轮已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这批后续任务取消后不能继续,需要时重新发起。" : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",
+ confirmLabel: l ? "取消后续任务" : "取消任务",
+ danger: !0,
+ onConfirm: async () => (r.current.cancel = !0, await s.mutateAsync(n))
+ }).finally(() => {
+ r.current.confirmation = !1;
+ });
+ } else {
+ if (r.current.change || r.current.cancel || u) return;
+ r.current.change = !0, o.mutate(n);
+ }
+ };
+ return /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "ml-auto shrink-0",
+ "data-task-controls": e.id,
+ children: /* @__PURE__ */ (0, J.jsx)("div", {
+ role: "group",
+ "aria-label": `${e.task_label}${l ? "后续任务" : "任务"}控制`,
+ className: "flex items-center justify-end gap-2",
+ children: c.map((e) => {
+ let n = (l ? be : ye)[e], r = e === "cancel" ? s.isPending : o.isPending && o.variables?.action === e, i = e === "cancel" ? u : o.isPending || u;
+ return /* @__PURE__ */ (0, J.jsx)(t, {
+ type: "button",
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: ve[e],
+ "aria-label": n,
+ title: n,
+ ...v(r),
+ "aria-disabled": i || void 0,
+ onClick: () => d(e),
+ "data-tooltip-copy-key": `tasks.control.action.${l ? "followups." : ""}${e}`
+ }, e);
+ })
+ })
+ });
+}
+// src/react/activity/resource-chip.tsx
+var Ce = {
+ blue: "bg-status-blue-text text-background-primary-default",
+ purple: "bg-status-purple-text text-background-primary-default",
+ cyan: "bg-status-cyan-text text-background-primary-default"
+};
+function we({ color: e, high: t, ...r }) {
+ return t ? /* @__PURE__ */ (0, J.jsx)("span", {
+ ...r,
+ className: S("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Ce[e])
+ }) : /* @__PURE__ */ (0, J.jsx)(n, {
+ variant: "caption",
+ color: e,
+ ...r
+ });
+}
+// src/react/activity/task-resources.tsx
+var Te = {
+ cpu: {
+ name: "CPU",
+ color: "blue",
+ description: "CPU 使用率以执行端可用容量为 100%,容器按可见 CPU 配额计算。达到 50% 时加深显示。"
+ },
+ gpu: {
+ name: "GPU",
+ color: "purple",
+ description: "GPU 使用率显示该任务最忙的 GPU 引擎。达到 50% 时加深显示。"
+ },
+ network: {
+ name: "网络",
+ color: "cyan",
+ description: "网络速率显示该任务已观测的下载速度,达到 10 MiB/s 时加深显示。挂载盘或无法准确归属的传输显示未取得。"
+ }
+};
+function Ee(e) {
+ return e === "sampling" ? "采样中" : "未取得";
+}
+function De(e, t) {
+ return t === 0 ? "未使用" : e === "network" ? `${T(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;
+}
+function Oe({ run: e, active: t = A(e) || !!e.control }) {
+ if (!t || !e.resources) return null;
+ let n = e.resources;
+ return /* @__PURE__ */ (0, J.jsx)("div", {
+ "data-task-resources": e.id,
+ className: "flex min-w-0 flex-wrap items-center gap-2",
+ children: [
+ "cpu",
+ "gpu",
+ "network"
+ ].map((e) => {
+ let t = n[e], r = Te[e], i = e === "network" ? n.network.bytes_per_second : n[e].percent, a = t.state === "ready" && i !== null, o = a && t.high, s = a ? De(e, i) : Ee(t.state), c = [
+ t.reason,
+ o ? "当前为高占用。" : "",
+ r.description,
+ n.detail
+ ].filter(Boolean).join("\n");
+ return /* @__PURE__ */ (0, J.jsxs)(we, {
+ color: r.color,
+ high: o,
+ tabIndex: 0,
+ title: c,
+ "data-task-resource": e,
+ "data-resource-state": t.state,
+ "data-resource-high": o || void 0,
+ "data-resource-idle": a && i === 0 || void 0,
+ "data-copy-ignore": "",
+ "data-tooltip-copy-key": !t.reason && !n.detail && !o ? `tasks.resources.${e}.description` : void 0,
+ children: [
+ r.name,
+ " ",
+ s
+ ]
+ }, e);
+ })
+ });
+}
+// src/react/activity/activity-page.tsx
+var ke = 50, Ae = /* @__PURE__ */ new Set(["upgrade-repairs"]), je = {
+ succeeded: "lime",
+ failed: "rose",
+ cancelled: "rose",
+ interrupted: "yellow",
+ running: "blue",
+ pending: "neutral"
+}, Me = {
+ running: "进行中",
+ pausing: "正在暂停",
+ paused: "已暂停",
+ cancelling: "正在取消"
+};
+function X({ run: e }) {
+ let t = e.control?.state;
+ if (t && (t !== "running" || !A(e))) return /* @__PURE__ */ (0, J.jsx)(n, {
+ color: t === "running" ? "blue" : "neutral",
+ children: /* @__PURE__ */ (0, J.jsx)("span", {
+ "data-copy-key": `tasks.control.state.${t}`,
+ children: Me[t]
+ })
+ });
+ let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && O(e);
+ return /* @__PURE__ */ (0, J.jsx)(n, {
+ color: i ? "yellow" : je[e.status] ?? "neutral",
+ children: r ? "部分项目需处理" : i ? "发现问题" : z(e.status)
+ });
+}
+function Ne({ rows: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("ul", {
+ className: "-mr-5 flex min-w-0 flex-col",
+ children: e.map((e) => {
+ let t = E(e);
+ return /* @__PURE__ */ (0, J.jsxs)("li", {
+ "data-status": e.status,
+ "data-followup-key": e.followup_key,
+ className: "flex min-w-0 flex-col gap-1 border-t border-separator-border py-2.5 pr-10 pl-5",
+ children: [
+ /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex min-w-0 items-start justify-between gap-3",
+ children: [/* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1",
+ children: [
+ /* @__PURE__ */ (0, J.jsx)("span", {
+ className: "min-w-0 break-words text-caption-1-regular text-text-primary",
+ children: e.task_label
+ }),
+ /* @__PURE__ */ (0, J.jsx)(X, { run: e }),
+ t ? /* @__PURE__ */ (0, J.jsx)("span", {
+ className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
+ children: t
+ }) : null
+ ]
+ }), /* @__PURE__ */ (0, J.jsx)(Se, { run: e })]
+ }),
+ /* @__PURE__ */ (0, J.jsx)(Oe, { run: e }),
+ Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "w-full min-w-0",
+ children: /* @__PURE__ */ (0, J.jsx)(r, {
+ summary: "技术详情",
+ contentClassName: "pb-2.5",
+ children: /* @__PURE__ */ (0, J.jsx)(K, {
+ code: JSON.stringify(e.result_summary, null, 2),
+ language: "json",
+ label: `${e.task_label}技术详情`
+ })
+ })
+ }) : null
+ ]
+ }, e.id);
+ })
+ });
+}
+function Z({ run: t, meta: n, children: i, footer: a, followups: o, followupTotal: s = 0, badge: l, resourceActive: u }) {
+ let d = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), f = o ? [...o].sort((e, t) => d(t) - d(e) || t.id - e.id).slice(0, ke) : [], p = f.length, m = Math.max(o?.length || 0, s), h = H(t);
+ return /* @__PURE__ */ (0, J.jsxs)("li", {
+ id: `run-${t.id}`,
+ "data-status": t.status,
+ "data-task-key": t.task_key,
+ "data-run-id": t.id,
+ className: y({
+ padding: "none",
+ className: t.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
+ }),
+ children: [
+ /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex flex-col gap-2 px-5 py-4",
+ children: [
+ /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex min-w-0 items-start justify-between gap-3",
+ children: [/* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex min-w-0 flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, J.jsx)("strong", {
+ className: "min-w-0 break-words text-title-3-medium text-text-primary",
+ children: t.task_label
+ }), l ?? /* @__PURE__ */ (0, J.jsx)(X, { run: t })]
+ }), /* @__PURE__ */ (0, J.jsx)(Se, { run: t })]
+ }),
+ /* @__PURE__ */ (0, J.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: n
+ }),
+ /* @__PURE__ */ (0, J.jsx)(Oe, {
+ run: t,
+ active: u
+ }),
+ h ? /* @__PURE__ */ (0, J.jsx)(c, {
+ href: h.href,
+ size: "xs",
+ leadingIcon: e,
+ "data-task-subject": t.id,
+ title: h.label,
+ className: "min-w-0 max-w-full self-start justify-start [&>span]:min-w-0 [&>span]:truncate",
+ children: h.label
+ }) : null,
+ i
+ ]
+ }),
+ p ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "border-t border-separator-border px-5 py-2.5",
+ children: /* @__PURE__ */ (0, J.jsxs)(r, {
+ summary: `任务明细 · ${m.toLocaleString()} 项`,
+ contentClassName: "pb-2.5",
+ defaultOpen: f.some((e) => A(e)),
+ children: [p < m ? /* @__PURE__ */ (0, J.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: [
+ "列出其中 ",
+ p.toLocaleString(),
+ " 项,正在处理的排在前面"
+ ]
+ }) : null, /* @__PURE__ */ (0, J.jsx)(Ne, { rows: f })]
+ })
+ }) : null,
+ !A(t) && Object.keys(t.result_summary || {}).length ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "border-t border-separator-border px-5 py-2.5",
+ children: /* @__PURE__ */ (0, J.jsx)(r, {
+ summary: "技术详情",
+ contentClassName: "pb-2.5",
+ children: /* @__PURE__ */ (0, J.jsx)(K, {
+ code: JSON.stringify(t.result_summary, null, 2),
+ language: "json",
+ label: `${t.task_label}技术详情`
+ })
+ })
+ }) : null,
+ a ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
+ children: /* @__PURE__ */ (0, J.jsx)(fe, {
+ text: a,
+ className: "text-caption-1-regular text-text-secondary"
+ })
+ }) : null
+ ]
+ });
+}
+function Pe({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? Me[i] : e.progress_label || "正在进行", s = C(e.elapsed_seconds), c = [m[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, J.jsx)(Z, {
+ run: e,
+ meta: c,
+ followups: t,
+ children: n > 0 ? /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex flex-col gap-1.5",
+ children: [/* @__PURE__ */ (0, J.jsx)(f, {
+ label: o,
+ value: Math.min(r, n),
+ max: n
+ }), /* @__PURE__ */ (0, J.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary wrap-anywhere",
+ children: [
+ o,
+ " · ",
+ F(r, n),
+ " 项"
+ ]
+ })]
+ }) : a ? /* @__PURE__ */ (0, J.jsx)("p", {
+ "data-copy-key": `tasks.control.state.${i}`,
+ className: "text-caption-1-regular text-text-secondary",
+ children: o
+ }) : /* @__PURE__ */ (0, J.jsx)(l, { label: o })
+ });
+}
+function Fe({ run: e, followups: t, runs: i, latest: a, followupTotal: o, followupFailed: s = 0, followupCancelled: l = 0 }) {
+ let u = !!(i && i.length > 1 && o), d = u ? [`共处理 ${o.toLocaleString()} 项`, s ? `其中 ${s.toLocaleString()} 项失败` : ""].filter(Boolean) : B(H(e) ? {
+ ...e.result_summary,
+ name: ""
+ } : e.result_summary).filter((t) => t !== e.error), f = V(e), p = P(e, a), h = C(e.elapsed_seconds), g = i && i.length > 1 ? i[i.length - 1] : void 0, _ = (g ? [
+ m[e.trigger] || e.trigger,
+ `近 ${i.length} 轮`,
+ `${M(g.finished_at)} – ${M(e.finished_at)}`
+ ] : [
+ m[e.trigger] || e.trigger,
+ M(e.finished_at),
+ h && `用时 ${h}`
+ ]).filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, J.jsxs)(Z, {
+ run: e,
+ meta: _,
+ footer: e.error,
+ followups: t,
+ followupTotal: o,
+ badge: l && e.status === "succeeded" ? /* @__PURE__ */ (0, J.jsx)(n, {
+ color: "rose",
+ children: /* @__PURE__ */ (0, J.jsx)("span", {
+ "data-copy-key": `tasks.followups.cancelled.${l === o ? "all" : "partial"}`,
+ children: l === o ? "后续任务已取消" : "部分后续任务已取消"
+ })
+ }) : u && s ? /* @__PURE__ */ (0, J.jsx)(n, {
+ color: "yellow",
+ children: "发现问题"
+ }) : void 0,
+ children: [
+ l ? /* @__PURE__ */ (0, J.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: [
+ "后续任务已取消 ",
+ l.toLocaleString(),
+ " 项"
+ ]
+ }) : null,
+ d.length === 1 ? /* @__PURE__ */ (0, J.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary wrap-anywhere",
+ children: d[0]
+ }) : d.length ? /* @__PURE__ */ (0, J.jsx)("ul", {
+ className: "flex list-disc flex-col gap-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",
+ children: d.map((e, t) => /* @__PURE__ */ (0, J.jsx)("li", { children: e }, t))
+ }) : null,
+ f.length ? /* @__PURE__ */ (0, J.jsx)(r, {
+ summary: `问题详情 · ${f.length} 项`,
+ contentClassName: "pt-2",
+ children: /* @__PURE__ */ (0, J.jsx)(de, {
+ label: "任务问题详情",
+ children: /* @__PURE__ */ (0, J.jsx)("ul", {
+ className: "flex min-w-0 flex-col gap-3",
+ "data-task-issues": "",
+ children: f.map((e, t) => /* @__PURE__ */ (0, J.jsxs)("li", {
+ className: "flex min-w-0 flex-col gap-1 text-body-2-regular wrap-anywhere",
+ children: [/* @__PURE__ */ (0, J.jsx)("p", {
+ className: "text-body-regular text-text-primary",
+ children: [
+ e.label,
+ e.provider,
+ e.kind
+ ].filter(Boolean).join(" · ")
+ }), /* @__PURE__ */ (0, J.jsx)(fe, {
+ text: e.error,
+ className: "text-text-primary"
+ })]
+ }, `${e.source}-${t}`))
+ })
+ })
+ }) : O(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: "未取得本轮逐项详情,可到来源列表查看检查结果。"
+ }) : null,
+ p ? /* @__PURE__ */ (0, J.jsx)(c, {
+ href: p.href,
+ size: "small",
+ trailingIcon: k,
+ className: "self-start",
+ children: p.label
+ }) : null
+ ]
+ });
+}
+function Ie({ runs: e, followups: t, counts: r }) {
+ let i = e[0], a = e[e.length - 1], o = D(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !A(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [
+ m[i.trigger] || i.trigger,
+ e.length > 1 ? `${e.length} 批` : "",
+ `${M(a.started_at || a.finished_at)} 开始`
+ ].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, J.jsx)(Z, {
+ run: i,
+ meta: u,
+ followups: t,
+ followupTotal: s,
+ resourceActive: !0,
+ badge: i.control ? /* @__PURE__ */ (0, J.jsx)(X, { run: i }) : /* @__PURE__ */ (0, J.jsx)(n, {
+ color: "blue",
+ children: "进行中"
+ }),
+ children: /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "flex flex-col gap-1.5",
+ children: [/* @__PURE__ */ (0, J.jsx)(f, {
+ label: `${i.task_label}进度`,
+ value: c,
+ max: s
+ }), /* @__PURE__ */ (0, J.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: [
+ "已处理 ",
+ F(c, s),
+ " 项",
+ l ? ` · 其中 ${l.toLocaleString()} 项失败` : ""
+ ]
+ })]
+ })
+ });
+}
+function Q({ title: e, children: t }) {
+ let n = (0, q.useId)();
+ return /* @__PURE__ */ (0, J.jsxs)("section", {
+ "aria-labelledby": n,
+ className: "flex min-w-0 flex-col gap-3",
+ children: [/* @__PURE__ */ (0, J.jsx)("h3", {
+ id: n,
+ className: "text-title-2-medium text-text-primary",
+ children: e
+ }), t]
+ });
+}
+function $({ live: e = !1, children: t }) {
+ return /* @__PURE__ */ (0, J.jsx)("ul", {
+ "aria-live": e ? "polite" : void 0,
+ className: "flex min-w-0 flex-col gap-3",
+ children: t
+ });
+}
+function Le() {
+ let e = W({
+ queryKey: p,
+ queryFn: ({ signal: e }) => ne(e),
+ refetchInterval: (e) => ce(e.state.data)
+ }), n = e.data, r = n?.finished, [o, s] = (0, q.useState)([]), [c, l] = (0, q.useState)(!1), [d, f] = (0, q.useState)({}), [m, h] = (0, q.useState)(r);
+ r !== m && (h(r), o.length && m && s(j(o, m)));
+ let g = U({
+ mutationFn: ({ oldest: e }) => te(e),
+ onSuccess: (e, { shown: t }) => {
+ s((n) => j(n, t, e.finished || [])), l(!!e.finished_has_more), f((t) => ({
+ ...t,
+ ...e.followup_counts
+ }));
+ }
+ }), _ = e.error ? w(e.error) : "";
+ if (!n) return /* @__PURE__ */ (0, J.jsx)(ue, { children: /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "error",
+ children: _ || "读取任务中心失败"
+ }) });
+ let y = j(n.finished || [], o), b = n.working_parents || [], x = [
+ ...n.running || [],
+ ...n.skipped || [],
+ ...y,
+ ...b
+ ], S = ae(x), C = new Set(x.map((e) => e.id)), T = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && C.has(e.parent_run_id))), E = T(y), k = E[E.length - 1], M = !!k && (o.length ? c : !!n.finished_has_more), N = () => {
+ !g.isPending && k && g.mutate({
+ oldest: k,
+ shown: y
+ });
+ }, P = {
+ ...d,
+ ...n.followup_counts
+ }, F = (e) => e.flatMap((e) => S.get(e.id) || []), I = [...E, ...T(b)].filter((e) => D(P, [e]).active > 0 || S.get(e.id)?.some(A)).sort((e, t) => t.id - e.id), L = T(n.running || []), R = T(n.skipped || []), z = E.filter((e) => !I.includes(e) && !R.some((t) => t.id === e.id)), B = (e) => (S.get(e.id) || []).every((e) => e.status === "succeeded" && !O(e)) && D(P, [e]).failed === 0, V = ie(z, (e) => oe(e) && (B(e) || Ae.has(e.task_key))), H = [...re(I.filter((e) => !e.control)), ...I.filter((e) => e.control).map((e) => ({
+ run: e,
+ runs: [e]
+ }))].sort((e, t) => t.run.id - e.run.id), G = se(x), K = !L.length && !I.length && !R.length && !z.length;
+ return /* @__PURE__ */ (0, J.jsxs)(ue, { children: [
+ _ ? /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "error",
+ children: _
+ }) : null,
+ /* @__PURE__ */ (0, J.jsx)(xe, {}),
+ n.available === !1 ? /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "warning",
+ children: n.message || "数据库尚未准备好任务记录表"
+ }) : null,
+ /* @__PURE__ */ (0, J.jsx)(ge, {}),
+ K ? /* @__PURE__ */ (0, J.jsx)(a, {
+ icon: le,
+ title: "还没有任务记录",
+ children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
+ }) : /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
+ /* @__PURE__ */ (0, J.jsx)(Q, {
+ title: "正在进行",
+ children: L.length || I.length ? /* @__PURE__ */ (0, J.jsxs)($, {
+ live: !0,
+ children: [L.map((e) => /* @__PURE__ */ (0, J.jsx)(Pe, {
+ run: e,
+ followups: S.get(e.id)
+ }, e.id)), H.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Ie, {
+ runs: t,
+ followups: F(t),
+ counts: P
+ }, e.id))]
+ }) : /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "neutral",
+ children: "没有任务在跑。"
+ })
+ }),
+ R.length ? /* @__PURE__ */ (0, J.jsx)(Q, {
+ title: "本次未执行",
+ children: /* @__PURE__ */ (0, J.jsx)($, { children: R.map((e) => /* @__PURE__ */ (0, J.jsx)(Fe, {
+ run: e,
+ latest: G.has(e.id),
+ followups: S.get(e.id)
+ }, e.id)) })
+ }) : null,
+ z.length || M ? /* @__PURE__ */ (0, J.jsxs)(Q, {
+ title: "最近完成",
+ children: [
+ z.length ? /* @__PURE__ */ (0, J.jsx)($, { children: V.map(({ run: e, runs: t }) => {
+ let n = D(P, t);
+ return /* @__PURE__ */ (0, J.jsx)(Fe, {
+ run: e,
+ runs: t,
+ latest: G.has(e.id),
+ followups: F(t),
+ followupTotal: n.total,
+ followupFailed: n.failed,
+ followupCancelled: n.cancelled
+ }, e.id);
+ }) }) : null,
+ g.error ? /* @__PURE__ */ (0, J.jsx)(u, {
+ tone: "error",
+ children: w(g.error)
+ }) : null,
+ M ? /* @__PURE__ */ (0, J.jsx)(t, {
+ variant: "secondary",
+ size: "small",
+ leadingIcon: ee,
+ className: "self-start",
+ ...v(g.isPending),
+ onClick: N,
+ children: "加载更早"
+ }) : null
+ ]
+ }) : null
+ ] }),
+ /* @__PURE__ */ (0, J.jsx)(i, {})
+ ] });
+}
+export { Le as ActivityPage };
+
+//# debugId=48b79bb1-910b-4cfe-8539-3cba30e0c65b
\ No newline at end of file
diff --git a/web/dist/peach-app.activity-page-BI05_rqb.js b/web/dist/peach-app.activity-page-BI05_rqb.js
deleted file mode 100644
index da0bf4daf..000000000
--- a/web/dist/peach-app.activity-page-BI05_rqb.js
+++ /dev/null
@@ -1,695 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d0c1afa2-9dcf-4b52-9e33-07419cd4e2be", e._sentryDebugIdIdentifier = "sentry-dbid-d0c1afa2-9dcf-4b52-9e33-07419cd4e2be");
- } catch {}
-})();
-import { Button as e, Chip as t, Disclosure as n, DownloadsPanel as r, EmptyState as i, Gg as a, HN as o, LinkButton as s, LoadingDots as c, Note as l, OV as u, Progress as d, TASKS_KEY as f, TRIGGER_LABELS as p, __toESM as m, apiGet as h, apiSend as g, busyProps as _, cardClass as v, confirmModal as y, controlTask as b, cx as x, elapsedText as S, errorMessage as C, f1 as ee, fetchEarlier as te, fetchTasks as ne, fmtSize as re, foldByKind as ie, foldRoutine as ae, followupDetail as w, followupTally as T, groupFollowups as oe, hasResultProblems as E, i2 as D, isActive as O, isRoutine as se, latestOfKind as ce, mergeFinished as k, momentText as A, notifyManager as j, pollInterval as le, problemDestination as ue, progressText as M, replaceEqualDeep as N, require_jsx_runtime as P, require_react as F, statusLabel as I, summaryItems as L, taskIssues as R, uo as de, useMutation as z, useQuery as fe, useQueryClient as B } from "./peach-app.js";
-import { CodeBlock as V } from "./peach-app.code-block-CyDva4Ms.js";
-import { Page as pe } from "./peach-app.page-QAncjzM1.js";
-import { ErrorDetails as H, ErrorExcerpt as U } from "./peach-app.error-excerpt-B8v2xEIP.js";
-// node_modules/@tanstack/react-query/build/modern/useMutationState.js
-var W = /* @__PURE__ */ m(F(), 1);
-function me() {
- let e;
- return (t, n) => {
- let r = [], i;
- return () => {
- let a = t.findAll(n.filters), o = a.flatMap((e) => [e, e.state]);
- return (!i || o.length !== r.length || o.some((e, t) => !Object.is(e, r[t]))) && (r = o, i = N(e, a.map((e) => n.select ? n.select(e) : e.state)), e = i), i;
- };
- };
-}
-function he(e = {}, t) {
- let n = B(t).getMutationCache(), [r] = W.useState(() => me()), i = r(n, e);
- return W.useSyncExternalStore(W.useCallback((e) => n.subscribe(j.batchCalls(e)), [n]), i, i);
-}
-// src/react/activity/background-issues.tsx
-var G = P(), K = ["background-issues"];
-function ge() {
- let e = (0, W.useId)(), t = fe({
- queryKey: K,
- queryFn: ({ signal: e }) => h("/api/background-issues", e),
- refetchInterval: 3e4
- }).data?.issues || [];
- return t.length ? /* @__PURE__ */ (0, G.jsxs)("section", {
- "aria-labelledby": e,
- className: "flex min-w-0 flex-col gap-3",
- children: [/* @__PURE__ */ (0, G.jsx)("h3", {
- id: e,
- className: "text-title-2-medium text-text-primary",
- children: "需要处理"
- }), /* @__PURE__ */ (0, G.jsx)("ul", {
- className: "flex min-w-0 flex-col gap-3",
- children: t.map((e) => /* @__PURE__ */ (0, G.jsx)("li", { children: /* @__PURE__ */ (0, G.jsx)(_e, { issue: e }) }, e.key))
- })]
- }) : null;
-}
-function _e({ issue: t }) {
- let n = B(), r = z({
- mutationFn: () => g(t.retry, {}),
- onSuccess: () => {
- n.invalidateQueries({ queryKey: K });
- }
- }), i = t.since ? `自 ${A(t.since)} 起` : `发现于 ${A(t.noticed_at)}`;
- return /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "error",
- title: t.title,
- action: /* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, G.jsx)(s, {
- href: t.href,
- size: "small",
- trailingIcon: D,
- children: t.link_label
- }), t.retry ? /* @__PURE__ */ (0, G.jsx)(e, {
- variant: "secondary",
- size: "small",
- disabled: !t.retry_available,
- ..._(r.isPending),
- onClick: () => r.mutate(),
- children: "立即重试"
- }) : null]
- }),
- children: r.error ? `${i}\n没有重试:${C(r.error)}` : i
- });
-}
-// src/react/activity/task-controls.tsx
-var q = ["task-control"], ve = {
- pause: u,
- resume: a,
- cancel: o
-}, J = {
- pause: "暂停",
- resume: "继续",
- cancel: "取消"
-}, ye = {
- pause: "暂停后续任务",
- resume: "继续后续任务",
- cancel: "取消后续任务"
-};
-function be() {
- let e = he({
- filters: { mutationKey: q },
- select: (e) => ({
- id: e.mutationId,
- command: e.state.variables,
- status: e.state.status,
- error: e.state.error
- })
- }), t = /* @__PURE__ */ new Map();
- for (let n of e) {
- let e = n.command;
- if (!e) continue;
- let r = t.get(e.id);
- (!r || r.id < n.id) && t.set(e.id, {
- ...n,
- command: e
- });
- }
- let n = [...t.values()].filter((e) => e.status === "error");
- return n.length ? /* @__PURE__ */ (0, G.jsx)("div", {
- "data-task-control-feedback": "",
- className: "flex min-w-0 flex-col gap-2",
- children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "error",
- title: `${e.label}:${(e.followups ? ye : J)[e.action]}未完成`,
- children: C(t)
- }, e.id))
- }) : null;
-}
-function xe({ run: t }) {
- let n = B(), r = (0, W.useRef)({
- change: !1,
- cancel: !1,
- confirmation: !1
- }), i = () => {
- n.invalidateQueries({ queryKey: f });
- }, a = (e) => b(e.id, e.action), o = z({
- mutationKey: [
- ...q,
- t.id,
- "change"
- ],
- mutationFn: a,
- onSettled: () => {
- r.current.change = !1, i();
- }
- }), s = z({
- mutationKey: [
- ...q,
- t.id,
- "cancel"
- ],
- mutationFn: a,
- onSettled: () => {
- r.current.cancel = !1, i();
- }
- }), c = t.control?.actions || [], l = !O(t), u = s.isPending || s.isSuccess;
- if (!c.length) return null;
- let d = (e) => {
- let n = {
- id: t.id,
- label: t.task_label,
- action: e,
- followups: l
- };
- if (e === "cancel") {
- if (r.current.cancel || r.current.confirmation || s.isSuccess) return;
- r.current.confirmation = !0, y({
- title: l ? `取消「${t.task_label}」的全部后续任务` : `取消任务「${t.task_label}」`,
- body: l ? "将停止这轮已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这批后续任务取消后不能继续,需要时重新发起。" : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",
- confirmLabel: l ? "取消后续任务" : "取消任务",
- danger: !0,
- onConfirm: async () => (r.current.cancel = !0, await s.mutateAsync(n))
- }).finally(() => {
- r.current.confirmation = !1;
- });
- } else {
- if (r.current.change || r.current.cancel || u) return;
- r.current.change = !0, o.mutate(n);
- }
- };
- return /* @__PURE__ */ (0, G.jsx)("div", {
- className: "ml-auto shrink-0",
- "data-task-controls": t.id,
- children: /* @__PURE__ */ (0, G.jsx)("div", {
- role: "group",
- "aria-label": `${t.task_label}${l ? "后续任务" : "任务"}控制`,
- className: "flex items-center justify-end gap-2",
- children: c.map((t) => {
- let n = (l ? ye : J)[t], r = t === "cancel" ? s.isPending : o.isPending && o.variables?.action === t, i = t === "cancel" ? u : o.isPending || u;
- return /* @__PURE__ */ (0, G.jsx)(e, {
- type: "button",
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: ve[t],
- "aria-label": n,
- title: n,
- ..._(r),
- "aria-disabled": i || void 0,
- onClick: () => d(t),
- "data-tooltip-copy-key": `tasks.control.action.${l ? "followups." : ""}${t}`
- }, t);
- })
- })
- });
-}
-// src/react/activity/resource-chip.tsx
-var Se = {
- blue: "bg-status-blue-text text-background-primary-default",
- purple: "bg-status-purple-text text-background-primary-default",
- cyan: "bg-status-cyan-text text-background-primary-default"
-};
-function Ce({ color: e, high: n, ...r }) {
- return n ? /* @__PURE__ */ (0, G.jsx)("span", {
- ...r,
- className: x("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Se[e])
- }) : /* @__PURE__ */ (0, G.jsx)(t, {
- variant: "caption",
- color: e,
- ...r
- });
-}
-// src/react/activity/task-resources.tsx
-var we = {
- cpu: {
- name: "CPU",
- color: "blue",
- description: "CPU 使用率以执行端可用容量为 100%,容器按可见 CPU 配额计算。达到 50% 时加深显示。"
- },
- gpu: {
- name: "GPU",
- color: "purple",
- description: "GPU 使用率显示该任务最忙的 GPU 引擎。达到 50% 时加深显示。"
- },
- network: {
- name: "网络",
- color: "cyan",
- description: "网络速率显示该任务已观测的下载速度,达到 10 MiB/s 时加深显示。挂载盘或无法准确归属的传输显示未取得。"
- }
-};
-function Te(e) {
- return e === "sampling" ? "采样中" : "未取得";
-}
-function Y({ run: e, active: t = O(e) || !!e.control }) {
- if (!t || !e.resources) return null;
- let n = e.resources;
- return /* @__PURE__ */ (0, G.jsx)("div", {
- "data-task-resources": e.id,
- className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [
- "cpu",
- "gpu",
- "network"
- ].map((e) => {
- let t = n[e], r = we[e], i = e === "network" ? n.network.bytes_per_second : n[e].percent, a = t.state === "ready" && i !== null, o = a && t.high, s = a ? e === "network" ? `${re(i)}/s` : `${i.toLocaleString(void 0, { maximumFractionDigits: 1 })}%` : Te(t.state), c = [
- t.reason,
- o ? "当前为高占用。" : "",
- r.description,
- n.detail
- ].filter(Boolean).join("\n");
- return /* @__PURE__ */ (0, G.jsxs)(Ce, {
- color: r.color,
- high: o,
- tabIndex: 0,
- title: c,
- "data-task-resource": e,
- "data-resource-state": t.state,
- "data-resource-high": o || void 0,
- "data-copy-ignore": "",
- "data-tooltip-copy-key": !t.reason && !n.detail && !o ? `tasks.resources.${e}.description` : void 0,
- children: [
- r.name,
- " ",
- s
- ]
- }, e);
- })
- });
-}
-// src/react/activity/activity-page.tsx
-var Ee = 50, De = /* @__PURE__ */ new Set(["upgrade-repairs"]), Oe = {
- succeeded: "lime",
- failed: "rose",
- cancelled: "rose",
- interrupted: "yellow",
- running: "blue",
- pending: "neutral"
-}, ke = {
- running: "进行中",
- pausing: "正在暂停",
- paused: "已暂停",
- cancelling: "正在取消"
-};
-function X({ run: e }) {
- let n = e.control?.state;
- if (n && (n !== "running" || !O(e))) return /* @__PURE__ */ (0, G.jsx)(t, {
- color: n === "running" ? "blue" : "neutral",
- children: /* @__PURE__ */ (0, G.jsx)("span", {
- "data-copy-key": `tasks.control.state.${n}`,
- children: ke[n]
- })
- });
- let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && E(e);
- return /* @__PURE__ */ (0, G.jsx)(t, {
- color: i ? "yellow" : Oe[e.status] ?? "neutral",
- children: r ? "部分项目需处理" : i ? "发现问题" : I(e.status)
- });
-}
-function Ae({ rows: e }) {
- return /* @__PURE__ */ (0, G.jsx)("ul", {
- className: "-mr-5 flex min-w-0 flex-col",
- children: e.map((e) => {
- let t = w(e);
- return /* @__PURE__ */ (0, G.jsxs)("li", {
- "data-status": e.status,
- "data-followup-key": e.followup_key,
- className: "flex min-w-0 flex-col gap-1 border-t border-separator-border py-2.5 pr-10 pl-5",
- children: [
- /* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex min-w-0 items-start justify-between gap-3",
- children: [/* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1",
- children: [
- /* @__PURE__ */ (0, G.jsx)("span", {
- className: "min-w-0 break-words text-caption-1-regular text-text-primary",
- children: e.task_label
- }),
- /* @__PURE__ */ (0, G.jsx)(X, { run: e }),
- t ? /* @__PURE__ */ (0, G.jsx)("span", {
- className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
- children: t
- }) : null
- ]
- }), /* @__PURE__ */ (0, G.jsx)(xe, { run: e })]
- }),
- /* @__PURE__ */ (0, G.jsx)(Y, { run: e }),
- Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, G.jsx)("div", {
- className: "w-full min-w-0",
- children: /* @__PURE__ */ (0, G.jsx)(n, {
- summary: "技术详情",
- contentClassName: "pb-2.5",
- children: /* @__PURE__ */ (0, G.jsx)(V, {
- code: JSON.stringify(e.result_summary, null, 2),
- language: "json",
- label: `${e.task_label}技术详情`
- })
- })
- }) : null
- ]
- }, e.id);
- })
- });
-}
-function Z({ run: e, meta: t, children: r, footer: i, followups: a, followupTotal: o = 0, badge: s, resourceActive: c }) {
- let l = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), u = a ? [...a].sort((e, t) => l(t) - l(e) || t.id - e.id).slice(0, Ee) : [], d = u.length, f = Math.max(a?.length || 0, o);
- return /* @__PURE__ */ (0, G.jsxs)("li", {
- id: `run-${e.id}`,
- "data-status": e.status,
- "data-task-key": e.task_key,
- "data-run-id": e.id,
- className: v({
- padding: "none",
- className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
- }),
- children: [
- /* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex flex-col gap-2 px-5 py-4",
- children: [
- /* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex min-w-0 items-start justify-between gap-3",
- children: [/* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, G.jsx)("strong", {
- className: "min-w-0 break-words text-title-3-medium text-text-primary",
- children: e.task_label
- }), s ?? /* @__PURE__ */ (0, G.jsx)(X, { run: e })]
- }), /* @__PURE__ */ (0, G.jsx)(xe, { run: e })]
- }),
- /* @__PURE__ */ (0, G.jsx)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: t
- }),
- /* @__PURE__ */ (0, G.jsx)(Y, {
- run: e,
- active: c
- }),
- r
- ]
- }),
- d ? /* @__PURE__ */ (0, G.jsx)("div", {
- className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, G.jsxs)(n, {
- summary: `任务明细 · ${f.toLocaleString()} 项`,
- contentClassName: "pb-2.5",
- defaultOpen: u.some((e) => O(e)),
- children: [d < f ? /* @__PURE__ */ (0, G.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: [
- "列出其中 ",
- d.toLocaleString(),
- " 项,正在处理的排在前面"
- ]
- }) : null, /* @__PURE__ */ (0, G.jsx)(Ae, { rows: u })]
- })
- }) : null,
- Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, G.jsx)("div", {
- className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, G.jsx)(n, {
- summary: "技术详情",
- contentClassName: "pb-2.5",
- children: /* @__PURE__ */ (0, G.jsx)(V, {
- code: JSON.stringify(e.result_summary, null, 2),
- language: "json",
- label: `${e.task_label}技术详情`
- })
- })
- }) : null,
- i ? /* @__PURE__ */ (0, G.jsx)("div", {
- className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
- children: /* @__PURE__ */ (0, G.jsx)(U, {
- text: i,
- className: "text-caption-1-regular text-text-secondary"
- })
- }) : null
- ]
- });
-}
-function je({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? ke[i] : e.progress_label || "正在进行", s = S(e.elapsed_seconds), l = [p[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, G.jsx)(Z, {
- run: e,
- meta: l,
- followups: t,
- children: n > 0 ? /* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, G.jsx)(d, {
- label: o,
- value: Math.min(r, n),
- max: n
- }), /* @__PURE__ */ (0, G.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary wrap-anywhere",
- children: [
- o,
- " · ",
- M(r, n),
- " 项"
- ]
- })]
- }) : a ? /* @__PURE__ */ (0, G.jsx)("p", {
- "data-copy-key": `tasks.control.state.${i}`,
- className: "text-caption-1-regular text-text-secondary",
- children: o
- }) : /* @__PURE__ */ (0, G.jsx)(c, { label: o })
- });
-}
-function Me({ run: e, followups: r, runs: i, latest: a, followupTotal: o, followupFailed: c = 0, followupCancelled: l = 0 }) {
- let u = !!(i && i.length > 1 && o), d = u ? [`共处理 ${o.toLocaleString()} 项`, c ? `其中 ${c.toLocaleString()} 项失败` : ""].filter(Boolean) : L(e.result_summary).filter((t) => t !== e.error), f = R(e), m = ue(e, a), h = S(e.elapsed_seconds), g = i && i.length > 1 ? i[i.length - 1] : void 0, _ = (g ? [
- p[e.trigger] || e.trigger,
- `近 ${i.length} 轮`,
- `${A(g.finished_at)} – ${A(e.finished_at)}`
- ] : [
- p[e.trigger] || e.trigger,
- A(e.finished_at),
- h && `用时 ${h}`
- ]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, G.jsxs)(Z, {
- run: e,
- meta: _,
- footer: e.error,
- followups: r,
- followupTotal: o,
- badge: l && e.status === "succeeded" ? /* @__PURE__ */ (0, G.jsx)(t, {
- color: "rose",
- children: /* @__PURE__ */ (0, G.jsx)("span", {
- "data-copy-key": `tasks.followups.cancelled.${l === o ? "all" : "partial"}`,
- children: l === o ? "后续任务已取消" : "部分后续任务已取消"
- })
- }) : u && c ? /* @__PURE__ */ (0, G.jsx)(t, {
- color: "yellow",
- children: "发现问题"
- }) : void 0,
- children: [
- l ? /* @__PURE__ */ (0, G.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: [
- "后续任务已取消 ",
- l.toLocaleString(),
- " 项"
- ]
- }) : null,
- d.length === 1 ? /* @__PURE__ */ (0, G.jsx)("p", {
- className: "text-caption-1-regular text-text-secondary wrap-anywhere",
- children: d[0]
- }) : d.length ? /* @__PURE__ */ (0, G.jsx)("ul", {
- className: "flex list-disc flex-col gap-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",
- children: d.map((e, t) => /* @__PURE__ */ (0, G.jsx)("li", { children: e }, t))
- }) : null,
- f.length ? /* @__PURE__ */ (0, G.jsx)(n, {
- summary: `问题详情 · ${f.length} 项`,
- contentClassName: "pt-2",
- children: /* @__PURE__ */ (0, G.jsx)(H, {
- label: "任务问题详情",
- children: /* @__PURE__ */ (0, G.jsx)("ul", {
- className: "flex min-w-0 flex-col gap-3",
- "data-task-issues": "",
- children: f.map((e, t) => /* @__PURE__ */ (0, G.jsxs)("li", {
- className: "flex min-w-0 flex-col gap-1 text-body-2-regular wrap-anywhere",
- children: [/* @__PURE__ */ (0, G.jsx)("p", {
- className: "text-body-regular text-text-primary",
- children: [
- e.label,
- e.provider,
- e.kind
- ].filter(Boolean).join(" · ")
- }), /* @__PURE__ */ (0, G.jsx)(U, {
- text: e.error,
- className: "text-text-primary"
- })]
- }, `${e.source}-${t}`))
- })
- })
- }) : E(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, G.jsx)("p", {
- className: "text-body-2-regular text-text-secondary",
- children: "未取得本轮逐项详情,可到来源列表查看检查结果。"
- }) : null,
- m ? /* @__PURE__ */ (0, G.jsx)(s, {
- href: m.href,
- size: "small",
- trailingIcon: D,
- className: "self-start",
- children: m.label
- }) : null
- ]
- });
-}
-function Ne({ runs: e, followups: n, counts: r }) {
- let i = e[0], a = e[e.length - 1], o = T(r, e), s = Math.max(o.total, n.length), c = o.total ? o.settled : n.filter((e) => !O(e)).length, l = o.total ? o.failed : n.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [
- p[i.trigger] || i.trigger,
- e.length > 1 ? `${e.length} 批` : "",
- `${A(a.started_at || a.finished_at)} 开始`
- ].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, G.jsx)(Z, {
- run: i,
- meta: u,
- followups: n,
- followupTotal: s,
- resourceActive: !0,
- badge: i.control ? /* @__PURE__ */ (0, G.jsx)(X, { run: i }) : /* @__PURE__ */ (0, G.jsx)(t, {
- color: "blue",
- children: "进行中"
- }),
- children: /* @__PURE__ */ (0, G.jsxs)("div", {
- className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, G.jsx)(d, {
- label: `${i.task_label}进度`,
- value: c,
- max: s
- }), /* @__PURE__ */ (0, G.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: [
- "已处理 ",
- M(c, s),
- " 项",
- l ? ` · 其中 ${l.toLocaleString()} 项失败` : ""
- ]
- })]
- })
- });
-}
-function Q({ title: e, children: t }) {
- let n = (0, W.useId)();
- return /* @__PURE__ */ (0, G.jsxs)("section", {
- "aria-labelledby": n,
- className: "flex min-w-0 flex-col gap-3",
- children: [/* @__PURE__ */ (0, G.jsx)("h3", {
- id: n,
- className: "text-title-2-medium text-text-primary",
- children: e
- }), t]
- });
-}
-function $({ live: e = !1, children: t }) {
- return /* @__PURE__ */ (0, G.jsx)("ul", {
- "aria-live": e ? "polite" : void 0,
- className: "flex min-w-0 flex-col gap-3",
- children: t
- });
-}
-function Pe() {
- let t = fe({
- queryKey: f,
- queryFn: ({ signal: e }) => ne(e),
- refetchInterval: (e) => le(e.state.data)
- }), n = t.data, a = n?.finished, [o, s] = (0, W.useState)([]), [c, u] = (0, W.useState)(!1), [d, p] = (0, W.useState)({}), [m, h] = (0, W.useState)(a);
- a !== m && (h(a), o.length && m && s(k(o, m)));
- let g = z({
- mutationFn: ({ oldest: e }) => te(e),
- onSuccess: (e, { shown: t }) => {
- s((n) => k(n, t, e.finished || [])), u(!!e.finished_has_more), p((t) => ({
- ...t,
- ...e.followup_counts
- }));
- }
- }), v = t.error ? C(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, G.jsx)(pe, { children: /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "error",
- children: v || "读取任务中心失败"
- }) });
- let y = k(n.finished || [], o), b = n.working_parents || [], x = [
- ...n.running || [],
- ...n.skipped || [],
- ...y,
- ...b
- ], S = oe(x), re = new Set(x.map((e) => e.id)), w = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && re.has(e.parent_run_id))), D = w(y), A = D[D.length - 1], j = !!A && (o.length ? c : !!n.finished_has_more), ue = () => {
- !g.isPending && A && g.mutate({
- oldest: A,
- shown: y
- });
- }, M = {
- ...d,
- ...n.followup_counts
- }, N = (e) => e.flatMap((e) => S.get(e.id) || []), P = [...D, ...w(b)].filter((e) => T(M, [e]).active > 0 || S.get(e.id)?.some(O)).sort((e, t) => t.id - e.id), F = w(n.running || []), I = w(n.skipped || []), L = D.filter((e) => !P.includes(e) && !I.some((t) => t.id === e.id)), R = (e) => (S.get(e.id) || []).every((e) => e.status === "succeeded" && !E(e)) && T(M, [e]).failed === 0, B = ae(L, (e) => se(e) && (R(e) || De.has(e.task_key))), V = [...ie(P.filter((e) => !e.control)), ...P.filter((e) => e.control).map((e) => ({
- run: e,
- runs: [e]
- }))].sort((e, t) => t.run.id - e.run.id), H = ce(x), U = !F.length && !P.length && !I.length && !L.length;
- return /* @__PURE__ */ (0, G.jsxs)(pe, { children: [
- v ? /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "error",
- children: v
- }) : null,
- /* @__PURE__ */ (0, G.jsx)(be, {}),
- n.available === !1 ? /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "warning",
- children: n.message || "数据库尚未准备好任务记录表"
- }) : null,
- /* @__PURE__ */ (0, G.jsx)(ge, {}),
- U ? /* @__PURE__ */ (0, G.jsx)(i, {
- icon: de,
- title: "还没有任务记录",
- children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
- }) : /* @__PURE__ */ (0, G.jsxs)(G.Fragment, { children: [
- /* @__PURE__ */ (0, G.jsx)(Q, {
- title: "正在进行",
- children: F.length || P.length ? /* @__PURE__ */ (0, G.jsxs)($, {
- live: !0,
- children: [F.map((e) => /* @__PURE__ */ (0, G.jsx)(je, {
- run: e,
- followups: S.get(e.id)
- }, e.id)), V.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, G.jsx)(Ne, {
- runs: t,
- followups: N(t),
- counts: M
- }, e.id))]
- }) : /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "neutral",
- children: "没有任务在跑。"
- })
- }),
- I.length ? /* @__PURE__ */ (0, G.jsx)(Q, {
- title: "本次未执行",
- children: /* @__PURE__ */ (0, G.jsx)($, { children: I.map((e) => /* @__PURE__ */ (0, G.jsx)(Me, {
- run: e,
- latest: H.has(e.id),
- followups: S.get(e.id)
- }, e.id)) })
- }) : null,
- L.length || j ? /* @__PURE__ */ (0, G.jsxs)(Q, {
- title: "最近完成",
- children: [
- L.length ? /* @__PURE__ */ (0, G.jsx)($, { children: B.map(({ run: e, runs: t }) => {
- let n = T(M, t);
- return /* @__PURE__ */ (0, G.jsx)(Me, {
- run: e,
- runs: t,
- latest: H.has(e.id),
- followups: N(t),
- followupTotal: n.total,
- followupFailed: n.failed,
- followupCancelled: n.cancelled
- }, e.id);
- }) }) : null,
- g.error ? /* @__PURE__ */ (0, G.jsx)(l, {
- tone: "error",
- children: C(g.error)
- }) : null,
- j ? /* @__PURE__ */ (0, G.jsx)(e, {
- variant: "secondary",
- size: "small",
- leadingIcon: ee,
- className: "self-start",
- ..._(g.isPending),
- onClick: ue,
- children: "加载更早"
- }) : null
- ]
- }) : null
- ] }),
- /* @__PURE__ */ (0, G.jsx)(r, {})
- ] });
-}
-export { Pe as ActivityPage };
-
-//# debugId=d0c1afa2-9dcf-4b52-9e33-07419cd4e2be
\ No newline at end of file
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 2fbf122a6..234bf3c32 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.-mr-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default,.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-purple-text{background-color:var(--color-status-purple-text)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail-tags]{margin-top:16px}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>:is([role=note],[role=alert]){width:100%;max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-stage-media]>.video-js{max-height:100%}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover,.peach-guide-invitation) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}.peach-guide-invitation{z-index:var(--layer-popover);border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 40px);box-shadow:var(--elevation-dropdown);padding:20px;position:fixed;bottom:20px;right:20px}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-identity]>[data-media-avatar]{margin-top:0}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-byline]>*{flex:none}.peach-react [data-catalog-table] [data-list-byline]>[data-media-who]{flex:0 auto;min-width:0}.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none}.peach-react [data-catalog-table] [data-list-library]{color:var(--ink-2);align-items:center;gap:4px;display:inline-flex}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-name]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.-mr-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default,.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-purple-text{background-color:var(--color-status-purple-text)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\]\:truncate>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail-tags]{margin-top:16px}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>:is([role=note],[role=alert]){width:100%;max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-stage-media]>.video-js{max-height:100%}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover,.peach-guide-invitation{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover,.peach-guide-invitation) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}.peach-guide-invitation{z-index:var(--layer-popover);border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 40px);box-shadow:var(--elevation-dropdown);padding:20px;position:fixed;bottom:20px;right:20px}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-identity]>[data-media-avatar]{margin-top:0}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-byline]>*{flex:none}.peach-react [data-catalog-table] [data-list-byline]>[data-media-who]{flex:0 auto;min-width:0}.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none}.peach-react [data-catalog-table] [data-list-library]{color:var(--ink-2);align-items:center;gap:4px;display:inline-flex}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-name]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 434372e29..526b75e82 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e1e5ca06-c7e8-4b73-a2c9-a2c7a50b358b", e._sentryDebugIdIdentifier = "sentry-dbid-e1e5ca06-c7e8-4b73-a2c9-a2c7a50b358b");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7d16e985-2538-4838-8fe4-faf998916b1e", e._sentryDebugIdIdentifier = "sentry-dbid-7d16e985-2538-4838-8fe4-faf998916b1e");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
@@ -28219,16 +28219,16 @@ var kk = typeof document < "u" && window.visualViewport, Ak = 0, jk;
function Mk(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
BS(() => {
- if (!t) return Ak++, Ak === 1 && (jk = XS() && ZS() ? Gse() : Wse(n)), () => {
+ if (!t) return Ak++, Ak === 1 && (jk = XS() && ZS() ? Wse() : Nk(n)), () => {
Ak--, Ak === 0 && jk();
};
}, [t, n]);
}
-function Wse(e) {
+function Nk(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return UC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? kS(document.documentElement, "scrollbar-gutter", "stable") : kS(document.documentElement, "padding-right", `${t}px`)), kS(document.documentElement, "overflow", "hidden"), e && Pk(), e && jw() && Nk());
+ return UC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? kS(document.documentElement, "scrollbar-gutter", "stable") : kS(document.documentElement, "padding-right", `${t}px`)), kS(document.documentElement, "overflow", "hidden"), e && Fk(), e && jw() && Pk());
}
-function Gse() {
+function Wse() {
let e = kS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = K(e);
t = BT(r, !0) ? r : VT(r, !0), n = !1;
@@ -28238,24 +28238,24 @@ function Gse() {
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();
- }, s = Pk(), c = UC(OS(document, "touchstart", r, {
+ }, s = Fk(), c = UC(OS(document, "touchstart", r, {
passive: !1,
capture: !0
}), OS(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Nk());
+ }), Pk());
return () => {
e(), c(), i.remove(), s();
};
}
-function Nk() {
+function Pk() {
return OS(document, "blur", (e) => {
let t = K(e), n = e.relatedTarget;
n && Mw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Pk() {
+function Fk() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -28266,7 +28266,7 @@ function Pk() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- MS() === this && Kse(this);
+ MS() === this && Gse(this);
};
Ok((t) => t ? e() : Use(() => e()));
}
@@ -28279,7 +28279,7 @@ function Pk() {
});
};
}
-function Kse(e) {
+function Gse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
let e = VT(n);
@@ -28299,7 +28299,7 @@ function Kse(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function qse(e, t, n) {
+function Kse(e, t, n) {
let { overlayProps: r, underlayProps: i } = Ck({
...e,
isOpen: t.isOpen,
@@ -28322,32 +28322,32 @@ function qse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Fk = {
+var Ik = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Ik = {
+}, Lk = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Jse = {
+}, qse = {
top: "left",
left: "top"
-}, Lk = {
+}, Rk = {
top: "height",
left: "width"
-}, Rk = {
+}, zk = {
width: "totalWidth",
height: "totalHeight"
-}, zk = {}, Yse = () => typeof document < "u" ? window.visualViewport : null;
-function Bk(e, t) {
+}, Bk = {}, Jse = () => typeof document < "u" ? window.visualViewport : null;
+function Vk(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = Kk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = qk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return ZS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
@@ -28358,7 +28358,7 @@ function Bk(e, t) {
left: s
};
}
-function Xse(e) {
+function Yse(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -28366,11 +28366,11 @@ function Xse(e) {
height: e.scrollHeight
};
}
-function Vk(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Lk[e]], l = o[e] + r.scroll[Fk[e]] + a, u = o[e] + r.scroll[Fk[e]] + c - a, d = t - s + r.scroll[Fk[e]] + o[e] - r[Fk[e]], f = t - s + n + r.scroll[Fk[e]] + o[e] - r[Fk[e]];
+function Hk(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Rk[e]], l = o[e] + r.scroll[Ik[e]] + a, u = o[e] + r.scroll[Ik[e]] + c - a, d = t - s + r.scroll[Ik[e]] + o[e] - r[Ik[e]], f = t - s + n + r.scroll[Ik[e]] + o[e] - r[Ik[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Zse(e) {
+function Xse(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -28379,55 +28379,55 @@ function Zse(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Hk(e) {
- if (zk[e]) return zk[e];
- let [t, n] = e.split(" "), r = Fk[t] || "right", i = Jse[r];
- Fk[n] || (n = "center");
- let a = Lk[r], o = Lk[i];
- return zk[e] = {
+function Uk(e) {
+ if (Bk[e]) return Bk[e];
+ let [t, n] = e.split(" "), r = Ik[t] || "right", i = qse[r];
+ Ik[n] || (n = "center");
+ let a = Rk[r], o = Rk[i];
+ return Bk[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, zk[e];
+ }, Bk[e];
}
-function Uk(e, t, n, r, i, a, o, s, c, l, u) {
+function Wk(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
if (_[m] = dE(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Rk[h]];
- _[Ik[p]] = Math.floor(t - e[p] + i);
+ let t = s ? u[h] : u[zk[h]];
+ _[Lk[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Qse(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Rk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Zse(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[zk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function Wk(e, t, n, r, i, a, o, s) {
+function Gk(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Ik[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Ik[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Lk[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Lk[l]] - i);
}
-function $se(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Hk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Uk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Wk(s, l, t, i, a + u, v, c, g);
+function Qse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Uk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Wk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Gk(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Hk(`${Ik[S]} ${C}`), r = Uk(t, s, n, e, u, d, l, f, m, h, c);
- Wk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Uk(`${Lk[S]} ${C}`), r = Wk(t, s, n, e, u, d, l, f, m, h, c);
+ Gk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = Vk(b, w[b], n[x], s, c, a, l);
+ let O = Hk(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Qse(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Uk(t, s, n, v, T, d, l, f, m, h, c), O = Vk(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Fk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Fk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
- A[b] = dE(dE(M, t[b] + m / 2 - (w[b] + i[Fk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Fk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Zse(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Wk(t, s, n, v, T, d, l, f, m, h, c), O = Hk(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Ik[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Ik[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
+ A[b] = dE(dE(M, t[b] + m / 2 - (w[b] + i[Ik[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ik[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -28441,17 +28441,17 @@ function $se(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function ece(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Yse(), h = r instanceof HTMLElement ? tce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Kk(n, !1, p) : qk(n, h, !1, p);
+function $se(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Jse(), h = r instanceof HTMLElement ? ece(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? qk(n, !1, p) : Jk(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = Kk(r, !0), x = Zse(r);
+ let b = qk(r, !0), x = Xse(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Xse(i), C = Bk(s, m), w = Bk(h, m), T;
+ let S = Yse(i), C = Vk(s, m), w = Vk(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Gk(h, !1);
+ let e = Kk(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -28463,11 +28463,11 @@ function ece(e) {
left: 0,
width: 0,
height: 0
- } : qk(s, h, !1);
+ } : Jk(s, h, !1);
let E = jS(s, h);
- return $se(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return Qse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Gk(e, t) {
+function Kk(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -28476,8 +28476,8 @@ function Gk(e, t) {
height: a
};
}
-function Kk(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Gk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function qk(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Kk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -28485,28 +28485,28 @@ function Kk(e, t, n) {
height: o
};
}
-function qk(e, t, n, r) {
+function Jk(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Gk(e, n);
+ if (i.position === "fixed") a = r || Kk(e, n);
else {
- a = Kk(e, n, r);
- let i = Kk(t, n), o = window.getComputedStyle(t);
+ a = qk(e, n, r);
+ let i = qk(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function tce(e) {
+function ece(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Jk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Jk(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Yk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Yk(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Jk(e) {
+function Yk(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Yk = typeof document < "u" ? window.visualViewport : null;
-function nce(e) {
+var Xk = typeof document < "u" ? window.visualViewport : null;
+function tce(e) {
let { direction: t } = Uw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
p,
s,
@@ -28524,12 +28524,12 @@ function nce(e) {
g,
_,
n
- ], S = (0, F.useRef)(Yk?.scale);
+ ], S = (0, F.useRef)(Xk?.scale);
(0, F.useEffect)(() => {
- m && (S.current = Yk?.scale);
+ m && (S.current = Xk?.scale);
}, [m]);
let C = (0, F.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Yk?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Xk?.scale !== S.current) return;
let e = null;
if (o.current && PS(o.current)) {
let t = MS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -28540,8 +28540,8 @@ function nce(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = ece({
- placement: ice(s, t),
+ let y = $se({
+ placement: rce(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -28551,7 +28551,7 @@ function nce(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Gk(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Kk(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -28564,7 +28564,7 @@ function nce(e) {
}
b(y);
}, x);
- BS(C, x), rce(C), zO({
+ BS(C, x), nce(C), zO({
ref: i,
onResize: C
}), zO({
@@ -28580,10 +28580,10 @@ function nce(e) {
}, n = () => {
w.current && t();
};
- Yk?.addEventListener("resize", t), Yk?.addEventListener("scroll", n);
+ Xk?.addEventListener("resize", t), Xk?.addEventListener("scroll", n);
let r = OS(NS(window), "scroll", n);
return () => {
- Yk?.removeEventListener("resize", t), Yk?.removeEventListener("scroll", n), r();
+ Xk?.removeEventListener("resize", t), Xk?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, F.useCallback)(() => {
@@ -28615,16 +28615,16 @@ function nce(e) {
updatePosition: C
};
}
-function rce(e) {
+function nce(e) {
BS(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function ice(e, t) {
+function rce(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
// node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function ace(e, t) {
+function ice(e, t) {
let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Ck({
isOpen: t.isOpen,
onClose: t.close,
@@ -28632,7 +28632,7 @@ function ace(e, t) {
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = nce({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = tce({
...c,
targetRef: n,
overlayRef: r,
@@ -28658,9 +28658,9 @@ function ace(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var Xk = /* @__PURE__ */ new WeakMap();
+var Zk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function oce(e, t, n) {
+function ace(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
}, { pressProps: g, isPressed: _ } = dT({
@@ -28683,7 +28683,7 @@ function oce(e, t, n) {
}
}), { focusableProps: b } = sw(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = Zw(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Xk.get(t);
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Zk.get(t);
qT(n, t.defaultSelectedValue, t.setSelectedValue), JT({ validationBehavior: O }, t, n);
let k = YT();
return {
@@ -28716,7 +28716,7 @@ function oce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function sce(e, t) {
+function oce(e, t) {
let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Uw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = sE({
...e,
labelElementType: "span",
@@ -28745,7 +28745,7 @@ function sce(e, t) {
},
allowRepeats: !0
}), x = qC(n);
- return Xk.set(t, {
+ return Zk.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -28773,8 +28773,8 @@ function sce(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-var Zk = /* @__PURE__ */ new WeakMap();
-function cce(e, t, n) {
+var Qk = /* @__PURE__ */ new WeakMap();
+function sce(e, t, n) {
let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = AD({
usage: "search",
sensitivity: "base"
@@ -28817,7 +28817,7 @@ function cce(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = Zw(e, { labelable: !0 }), C = q(m, d, y), w = qC();
- return Zk.set(t, {
+ return Qk.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -28877,8 +28877,8 @@ function cce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function lce(e, t, n) {
- let r = Zk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vE({ style: {
+function cce(e, t, n) {
+ let r = Qk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vE({ style: {
position: "fixed",
top: 0,
left: 0
@@ -28913,8 +28913,8 @@ function lce(e, t, n) {
}
};
}
-function uce(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = lce({
+function lce(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = cce({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -28938,7 +28938,7 @@ function uce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Zk.get(t) || {};
+ let { validationBehavior: e } = Qk.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -28968,7 +28968,7 @@ function uce(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function dce(e) {
+function uce(e) {
let t = Zw(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -28977,7 +28977,7 @@ function dce(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function fce(e, t, n) {
+function dce(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = iE(e, t, n);
return {
labelProps: r,
@@ -28991,10 +28991,10 @@ function fce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Qk = class {
+var $k = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new pce(e.layout) : new jE(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new fce(e.layout) : new jE(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -29160,7 +29160,7 @@ var Qk = class {
}
return null;
}
-}, pce = class {
+}, fce = class {
constructor(e) {
this.layout = e;
}
@@ -29173,15 +29173,15 @@ var Qk = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, $k = /* @__PURE__ */ new WeakMap();
+}, eA = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function mce(e, t, n) {
+function pce(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
let h = AD({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Uw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Qk({
+ }), { direction: g } = Uw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new $k({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -29207,7 +29207,7 @@ function mce(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = qC(e.id);
- $k.set(t, {
+ eA.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -29232,26 +29232,26 @@ function mce(e, t, n) {
return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), EO({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var eA = /* @__PURE__ */ new WeakMap();
-function tA(e) {
+var tA = /* @__PURE__ */ new WeakMap();
+function nA(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function nA(e, t) {
- let n = eA.get(e);
+function rA(e, t) {
+ let n = tA.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${tA(t)}`;
+ return `${n}-${nA(t)}`;
}
-function rA(e, t, n) {
- let r = eA.get(e);
+function iA(e, t, n) {
+ let r = tA.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${tA(t)}-${tA(n)}`;
+ return `${r}-${nA(t)}-${nA(n)}`;
}
-function iA(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => rA(e, t, n)).join(" ");
+function aA(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => iA(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var aA = {};
-aA = {
+var oA = {};
+oA = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -29265,8 +29265,8 @@ aA = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var oA = {};
-oA = {
+var sA = {};
+sA = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -29280,8 +29280,8 @@ oA = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var sA = {};
-sA = {
+var cA = {};
+cA = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -29295,8 +29295,8 @@ sA = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var cA = {};
-cA = {
+var lA = {};
+lA = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -29310,8 +29310,8 @@ cA = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var lA = {};
-lA = {
+var uA = {};
+uA = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -29325,8 +29325,8 @@ lA = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var uA = {};
-uA = {
+var dA = {};
+dA = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -29340,8 +29340,8 @@ uA = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var dA = {};
-dA = {
+var fA = {};
+fA = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -29355,8 +29355,8 @@ dA = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var fA = {};
-fA = {
+var pA = {};
+pA = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -29370,8 +29370,8 @@ fA = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var pA = {};
-pA = {
+var mA = {};
+mA = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -29385,8 +29385,8 @@ pA = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var mA = {};
-mA = {
+var hA = {};
+hA = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -29400,8 +29400,8 @@ mA = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var hA = {};
-hA = {
+var gA = {};
+gA = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -29415,8 +29415,8 @@ hA = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var gA = {};
-gA = {
+var _A = {};
+_A = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -29430,8 +29430,8 @@ gA = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var _A = {};
-_A = {
+var vA = {};
+vA = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -29445,8 +29445,8 @@ _A = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var vA = {};
-vA = {
+var yA = {};
+yA = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -29460,8 +29460,8 @@ vA = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var yA = {};
-yA = {
+var bA = {};
+bA = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -29475,8 +29475,8 @@ yA = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var bA = {};
-bA = {
+var xA = {};
+xA = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -29490,8 +29490,8 @@ bA = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var xA = {};
-xA = {
+var SA = {};
+SA = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -29505,8 +29505,8 @@ xA = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var SA = {};
-SA = {
+var CA = {};
+CA = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -29520,8 +29520,8 @@ SA = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var CA = {};
-CA = {
+var wA = {};
+wA = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -29535,8 +29535,8 @@ CA = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var wA = {};
-wA = {
+var TA = {};
+TA = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -29550,8 +29550,8 @@ wA = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var TA = {};
-TA = {
+var EA = {};
+EA = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -29565,8 +29565,8 @@ TA = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var EA = {};
-EA = {
+var DA = {};
+DA = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -29580,8 +29580,8 @@ EA = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var DA = {};
-DA = {
+var OA = {};
+OA = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -29595,8 +29595,8 @@ DA = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var OA = {};
-OA = {
+var kA = {};
+kA = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -29610,8 +29610,8 @@ OA = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var kA = {};
-kA = {
+var AA = {};
+AA = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -29625,8 +29625,8 @@ kA = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var AA = {};
-AA = {
+var jA = {};
+jA = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -29640,8 +29640,8 @@ AA = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var jA = {};
-jA = {
+var MA = {};
+MA = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -29655,8 +29655,8 @@ jA = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var MA = {};
-MA = {
+var NA = {};
+NA = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -29670,8 +29670,8 @@ MA = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var NA = {};
-NA = {
+var PA = {};
+PA = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -29685,8 +29685,8 @@ NA = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var PA = {};
-PA = {
+var FA = {};
+FA = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -29700,8 +29700,8 @@ PA = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var FA = {};
-FA = {
+var IA = {};
+IA = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -29715,8 +29715,8 @@ FA = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var IA = {};
-IA = {
+var LA = {};
+LA = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -29730,8 +29730,8 @@ IA = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var LA = {};
-LA = {
+var RA = {};
+RA = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -29745,8 +29745,8 @@ LA = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var RA = {};
-RA = {
+var zA = {};
+zA = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -29760,45 +29760,45 @@ RA = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var zA = {};
-zA = {
- "ar-AE": aA,
- "bg-BG": oA,
- "cs-CZ": sA,
- "da-DK": cA,
- "de-DE": lA,
- "el-GR": uA,
- "en-US": dA,
- "es-ES": fA,
- "et-EE": pA,
- "fi-FI": mA,
- "fr-FR": hA,
- "he-IL": gA,
- "hr-HR": _A,
- "hu-HU": vA,
- "it-IT": yA,
- "ja-JP": bA,
- "ko-KR": xA,
- "lt-LT": SA,
- "lv-LV": CA,
- "nb-NO": wA,
- "nl-NL": TA,
- "pl-PL": EA,
- "pt-BR": DA,
- "pt-PT": OA,
- "ro-RO": kA,
- "ru-RU": AA,
- "sk-SK": jA,
- "sl-SI": MA,
- "sr-SP": NA,
- "sv-SE": PA,
- "tr-TR": FA,
- "uk-UA": IA,
- "zh-CN": LA,
- "zh-TW": RA
+var BA = {};
+BA = {
+ "ar-AE": oA,
+ "bg-BG": sA,
+ "cs-CZ": cA,
+ "da-DK": lA,
+ "de-DE": uA,
+ "el-GR": dA,
+ "en-US": fA,
+ "es-ES": pA,
+ "et-EE": mA,
+ "fi-FI": hA,
+ "fr-FR": gA,
+ "he-IL": _A,
+ "hr-HR": vA,
+ "hu-HU": yA,
+ "it-IT": bA,
+ "ja-JP": xA,
+ "ko-KR": SA,
+ "lt-LT": CA,
+ "lv-LV": wA,
+ "nb-NO": TA,
+ "nl-NL": EA,
+ "pl-PL": DA,
+ "pt-BR": OA,
+ "pt-PT": kA,
+ "ro-RO": AA,
+ "ru-RU": jA,
+ "sk-SK": MA,
+ "sl-SI": NA,
+ "sr-SP": PA,
+ "sv-SE": FA,
+ "tr-TR": IA,
+ "uk-UA": LA,
+ "zh-CN": RA,
+ "zh-TW": zA
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var hce = class extends Qk {
+var mce = class extends $k {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -29875,14 +29875,14 @@ var hce = class extends Qk {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function gce(e) {
+function hce(e) {
return e && e.__esModule ? e.default : e;
}
-function _ce(e, t, n) {
+function gce(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = AD({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Uw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new hce({
+ }), { direction: c } = Uw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new mce({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -29902,14 +29902,14 @@ function _ce(e, t, n) {
a,
o
]), d = qC(e.id);
- eA.set(t, d);
- let { gridProps: f } = mce({
+ tA.set(t, d);
+ let { gridProps: f } = pce({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = Yw(gce(zA), "@react-aria/table"), g = (0, F.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Yw(hce(BA), "@react-aria/table"), g = (0, F.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -29922,8 +29922,8 @@ function _ce(e, t, n) {
}, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
// node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function BA(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Uw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = $k.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
+function VA(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Uw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = eA.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
if (n.current) {
let e = NT(n.current);
if (p === "child") {
@@ -29937,7 +29937,7 @@ function BA(e, t, n) {
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? VA(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? HA(e) : e.firstChild();
if (o) {
HC(o);
return;
@@ -29969,7 +29969,7 @@ function BA(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : VA(a), t && (HC(t), WT(t, { containingElement: VT(n.current) })));
+ p === "cell" && l === "rtl" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : HA(a), t && (HC(t), WT(t, { containingElement: VT(n.current) })));
}
break;
}
@@ -29981,7 +29981,7 @@ function BA(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? VA(a) : a.firstChild(), t && (HC(t), WT(t, { containingElement: VT(n.current) })));
+ p === "cell" && l === "ltr" ? (HC(n.current), WT(n.current, { containingElement: VT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? HA(a) : a.firstChild(), t && (HC(t), WT(t, { containingElement: VT(n.current) })));
}
break;
}
@@ -30022,7 +30022,7 @@ function BA(e, t, n) {
isPressed: v
};
}
-function VA(e) {
+function HA(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -30030,19 +30030,19 @@ function VA(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function vce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = BA(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = rA(t, e.node.parentKey, a)), {
+function _ce(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = VA(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = iA(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function yce(e) {
+function vce(e) {
return e && e.__esModule ? e.default : e;
}
-function bce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = BA({
+function yce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = VA({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = dT({
@@ -30053,7 +30053,7 @@ function bce(e, t, n) {
ref: n
}), { focusableProps: l } = sw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !$S() && (u = d ? f : "none");
- let p = Yw(yce(zA), "@react-aria/table"), m;
+ let p = Yw(vce(BA), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && $S() && (m = `${m}, ${p.format(f)}`));
let h = KT(m), g = t.collection.size === 0;
return (0, F.useEffect)(() => {
@@ -30066,7 +30066,7 @@ function bce(e, t, n) {
columnHeaderProps: {
...q(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: nA(t, r.key),
+ id: rA(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -30074,11 +30074,11 @@ function bce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function xce(e) {
+function bce(e) {
return e && e.__esModule ? e.default : e;
}
-function Sce(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Yw(xce(zA), "@react-aria/table"), d = qC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Uw(), b = (0, F.useCallback)((e) => {
+function xce(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Yw(bce(BA), "@react-aria/table"), d = qC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Uw(), b = (0, F.useCallback)((e) => {
p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;
}, [t, o]), x = (0, F.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
@@ -30120,7 +30120,7 @@ function Sce(e, t, n) {
let M = KT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${nA(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${rA(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -30175,13 +30175,13 @@ function Sce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Cce(e, t, n) {
+function Sce(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
// node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function wce(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = $k.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = jO({
+function Cce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = eA.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = jO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -30201,10 +30201,10 @@ function wce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Tce(e) {
+function wce(e) {
return e && e.__esModule ? e.default : e;
}
-var HA = {
+var UA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -30214,21 +30214,21 @@ var HA = {
rtl: "ArrowRight"
}
};
-function Ece(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = wce(e, t, n), { direction: s } = Uw();
+function Tce(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Cce(e, t, n), { direction: s } = Uw();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Yw(Tce(zA), "@react-aria/table"), u = Lw({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Yw(wce(BA), "@react-aria/table"), u = Lw({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": iA(t, r.key)
+ "aria-labelledby": aA(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = UA(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = UA(t.collection, a);
+ let n = WA(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = WA(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === HA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === HA.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === UA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === UA.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -30250,38 +30250,38 @@ function Ece(e, t, n) {
return {
rowProps: {
...q(a, d, m),
- "aria-labelledby": iA(t, r.key)
+ "aria-labelledby": aA(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function UA(e, t) {
+function WA(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Dce() {
+function Ece() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function WA() {
- return Dce();
+function GA() {
+ return Ece();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Oce(e) {
+function Dce(e) {
return e && e.__esModule ? e.default : e;
}
-function kce(e, t) {
+function Oce(e, t) {
let { key: n } = e, { checkboxProps: r } = LO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${iA(t, n)}`
+ "aria-labelledby": `${r.id} ${aA(t, n)}`
} };
}
-function Ace(e) {
+function kce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Yw(Oce(zA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Yw(Dce(BA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -30289,12 +30289,12 @@ function Ace(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var GA = /* @__PURE__ */ new WeakMap();
-function KA(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${GA.get(e)}-${n}-${t}`) : "";
+var KA = /* @__PURE__ */ new WeakMap();
+function qA(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${KA.get(e)}-${n}-${t}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function jce(e, t, n) {
+function Ace(e, t, n) {
let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = jO({
selectionManager: o,
key: r,
@@ -30302,7 +30302,7 @@ function jce(e, t, n) {
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = KA(t, r, "tab"), m = KA(t, r, "tabpanel"), { tabIndex: h } = d, g = Zw(u?.props, { labelable: !0 });
+ }), p = qA(t, r, "tab"), m = qA(t, r, "tabpanel"), { tabIndex: h } = d, g = Zw(u?.props, { labelable: !0 });
delete g.id;
let _ = iC(u?.props), { focusableProps: v } = sw({
...u?.props,
@@ -30323,7 +30323,7 @@ function jce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Mce = class {
+var jce = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -30366,11 +30366,11 @@ var Mce = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Nce(e, t, n) {
+function Mce(e, t, n) {
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Uw(), { collectionProps: l } = bD({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, F.useMemo)(() => new Mce(a, c, r, s), [
+ keyboardDelegate: (0, F.useMemo)(() => new jce(a, c, r, s), [
a,
s,
r,
@@ -30381,7 +30381,7 @@ function Nce(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = qC();
- return GA.set(t, u), { tabListProps: {
+ return KA.set(t, u), { tabListProps: {
...q(l, Lw({
...e,
id: u
@@ -30392,12 +30392,12 @@ function Nce(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Pce(e, t, n) {
- let r = OO(n) ? void 0 : 0, i = KA(t, e.id ?? t?.selectedKey, "tabpanel");
+function Nce(e, t, n) {
+ let r = OO(n) ? void 0 : 0, i = qA(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: q(Lw({
...e,
id: i,
- "aria-labelledby": KA(t, t?.selectedKey, "tab")
+ "aria-labelledby": qA(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -30406,258 +30406,258 @@ function Pce(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Fce(e, t, n) {
+function Pce(e, t, n) {
let { gridProps: r } = Ese(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var qA = {};
-qA = {
+var JA = {};
+JA = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var JA = {};
-JA = {
+var YA = {};
+YA = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var YA = {};
-YA = {
+var XA = {};
+XA = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var XA = {};
-XA = {
+var ZA = {};
+ZA = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var ZA = {};
-ZA = {
+var QA = {};
+QA = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var QA = {};
-QA = {
+var $A = {};
+$A = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var $A = {};
-$A = {
+var ej = {};
+ej = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var ej = {};
-ej = {
+var tj = {};
+tj = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var tj = {};
-tj = {
+var nj = {};
+nj = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var nj = {};
-nj = {
+var rj = {};
+rj = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var rj = {};
-rj = {
+var ij = {};
+ij = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var ij = {};
-ij = {
+var aj = {};
+aj = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var aj = {};
-aj = {
+var oj = {};
+oj = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var oj = {};
-oj = {
+var sj = {};
+sj = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var sj = {};
-sj = {
+var cj = {};
+cj = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var cj = {};
-cj = {
+var lj = {};
+lj = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var lj = {};
-lj = {
+var uj = {};
+uj = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var uj = {};
-uj = {
+var dj = {};
+dj = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var dj = {};
-dj = {
+var fj = {};
+fj = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var fj = {};
-fj = {
+var pj = {};
+pj = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var pj = {};
-pj = {
+var mj = {};
+mj = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var mj = {};
-mj = {
+var hj = {};
+hj = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var hj = {};
-hj = {
+var gj = {};
+gj = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var gj = {};
-gj = {
+var _j = {};
+_j = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var _j = {};
-_j = {
+var vj = {};
+vj = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var vj = {};
-vj = {
+var yj = {};
+yj = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var yj = {};
-yj = {
+var bj = {};
+bj = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var bj = {};
-bj = {
+var xj = {};
+xj = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var xj = {};
-xj = {
+var Sj = {};
+Sj = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var Sj = {};
-Sj = {
+var Cj = {};
+Cj = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var Cj = {};
-Cj = {
+var wj = {};
+wj = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var wj = {};
-wj = {
+var Tj = {};
+Tj = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var Tj = {};
-Tj = {
+var Ej = {};
+Ej = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var Ej = {};
-Ej = {
+var Dj = {};
+Dj = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var Dj = {};
-Dj = {
- "ar-AE": qA,
- "bg-BG": JA,
- "cs-CZ": YA,
- "da-DK": XA,
- "de-DE": ZA,
- "el-GR": QA,
- "en-US": $A,
- "es-ES": ej,
- "et-EE": tj,
- "fi-FI": nj,
- "fr-FR": rj,
- "he-IL": ij,
- "hr-HR": aj,
- "hu-HU": oj,
- "it-IT": sj,
- "ja-JP": cj,
- "ko-KR": lj,
- "lt-LT": uj,
- "lv-LV": dj,
- "nb-NO": fj,
- "nl-NL": pj,
- "pl-PL": mj,
- "pt-BR": hj,
- "pt-PT": gj,
- "ro-RO": _j,
- "ru-RU": vj,
- "sk-SK": yj,
- "sl-SI": bj,
- "sr-SP": xj,
- "sv-SE": Sj,
- "tr-TR": Cj,
- "uk-UA": wj,
- "zh-CN": Tj,
- "zh-TW": Ej
+var Oj = {};
+Oj = {
+ "ar-AE": JA,
+ "bg-BG": YA,
+ "cs-CZ": XA,
+ "da-DK": ZA,
+ "de-DE": QA,
+ "el-GR": $A,
+ "en-US": ej,
+ "es-ES": tj,
+ "et-EE": nj,
+ "fi-FI": rj,
+ "fr-FR": ij,
+ "he-IL": aj,
+ "hr-HR": oj,
+ "hu-HU": sj,
+ "it-IT": cj,
+ "ja-JP": lj,
+ "ko-KR": uj,
+ "lt-LT": dj,
+ "lv-LV": fj,
+ "nb-NO": pj,
+ "nl-NL": mj,
+ "pl-PL": hj,
+ "pt-BR": gj,
+ "pt-PT": _j,
+ "ro-RO": vj,
+ "ru-RU": yj,
+ "sk-SK": bj,
+ "sl-SI": xj,
+ "sr-SP": Sj,
+ "sv-SE": Cj,
+ "tr-TR": wj,
+ "uk-UA": Tj,
+ "zh-CN": Ej,
+ "zh-TW": Dj
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function Ice(e) {
+function Fce(e) {
return e && e.__esModule ? e.default : e;
}
-function Oj(e, t, n) {
- let { node: r } = e, i = Dse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Yw(Ice(Dj), "@react-aria/tree"), s = {
+function kj(e, t, n) {
+ let { node: r } = e, i = Dse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Yw(Fce(Oj), "@react-aria/tree"), s = {
onPress: () => {
i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));
},
@@ -30675,15 +30675,15 @@ function Oj(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var kj = "(prefers-reduced-motion: reduce)", Lce = () => matchMedia(kj).matches, Rce = (e) => {
- let t = matchMedia(kj);
+var Aj = "(prefers-reduced-motion: reduce)", Ice = () => matchMedia(Aj).matches, Lce = (e) => {
+ let t = matchMedia(Aj);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, Aj = /* @__PURE__ */ new Map(), jj = () => {
+}, jj = /* @__PURE__ */ new Map(), Mj = () => {
let e = document.documentElement;
- Aj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Aj.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ jj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...jj.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function zce({ children: e, count: t, label: n }) {
- let r = (0, F.useRef)(null), i = Ox(), a = (0, F.useSyncExternalStore)(Rce, Lce, () => !1), { isFocusVisible: o } = PC(), s = a || o, c = {
+function Rce({ children: e, count: t, label: n }) {
+ let r = (0, F.useRef)(null), i = Ox(), a = (0, F.useSyncExternalStore)(Lce, Ice, () => !1), { isFocusVisible: o } = PC(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -30691,10 +30691,10 @@ function zce({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- Aj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), jj();
+ jj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Mj();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), Aj.delete(e), jj();
+ n.disconnect(), window.removeEventListener("resize", t), jj.delete(e), Mj();
};
}, [i]), /* @__PURE__ */ (0, I.jsxs)(pS.div, {
ref: r,
@@ -30729,17 +30729,17 @@ function zce({ children: e, count: t, label: n }) {
}), e]
});
}
-function Mj({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(jx, { children: e ? /* @__PURE__ */ (0, I.jsx)(zce, { ...t }, "selection") : null });
+function Nj({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(jx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Rce, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var Nj = {
+var Pj = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Bce(e, t = !1) {
+function zce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -30755,7 +30755,7 @@ function Bce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Nj
+ Pj
];
case "junk": return [
t ? {
@@ -30776,7 +30776,7 @@ function Bce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Nj
+ Pj
];
case "follow": return [
{
@@ -30797,7 +30797,7 @@ function Bce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Nj
+ Pj
];
default: return [
{
@@ -30831,38 +30831,38 @@ function Bce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Nj
+ Pj
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var Pj = null, Fj = {
+var Fj = null, Ij = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Ij = /* @__PURE__ */ new Set();
-function Vce(e) {
- return Ij.add(e), () => {
- Ij.delete(e);
+}, Lj = /* @__PURE__ */ new Set();
+function Bce(e) {
+ return Lj.add(e), () => {
+ Lj.delete(e);
};
}
-function Hce() {
- for (let e of [...Ij]) e();
+function Vce() {
+ for (let e of [...Lj]) e();
}
-var Uce = { render(e) {
- Fj = e, (0, It.flushSync)(Hce);
+var Hce = { render(e) {
+ Ij = e, (0, It.flushSync)(Vce);
} };
-function Wce(e) {
- return Pj = e, Uce;
+function Uce(e) {
+ return Fj = e, Hce;
}
-function Gce() {
- let e = (0, F.useSyncExternalStore)(Vce, () => Fj);
- return Pj ? /* @__PURE__ */ (0, I.jsx)(Kce, {
- host: Pj,
+function Wce() {
+ let e = (0, F.useSyncExternalStore)(Bce, () => Ij);
+ return Fj ? /* @__PURE__ */ (0, I.jsx)(Gce, {
+ host: Fj,
props: e
}) : null;
}
-function Kce({ host: e, props: t }) {
+function Gce({ host: e, props: t }) {
let n = t.count > 0;
return (0, F.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -30872,11 +30872,11 @@ function Kce({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, I.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, I.jsx)(Nj, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: Bce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: zce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -30892,11 +30892,11 @@ function Kce({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function Lj(e, t, n, r) {
+function Rj(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function Rj(e, t) {
+function zj(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -30915,7 +30915,7 @@ function Rj(e, t) {
};
}
// src/sort-preferences.ts
-var zj = [
+var Bj = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -30924,7 +30924,7 @@ var zj = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Bj = ["release", "发行时间"], Vj = [...zj, Bj].map(([e]) => e), Hj = {
+], Vj = ["release", "发行时间"], Hj = [...Bj, Vj].map(([e]) => e), Uj = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -30933,43 +30933,43 @@ var zj = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Uj = {
+}, Wj = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Wj = (e, t, n = Hj) => (n[e] || [])[+(t === "asc")] || "", Gj = (e, t = Hj) => t[e] ? "desc" : "";
-function Kj(e, t, n, r = Hj) {
+}, Gj = (e, t, n = Uj) => (n[e] || [])[+(t === "asc")] || "", Kj = (e, t = Uj) => t[e] ? "desc" : "";
+function qj(e, t, n, r = Uj) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Gj(e, r)
+ dir: Kj(e, r)
};
}
-function qj(e, t, n) {
+function Jj(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Jj(e, t, n, r, i = n) {
- let a = e ? Uj[e] : void 0, o = a ? a[0] : e, s = o && Vj.includes(o) ? o : i;
- return Hj[s] ? {
+function Yj(e, t, n, r, i = n) {
+ let a = e ? Wj[e] : void 0, o = a ? a[0] : e, s = o && Hj.includes(o) ? o : i;
+ return Uj[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : qj(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Jj(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var Yj = [
+var Xj = [
"spot1",
"spot2",
"spot3"
-], qce = [
+], Kce = [
"光晕一",
"光晕二",
"光晕三"
-], Xj = "native", Zj = [
+], Zj = "native", Qj = [
[
"ash",
"灰雾",
@@ -31275,7 +31275,7 @@ var Yj = [
"rose"
],
[
- Xj,
+ Zj,
"玻璃原色",
{
spot1: {
@@ -31293,7 +31293,7 @@ var Yj = [
},
"blue"
]
-], Qj = (e) => e === Xj, $j = [...Zj.map(([e, t]) => [e, t]), ["custom", "自定义"]], Jce = (e) => ($j.find(([t]) => t === e) || $j[0])[1], eM = (e) => structuredClone((Zj.find(([t]) => t === e) || Zj[0])[2]), tM = [
+], $j = (e) => e === Zj, eM = [...Qj.map(([e, t]) => [e, t]), ["custom", "自定义"]], qce = (e) => (eM.find(([t]) => t === e) || eM[0])[1], tM = (e) => structuredClone((Qj.find(([t]) => t === e) || Qj[0])[2]), nM = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -31306,7 +31306,7 @@ var Yj = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], nM = "blue", rM = (e) => tM.some(([t]) => t === e) ? e : nM, Yce = (e) => (Zj.find(([t]) => t === e) || [])[3] || "blue", Xce = [
+], rM = "blue", iM = (e) => nM.some(([t]) => t === e) ? e : rM, Jce = (e) => (Qj.find(([t]) => t === e) || [])[3] || "blue", Yce = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -31316,7 +31316,7 @@ var Yj = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], Zce = [
+], Xce = [
[
"gray",
"云灰",
@@ -31712,11 +31712,11 @@ var Yj = [
"霁蓝",
"#6686b8"
]
-], iM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, aM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Qce = (e, t) => `rgba(${[
+], aM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, oM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Zce = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, $ce = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Qce = {
strength: [
0,
100,
@@ -31742,7 +31742,7 @@ var Yj = [
100,
50
]
-}, oM = {
+}, sM = {
on: !0,
preset: "ash",
strength: 100,
@@ -31750,56 +31750,56 @@ var Yj = [
speed: 100,
soften: 50,
size: 50,
- ...eM("ash")
+ ...tM("ash")
};
-function sM(e) {
- let t = e && typeof e == "object" ? e : {}, n = $j.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = eM(r === "custom" ? "ash" : r), a = {
+function cM(e) {
+ let t = e && typeof e == "object" ? e : {}, n = eM.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = tM(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries($ce)) a[e] = iM(+t[e], n, r, i);
- for (let e of Yj) {
+ for (let [e, [n, r, i]] of Object.entries(Qce)) a[e] = aM(+t[e], n, r, i);
+ for (let e of Xj) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: aM(r.color, o.color),
- alpha: iM(+r.alpha, 0, 100, o.alpha)
+ color: oM(r.color, o.color),
+ alpha: aM(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var ele = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, cM = /* @__PURE__ */ new WeakMap();
-function tle(e, t) {
+var $ce = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, lM = /* @__PURE__ */ new WeakMap();
+function ele(e, t) {
if (!e) return;
- let n = cM.get(e);
- n || (n = /* @__PURE__ */ new Map(), cM.set(e, n));
- let r = t.on && !Qj(t.preset), i = (t, r) => {
+ let n = lM.get(e);
+ n || (n = /* @__PURE__ */ new Map(), lM.set(e, n));
+ let r = t.on && !$j(t.preset), i = (t, r) => {
n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));
};
- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Yj.forEach((e, n) => {
+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Xj.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, Qce(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, Zce(r.color, r.alpha));
});
}
-function nle(e, t) {
+function tle(e, t) {
if (!e) return;
- let n = !t.on || Qj(t.preset);
+ let n = !t.on || $j(t.preset);
e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));
}
// src/appearance/settings.ts
-var rle = "peach.settings.v1", ile = [
+var nle = "peach.settings.v1", rle = [
"system",
"light",
"dark"
-], lM = [
+], uM = [
0,
7,
30,
90
-], ale = [
+], ile = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], uM = {
+], dM = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -31820,56 +31820,56 @@ var rle = "peach.settings.v1", ile = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...Il],
- homeGlow: oM,
- accent: nM,
+ homeGlow: sM,
+ accent: rM,
performerNameLanguage: "zh-CN"
-}, dM = (e, t, n) => t.includes(e) ? e : n;
-function ole(e) {
+}, fM = (e, t, n) => t.includes(e) ? e : n;
+function ale(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...uM,
+ ...dM,
...t
};
- n.followInitialDays = lM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = uM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
let r = !1, i = +n.sortDefaultsVersion || 0;
i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);
- let a = Uj[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Lj(+n.batchSize, 1, 200, 60), n.defaultSort = dM(n.defaultSort, Vj, "seed"), n.hoverDelaySeconds = Lj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Lj(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Lj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Lj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Lj(+n.feedLimit, 1, 100, 12), Object.assign(n, Za(n)), n.theme = dM(n.theme, ile, "system"), n.performerNameLanguage = dM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = sM(n.homeGlow), n.accent = rM(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {
+ let a = Wj[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Rj(+n.batchSize, 1, 200, 60), n.defaultSort = fM(n.defaultSort, Hj, "seed"), n.hoverDelaySeconds = Rj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Rj(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Rj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Rj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Rj(+n.feedLimit, 1, 100, 12), Object.assign(n, Za(n)), n.theme = fM(n.theme, rle, "system"), n.performerNameLanguage = fM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = cM(n.homeGlow), n.accent = iM(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function sle(e) {
+function ole(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return ole(t);
+ return ale(t);
}
-var fM = null;
-function pM() {
- if (fM) return fM;
- let { settings: e, migrated: t } = sle(localStorage);
- return fM = Rj(rle, e), t && fM.save(), fM;
+var pM = null;
+function mM() {
+ if (pM) return pM;
+ let { settings: e, migrated: t } = ole(localStorage);
+ return pM = zj(nle, e), t && pM.save(), pM;
}
-function mM(e, t, n = pM()) {
+function hM(e, t, n = mM()) {
let r = n.value, i = e?.performerNameLanguage;
(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));
let a = e && e.followInitialDays;
- lM.includes(a) && (r.followInitialDays = a, n.save());
- for (let t of ale) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ uM.includes(a) && (r.followInitialDays = a, n.save());
+ for (let t of ile) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Lj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== uM.searchHistoryLimit && cle(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Rj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== dM.searchHistoryLimit && sle(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function cle(e = pM()) {
+function sle(e = mM()) {
return Cn("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var lle = [
+var cle = [
[
"system",
"跟随系统",
@@ -31885,31 +31885,31 @@ var lle = [
"深色",
"moon"
]
-], ule = null, hM = () => ule ??= matchMedia("(prefers-color-scheme: dark)"), gM = null;
-function dle() {
- return gM || (gM = document.createElement("style"), gM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), gM.isConnected || document.head.append(gM), () => {
+], lle = null, gM = () => lle ??= matchMedia("(prefers-color-scheme: dark)"), _M = null;
+function ule() {
+ return _M || (_M = document.createElement("style"), _M.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), _M.isConnected || document.head.append(_M), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), gM?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), _M?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function _M(e = pM().value.theme) {
- let t = dle(), n = document.documentElement;
+function vM(e = mM().value.theme) {
+ let t = ule(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && hM().matches;
+ let r = e === "dark" || e === "system" && gM().matches;
n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {
e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";
}), t();
}
-var vM = !1;
-function fle() {
- vM || (vM = !0, hM().addEventListener("change", () => {
- pM().value.theme === "system" && _M();
+var yM = !1;
+function dle() {
+ yM || (yM = !0, gM().addEventListener("change", () => {
+ mM().value.theme === "system" && vM();
}));
}
// src/appearance/layout.ts
-var yM = [[
+var bM = [[
"big",
"大图",
"maximize"
@@ -31917,7 +31917,7 @@ var yM = [[
"small",
"小图",
"layout-grid"
-]], bM = [[
+]], xM = [[
"big",
"大图",
"maximize"
@@ -31925,7 +31925,7 @@ var yM = [[
"small",
"小图",
"layout-grid"
-]], xM = [[
+]], SM = [[
"fixed",
"固定比例",
"layout-grid"
@@ -31933,127 +31933,127 @@ var yM = [[
"masonry",
"瀑布流",
"columns-2"
-]], SM = .75, CM = () => pM().value, wM = (e = CM()) => Xa(e.javLayout), ple = (e = CM()) => Xa(e.homeLayout), TM = (e, t = CM()) => e ? ple(t) : wM(t), EM = bM.map(([e]) => e), DM = xM.map(([e]) => e), OM = (e = CM()) => dM(e.photoSize, EM, "small"), kM = (e = CM()) => dM(e.photoLayout, DM, "masonry"), AM = null;
-function jM(e, t = CM()) {
+]], CM = .75, wM = () => mM().value, TM = (e = wM()) => Xa(e.javLayout), fle = (e = wM()) => Xa(e.homeLayout), EM = (e, t = wM()) => e ? fle(t) : TM(t), DM = xM.map(([e]) => e), OM = SM.map(([e]) => e), kM = (e = wM()) => fM(e.photoSize, DM, "small"), AM = (e = wM()) => fM(e.photoLayout, OM, "masonry"), jM = null;
+function MM(e, t = wM()) {
let n = {
active: e.active,
- size: TM(e.home, t),
+ size: EM(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = AM;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (AM = n), AM;
+ }, r = jM;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (jM = n), jM;
}
-function MM(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? SM : 16 / 9;
+function NM(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? CM : 16 / 9;
}
-function mle(e, t = pM()) {
+function ple(e, t = mM()) {
t.value.homeLayout = Xa(e), t.save();
}
-function NM(e, t = pM()) {
+function PM(e, t = mM()) {
t.value.javLayout = Xa(e), t.save();
}
-function hle(e, t = pM()) {
+function mle(e, t = mM()) {
t.value.homeLayout = t.value.javLayout = Xa(e), t.save();
}
-function gle(e, t = pM()) {
- t.value.photoSize = dM(e, EM, "small"), t.save();
+function hle(e, t = mM()) {
+ t.value.photoSize = fM(e, DM, "small"), t.save();
}
-function PM(e, t = pM()) {
- t.value.photoLayout = dM(e, DM, "masonry"), t.save();
+function FM(e, t = mM()) {
+ t.value.photoLayout = fM(e, OM, "masonry"), t.save();
}
// src/appearance/density.ts
-var FM = "density", IM = {
+var IM = "density", LM = {
big: "336px",
dense: "168px"
-}, LM = () => localStorage.getItem(FM) === "dense" ? "dense" : "big";
-function RM(e, t) {
- let [n, r] = bM;
+}, RM = () => localStorage.getItem(IM) === "dense" ? "dense" : "big";
+function zM(e, t) {
+ let [n, r] = xM;
if (e.querySelector("[data-icon-swap]")) Gs(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = Ws(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- zM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ BM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function zM(e, t, n) {
+function BM(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var BM = () => document.querySelector("#density");
-function VM(e = LM()) {
+var VM = () => document.querySelector("#density");
+function HM(e = RM()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== IM[e] && t.style.setProperty("--tile", IM[e]), zM(document.body, "data-density", e);
- let n = BM();
- n && (zM(n, "aria-pressed", String(e === "dense")), zM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), RM(n, e === "big" ? "big" : "small"));
+ t.style.getPropertyValue("--tile") !== LM[e] && t.style.setProperty("--tile", LM[e]), BM(document.body, "data-density", e);
+ let n = VM();
+ n && (BM(n, "aria-pressed", String(e === "dense")), BM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), zM(n, e === "big" ? "big" : "small"));
}
-function _le() {
- let e = LM() === "big" ? "dense" : "big";
- localStorage.setItem(FM, e), VM(e);
+function gle() {
+ let e = RM() === "big" ? "dense" : "big";
+ localStorage.setItem(IM, e), HM(e);
}
-function vle(e) {
- let t = BM();
- t && (zM(t, "aria-pressed", String(e === "small")), zM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), RM(t, e));
+function _le(e) {
+ let t = VM();
+ t && (BM(t, "aria-pressed", String(e === "small")), BM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), zM(t, e));
}
// src/appearance/glow.ts
-function HM(e = pM()) {
- tle(document.querySelector(".glowlayer"), e.value.homeGlow);
+function UM(e = mM()) {
+ ele(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var UM = 0;
-function WM(e = pM()) {
- UM ||= requestAnimationFrame(() => {
- UM = 0, HM(e);
+var WM = 0;
+function GM(e = mM()) {
+ WM ||= requestAnimationFrame(() => {
+ WM = 0, UM(e);
});
}
-function GM(e = pM()) {
- nle(document.documentElement, e.value.homeGlow);
+function KM(e = mM()) {
+ tle(document.documentElement, e.value.homeGlow);
}
-function KM(e = pM()) {
+function qM(e = mM()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var qM = (e, t, n) => ({
+var JM = (e, t, n) => ({
key: e,
label: t,
- native: Qj(e),
- fill: Qj(e) ? "" : ele(n)
+ native: $j(e),
+ fill: $j(e) ? "" : $ce(n)
});
-function yle(e) {
- let t = Zj.map(([e, t, n]) => qM(e, t, Yj.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(qM("custom", "自定义", Yj.map((t) => e[t].color))), t;
+function vle(e) {
+ let t = Qj.map(([e, t, n]) => JM(e, t, Xj.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(JM("custom", "自定义", Xj.map((t) => e[t].color))), t;
}
-var ble = tM;
-function xle(e, t = pM()) {
+var yle = nM;
+function ble(e, t = mM()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, eM(e)), t.value.accent = Yce(e), t.save(), WM(t), GM(t), KM(t);
+ n.preset = e, Object.assign(n, tM(e)), t.value.accent = Jce(e), t.save(), GM(t), KM(t), qM(t);
}
-function Sle(e, t = pM()) {
- t.value.accent = rM(e), t.save(), KM(t);
+function xle(e, t = mM()) {
+ t.value.accent = iM(e), t.save(), qM(t);
}
-function Cle(e = pM()) {
+function Sle(e = mM()) {
let t = e.value.homeGlow;
- t.preset = oM.preset, Object.assign(t, eM(t.preset)), e.value.accent = nM, e.save(), WM(e), GM(e), KM(e);
+ t.preset = sM.preset, Object.assign(t, tM(t.preset)), e.value.accent = rM, e.save(), GM(e), KM(e), qM(e);
}
-function JM(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Qj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function YM(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && $j(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function wle(e, t = pM()) {
- return JM(e, t.value.homeGlow), t.subscribe(() => JM(e, t.value.homeGlow));
+function Cle(e, t = mM()) {
+ return YM(e, t.value.homeGlow), t.subscribe(() => YM(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function YM({ store: e, label: t, hidden: n }) {
+function XM({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: yle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: vle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-glow-preset": t.key,
"aria-pressed": t.key === r.preset,
title: t.label,
"aria-label": t.label,
- onClick: () => xle(t.key, e),
+ onClick: () => ble(t.key, e),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32064,14 +32064,14 @@ function YM({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var XM = null;
-function Tle(e) {
- XM = e;
+var ZM = null;
+function wle(e) {
+ ZM = e;
}
-function Ele() {
- return XM ? /* @__PURE__ */ (0, I.jsx)(Dle, { host: XM }) : null;
+function Tle() {
+ return ZM ? /* @__PURE__ */ (0, I.jsx)(Ele, { host: ZM }) : null;
}
-function Dle({ host: e }) {
+function Ele({ host: e }) {
let { store: t } = e;
(0, F.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -32083,11 +32083,11 @@ function Dle({ host: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Cle(t),
+ onClick: () => Sle(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(YM, {
+ /* @__PURE__ */ (0, I.jsx)(XM, {
store: t,
label: "光晕",
hidden: !n.on
@@ -32101,14 +32101,14 @@ function Dle({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: ble.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: yle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => Sle(e, t),
+ onClick: () => xle(e, t),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32126,31 +32126,31 @@ function Dle({ host: e }) {
] });
}
// src/player/host.ts
-var ZM = null;
-function Ole(e) {
- ZM = e;
+var QM = null;
+function Dle(e) {
+ QM = e;
}
-function QM() {
- if (!ZM) throw Error("播放器还没有接上宿主(configurePlayer)");
- return ZM;
+function $M() {
+ if (!QM) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return QM;
}
// src/player/menu.ts
-var $M = null;
-function kle(e) {
- $M = e;
+var eN = null;
+function Ole(e) {
+ eN = e;
}
-function Ale() {
+function kle() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var eN = null, tN = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function nN() {
+var tN = null, nN = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function rN() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && ss(e, () => {
e.innerHTML = "";
- }), eN &&= (eN(), null);
+ }), tN &&= (tN(), null);
}
-async function jle(e) {
+async function Ale(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -32163,8 +32163,8 @@ async function jle(e) {
return t.remove(), n;
}
}
-function Mle(e) {
- let t = !!$M?.inMiniplayer(e), n = e.peachItem, r = $M?.kind(e) ?? "item", i = (t) => {
+function jle(e) {
+ let t = !!eN?.inMiniplayer(e), n = e.peachItem, r = eN?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);
if (r !== "follow" && location.pathname === i.pathname) {
let e = new URLSearchParams(location.search);
@@ -32180,7 +32180,7 @@ function Mle(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- jle(i(e)).then((e) => QM().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Ale(i(e)).then((e) => $M().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -32192,11 +32192,11 @@ function Mle(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => $M?.expand()
+ run: () => eN?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => $M?.toMiniplayer()
+ run: () => eN?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -32219,29 +32219,29 @@ function Mle(e) {
run: () => s.click()
}), o;
}
-function Nle(e, t, n) {
- let r = Ale();
- nN();
- let i = QM().stage();
+function Mle(e, t, n) {
+ let r = kle();
+ rN();
+ let i = $M().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Mle(e);
+ let a = jle(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${tN(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? tN(z("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${nN(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? nN(z("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), os(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- nN(), n?.run();
+ rN(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || nN();
+ r.contains(e.target) || rN();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), nN();
+ e.preventDefault(), e.stopPropagation(), rN();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -32249,49 +32249,49 @@ function Nle(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- ls(t, e.el()) && nN();
+ ls(t, e.el()) && rN();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), eN = () => {
+ }, 0), tN = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Ple(e) {
+function Nle(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Nle(e, t.clientX, t.clientY));
- }), e.on("dispose", nN);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Mle(e, t.clientX, t.clientY));
+ }), e.on("dispose", rN);
}
// src/player/registry.ts
-var rN = null, iN = () => rN;
-function aN(e) {
- rN = e;
-}
+var iN = null, aN = () => iN;
function oN(e) {
+ iN = e;
+}
+function sN(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function sN(e) {
+function cN(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function Fle(e) {
+function Ple(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var cN = 3e3;
-function lN(e, t) {
+var lN = 3e3;
+function uN(e, t) {
let n = Number(e) || 0, r = Gn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Ile(e) {
+function Fle(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32306,10 +32306,10 @@ function Ile(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Fle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Ple(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > cN * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > lN * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32318,55 +32318,55 @@ function Ile(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > cN;) t.shift();
+ }); t.length > 2 && a - t[0].at > lN;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var uN = 24;
-function dN(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > uN && e.splice(0, e.length - uN);
+var dN = 24;
+function fN(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > dN && e.splice(0, e.length - dN);
}
-var fN = "peach-player-panel";
-function pN(e, t, n, r) {
- let i = [...Array(Math.max(0, uN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var pN = "peach-player-panel";
+function mN(e, t, n, r) {
+ let i = [...Array(Math.max(0, dN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;
}
-function Lle() {
+function Ile() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${z("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function mN(e, t = "") {
+function hN(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function hN(e, t = "") {
- let n = mN(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function gN(e, t = "") {
+ let n = hN(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function gN(e, t, n = "", r = null) {
+function _N(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.bandwidth?.()) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : hN(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : gN(t, n);
}
-function _N(e) {
+function vN(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function Rle(e, t) {
- return e > 0 ? _N(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : _N(0);
+function Lle(e, t) {
+ return e > 0 ? vN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : vN(0);
}
// src/player/subtitle-style.ts
-var vN = {
+var yN = {
font: {
label: "字体",
values: [
@@ -32469,7 +32469,7 @@ var vN = {
["shadow", "阴影"]
]
}
-}, yN = {
+}, bN = {
font: "sans",
size: "100",
color: "white",
@@ -32479,7 +32479,7 @@ var vN = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, bN = "peach.caption-style.v1", zle = {
+}, xN = "peach.caption-style.v1", Rle = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -32488,7 +32488,7 @@ var vN = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, Ble = {
+}, zle = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -32496,28 +32496,28 @@ var vN = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, Vle = {
+}, Ble = {
none: "none",
raised: "-1px -1px 0 #ddd,1px 1px 0 #222",
depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",
outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",
shadow: "2px 2px 3px #000"
};
-function Hle() {
+function Vle() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(bN) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(xN) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(yN).map(([t, n]) => [t, vN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
+ return Object.fromEntries(Object.entries(bN).map(([t, n]) => [t, yN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
}
-function xN(e, t, n, r) {
- let i = Hle(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
+function SN(e, t, n, r) {
+ let i = Vle(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");
let s = document.createElement("div");
s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";
let c = () => {
- let t = (e, t) => `rgba(${zle[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", Ble[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Vle[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${Rle[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", zle[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Ble[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
}, l = () => {
s.replaceChildren();
for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {
@@ -32533,15 +32533,15 @@ function xN(e, t, n, r) {
if (!n.aborted) {
if (e.caption_style) {
let t = {
- ...yN,
+ ...bN,
...e.caption_style
};
- for (let e of Object.keys(yN)) a.has(e) || (i[e] = t[e]);
+ for (let e of Object.keys(bN)) a.has(e) || (i[e] = t[e]);
c();
} else {
let e = !1;
try {
- e = !!localStorage.getItem(bN);
+ e = !!localStorage.getItem(xN);
} catch {}
e && !a.size && r.save({ caption_style: i }).catch(() => {});
}
@@ -32549,18 +32549,18 @@ function xN(e, t, n, r) {
}), {
current: () => i,
set(e, t) {
- vN[e].values.some(([e]) => e === t) && (a.add(e), i = {
+ yN[e].values.some(([e]) => e === t) && (a.add(e), i = {
...i,
[e]: t
}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));
},
reset() {
- Object.keys(yN).forEach((e) => a.add(e)), i = { ...yN }, c(), r?.save({ caption_style: i }).catch(() => {});
+ Object.keys(bN).forEach((e) => a.add(e)), i = { ...bN }, c(), r?.save({ caption_style: i }).catch(() => {});
}
};
}
// src/player/memory.ts
-var SN = /* @__PURE__ */ new Map(), CN = /* @__PURE__ */ new WeakMap(), Ule = class {
+var CN = /* @__PURE__ */ new Map(), wN = /* @__PURE__ */ new WeakMap(), Hle = class {
cleanup = new AbortController();
reading;
listeners = /* @__PURE__ */ new Set();
@@ -32588,7 +32588,7 @@ var SN = /* @__PURE__ */ new Map(), CN = /* @__PURE__ */ new WeakMap(), Ule = cl
}
load() {
return this.url ? this.reading ||= (async () => {
- await SN.get(this.url)?.catch(() => {});
+ await CN.get(this.url)?.catch(() => {});
let e = await Cn(this.url, { signal: this.cleanup.signal });
return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;
})().catch((e) => {
@@ -32600,7 +32600,7 @@ var SN = /* @__PURE__ */ new Map(), CN = /* @__PURE__ */ new WeakMap(), Ule = cl
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (SN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (CN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = {
...this.unsaved,
...e,
@@ -32627,8 +32627,8 @@ var SN = /* @__PURE__ */ new Map(), CN = /* @__PURE__ */ new WeakMap(), Ule = cl
this.changed();
}
});
- return SN.set(this.url, t), t.finally(() => {
- SN.get(this.url) === t && SN.delete(this.url);
+ return CN.set(this.url, t), t.finally(() => {
+ CN.get(this.url) === t && CN.delete(this.url);
}).catch(() => {}), t;
}
async retry() {
@@ -32637,12 +32637,12 @@ var SN = /* @__PURE__ */ new Map(), CN = /* @__PURE__ */ new WeakMap(), Ule = cl
} catch {}
}
};
-function wN(e) {
- let t = CN.get(e);
- return t || (t = new Ule(e), CN.set(e, t)), t;
+function TN(e) {
+ let t = wN.get(e);
+ return t || (t = new Hle(e), wN.set(e, t)), t;
}
-function TN(e, t) {
- let n = wN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
+function EN(e, t) {
+ let n = TN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);
};
return n.restore((t) => {
@@ -32655,7 +32655,7 @@ function TN(e, t) {
};
}
// src/player/subtitle-memory.ts
-var EN = class {
+var DN = class {
player;
video;
changed;
@@ -32666,7 +32666,7 @@ var EN = class {
ready;
error = "";
constructor(e, t, n = () => {}) {
- this.player = e, this.video = t, this.changed = n, this.memory = wN(e);
+ this.player = e, this.video = t, this.changed = n, this.memory = TN(e);
let r = this.cleanup.signal;
t.textTracks.addEventListener("addtrack", () => {
this.apply(), this.changed();
@@ -32763,7 +32763,7 @@ var EN = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, DN = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Wle = class {
+}, ON = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Ule = class {
player;
video;
panels;
@@ -32782,7 +32782,7 @@ var EN = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = xN(e.el(), t, this.cleanup.signal, wN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = DN(), this.cc.onclick = () => {
+ this.player = e, this.video = t, this.panels = n, this.styles = SN(e.el(), t, this.cleanup.signal, TN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = ON(), this.cc.onclick = () => {
let e = this.tracks().find((e) => e.mode === "showing");
e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();
}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {
@@ -32792,7 +32792,7 @@ var EN = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new EN(e, t, () => {
+ }), this.session = new DN(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -32840,7 +32840,7 @@ var EN = class {
}
options(e = 1) {
this.page = "options";
- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(vN).map(([e, n]) => {
+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(yN).map(([e, n]) => {
let r = n.values.find(([n]) => n === t[e])?.[1] || "";
return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${z("player-menu-next")}</button>`;
}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);
@@ -32852,7 +32852,7 @@ var EN = class {
}
styleOptions(e) {
this.page = "style";
- let t = vN[e];
+ let t = yN[e];
this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {
let r = this.styles.current()[e] === t;
return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? z("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;
@@ -32968,7 +32968,7 @@ var EN = class {
}
};
// src/player/timeline.ts
-function Gle(e, t) {
+function Wle(e, t) {
if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;
if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;
let n = 0, r = t.cues.length;
@@ -32980,8 +32980,8 @@ function Gle(e, t) {
return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;
}
// src/player/rotation.ts
-function ON(e, t) {
- let n = 0, r = !1, i = wN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
+function kN(e, t) {
+ let n = 0, r = !1, i = TN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
"width",
"height",
"inset",
@@ -33009,7 +33009,7 @@ function ON(e, t) {
};
}
// src/player/pip.ts
-function Kle(e, t, n, r) {
+function Gle(e, t, n, r) {
let i = e.el().querySelector("video");
if (!i || !t) return;
let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";
@@ -33041,7 +33041,7 @@ function Kle(e, t, n, r) {
});
}
// src/player/controls.ts
-function kN(e, t, n = "") {
+function AN(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -33052,27 +33052,27 @@ function kN(e, t, n = "") {
};
return o(), o;
}
-function AN(e, t) {
+function jN(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function qle(e, t = !0) {
- let n = QM(), r = n.settings();
+function Kle(e, t = !0) {
+ let n = $M(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var jN = /* @__PURE__ */ new WeakMap();
-function MN(e) {
+var MN = /* @__PURE__ */ new WeakMap();
+function NN(e) {
if (!e) return;
- let t = QM().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), jN.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = $M().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), MN.get(e)?.(t ? "默认视图" : "影院模式");
}
-function NN(e, t = !0) {
- let n = QM(), r = n.settings();
+function PN(e, t = !0) {
+ let n = $M(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), MN(i?.querySelector("[data-player-theater]")), oN(iN());
+ i?.toggleAttribute("data-theater", r.theaterMode), NN(i?.querySelector("[data-player-theater]")), sN(aN());
}
-function Jle(e) {
- let t = QM().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function qle(e) {
+ let t = $M().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -33095,9 +33095,9 @@ function Jle(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (QM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || ($M().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && QM().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && $M().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -33106,7 +33106,7 @@ function Jle(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function PN(e, t, n = 0, r = null) {
+function FN(e, t, n = 0, r = null) {
let i = e.el().querySelector(".vjs-control-bar");
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -33116,8 +33116,8 @@ function PN(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- kN(s, "设置");
- let l = a.querySelector(".vjs-peach-settings-menu"), u = ON(e, t), d = TN(e, t), f = wN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
+ AN(s, "设置");
+ let l = a.querySelector(".vjs-peach-settings-menu"), u = kN(e, t), d = EN(e, t), f = TN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
}, v = () => {
@@ -33156,11 +33156,11 @@ function PN(e, t, n = 0, r = null) {
active: n
};
}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(fN, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(pN, { detail: "settings" }));
}, S = () => x(!1), C = (e) => {
e.detail !== "settings" && S();
};
- document.addEventListener(fN, C);
+ document.addEventListener(pN, C);
let w = null, T = 0, E = (e, t) => {
let n = ++T;
w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;
@@ -33176,15 +33176,15 @@ function PN(e, t, n = 0, r = null) {
}), i;
}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {
O = "main";
- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${QM().settings().ambientMode}">
+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${$M().settings().ambientMode}">
${z("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${z("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${z("player-menu-next")}</button>
- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${DN()}</span><span>字幕</span><b>${B(p?.label() || "关闭")}</b>${z("player-menu-next")}</button>
+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${ON()}</span><span>字幕</span><b>${B(p?.label() || "关闭")}</b>${z("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${z("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${z("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${z("player-quality")}<span>清晰度</span><b>${B(t.label)}</b>${z("player-menu-next")}</button>
<div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);
D(r, "[data-player-ambient]").onclick = () => {
- qle(!QM().settings().ambientMode), k();
+ Kle(!$M().settings().ambientMode), k();
}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {
f.retry();
}, A();
@@ -33288,8 +33288,8 @@ function PN(e, t, n = 0, r = null) {
A(), re();
});
return e.on("dispose", () => {
- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(fN, C), w && clearTimeout(w);
- }), p = new Wle(e, t, {
+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(pN, C), w && clearTimeout(w);
+ }), p = new Ule(e, t, {
render: E,
open: () => {
O = "subtitles", x(!0);
@@ -33298,21 +33298,21 @@ function PN(e, t, n = 0, r = null) {
back: () => {
p?.hide(), k(-1);
}
- }), y(), Yle(e, a), Xle(e), (e) => {
+ }), y(), Jle(e, a), Yle(e), (e) => {
h = e?.length ? e : null, re();
};
}
-function Yle(e, t) {
+function Jle(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = QM().settings().theaterMode, i = document.createElement("div");
+ let r = $M().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${z(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- jN.set(a, kN(a, "影院模式", "T")), MN(a), a.onclick = (e) => {
- e.stopPropagation(), NN(!QM().settings().theaterMode);
+ MN.set(a, AN(a, "影院模式", "T")), NN(a), a.onclick = (e) => {
+ e.stopPropagation(), PN(!$M().settings().theaterMode);
};
}
-function Xle(e) {
+function Yle(e) {
let t = e.el().querySelector(".vjs-control-bar");
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -33324,7 +33324,7 @@ function Xle(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = kN(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = AN(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -33335,7 +33335,7 @@ function Xle(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = kN(p, "静音", "M"), g = () => {
+ let h = AN(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -33361,7 +33361,7 @@ function Xle(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = kN(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = AN(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = qn(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : qn(t)} / ${qn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${qn(n)};点击显示已播放时间` : `已播放 ${qn(t)},总时长 ${qn(n)};点击显示剩余时间`);
};
@@ -33373,10 +33373,10 @@ function Xle(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- kN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Kle(e, E, kN(E, "画中画"), (e) => QM().toast(e, { warn: !0 }));
- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = kN(D, "全屏", "F"), A = () => {
+ AN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Gle(e, E, AN(E, "画中画"), (e) => $M().toast(e, { warn: !0 }));
+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = AN(D, "全屏", "F"), A = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), oN(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), sN(e);
};
e.on([
"fullscreenchange",
@@ -33397,7 +33397,7 @@ function Xle(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${z("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);
- let N = ee.querySelector("button"), te = kN(N, "展开控件"), P = (t) => {
+ let N = ee.querySelector("button"), te = AN(N, "展开控件"), P = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");
};
N.onclick = (t) => {
@@ -33409,7 +33409,7 @@ function Xle(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();
}
-function FN(e, t, n = {}) {
+function IN(e, t, n = {}) {
let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = !!t && n.thumbnail !== !1, a = document.createElement("div");
@@ -33420,7 +33420,7 @@ function FN(e, t, n = {}) {
}).catch(() => {});
let f = (e, n, r, i) => {
if (!t) return;
- let a = n.columns || 10, o = a * (n.rows || 10), s = Gle(e, n);
+ let a = n.columns || 10, o = a * (n.rows || 10), s = Wle(e, n);
if (s === null) return !1;
let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);
d = !!n.cues;
@@ -33445,13 +33445,13 @@ function FN(e, t, n = {}) {
r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);
});
}
-function Zle(e, t) {
+function Xle(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => Gn(e.duration()) || Gn(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(QM().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number($M().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -33492,11 +33492,11 @@ function Zle(e, t) {
} catch {}
});
}
-function IN(e) {
+function LN(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function LN(e, t) {
+function RN(e, t) {
Cn(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -33512,35 +33512,35 @@ function LN(e, t) {
}).catch(() => {});
}
// src/player/progress.ts
-var RN = "peach.playback-position.v1", zN = /* @__PURE__ */ new WeakMap();
-function BN(e) {
- zN.get(e)?.(), zN.delete(e);
+var zN = "peach.playback-position.v1", BN = /* @__PURE__ */ new WeakMap();
+function VN(e) {
+ BN.get(e)?.(), BN.delete(e);
}
-function VN(e, t, n = null) {
+function HN(e, t, n = null) {
let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;
return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;
}
-function Qle(e) {
+function Zle(e) {
try {
- let t = localStorage.getItem(`${RN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${zN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function $le(e, t) {
- let n = Qle(e);
+function Qle(e, t) {
+ let n = Zle(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * Gn(t.duration) : 0;
}
-function eue(e, t) {
- BN(t);
+function $le(e, t) {
+ VN(t);
let n = t.readyState >= 1, r = () => {
if (!n || !Number.isFinite(t.currentTime)) return;
let r = t.ended ? 0 : Math.max(0, t.currentTime);
try {
- localStorage.setItem(`${RN}:${e}`, String(r));
+ localStorage.setItem(`${zN}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -33554,7 +33554,7 @@ function eue(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), zN.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), BN.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -33566,19 +33566,19 @@ function eue(e, t) {
});
}
// src/player/telemetry.ts
-var HN = /* @__PURE__ */ new WeakMap();
-function UN(e) {
- HN.get(e)?.(), HN.delete(e);
+var UN = /* @__PURE__ */ new WeakMap();
+function WN(e) {
+ UN.get(e)?.(), UN.delete(e);
}
-function WN(e, t, n, r) {
+function GN(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), HN.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), UN.set(e, () => {
n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);
});
}
-function GN(e, t, n = {}) {
+function KN(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {
let r = Gn(e.duration) || Gn(t.duration);
@@ -33619,11 +33619,11 @@ function GN(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, WN(t, l, u, () => {
+ }, GN(t, l, u, () => {
a++;
}), c();
}
-function tue(e, t) {
+function eue(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = Gn(e.duration) || Gn(t.duration);
(r || n) && (Cn("/api/follow/activity", {
@@ -33654,22 +33654,22 @@ function tue(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, WN(t, o, s, () => {});
+ }, GN(t, o, s, () => {});
}
// src/player/dispose.ts
-function KN(e) {
+function qN(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (BN(t), UN(t));
+ t && (VN(t), WN(t));
try {
e.dispose();
} catch {}
}
// src/core/random-id.ts
-function qN() {
+function JN() {
if (typeof crypto.randomUUID == "function") return crypto.randomUUID();
let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;
@@ -33677,23 +33677,23 @@ function qN() {
return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;
}
// src/player/stream.ts
-function JN() {
- return qN();
+function YN() {
+ return JN();
}
-function YN(e, t) {
+function XN(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function nue(e) {
+function tue(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function XN(e, t) {
- let n = nue(e);
+async function ZN(e, t) {
+ let n = tue(e);
if (n) return n;
try {
let n = await Cn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -33702,9 +33702,9 @@ async function XN(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return YN(e, t);
+ return XN(e, t);
}
-function ZN(e) {
+function QN(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -33713,22 +33713,22 @@ function ZN(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var QN = "";
-function $N() {
- return QN;
-}
+var $N = "";
function eP() {
- return QN ||= JN(), QN;
+ return $N;
}
-var rue = (e) => YN(e, eP()), iue = (e) => XN(e, eP());
function tP() {
- let e = QN;
- e && (QN = "", ZN(e));
+ return $N ||= YN(), $N;
+}
+var nue = (e) => XN(e, tP()), rue = (e) => ZN(e, tP());
+function nP() {
+ let e = $N;
+ e && ($N = "", QN(e));
}
// src/player/v10-player.ts
-var nP = (e) => typeof e == "string" ? [e] : e, aue = (e, t) => {
+var rP = (e) => typeof e == "string" ? [e] : e, iue = (e, t) => {
let n = document.createElement("div"), r = document.createElement("video-player");
- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${qN()}`, n.setAttribute("lang", "zh-CN");
+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${JN()}`, n.setAttribute("lang", "zh-CN");
let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");
e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");
let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {
@@ -33823,9 +33823,9 @@ var nP = (e) => typeof e == "string" ? [e] : e, aue = (e, t) => {
e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();
};
return e.addEventListener("loadedmetadata", T, { signal: c }), {
- on: (e, t) => nP(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => nP(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => nP(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => rP(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => rP(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => rP(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -33880,7 +33880,7 @@ var nP = (e) => typeof e == "string" ? [e] : e, aue = (e, t) => {
n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);
}
};
-}, oue = "/vendor/videojs/10.2.0/", sue = [
+}, aue = "/vendor/videojs/10.2.0/", oue = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -33898,17 +33898,17 @@ var nP = (e) => typeof e == "string" ? [e] : e, aue = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], rP = null;
-function iP() {
- return rP ??= Promise.all(sue.map((e) => import(
+], iP = null;
+function aP() {
+ return iP ??= Promise.all(oue.map((e) => import(
/* @vite-ignore */
- `${oue}${e}`
-))).then(() => aue).catch((e) => {
- throw rP = null, e;
- }), rP;
+ `${aue}${e}`
+))).then(() => iue).catch((e) => {
+ throw iP = null, e;
+ }), iP;
}
// src/player/immerse-player.ts
-var cue = {
+var sue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -33920,45 +33920,45 @@ var cue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function lue(e, t) {
+function cue(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([XN(n, r), iP().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([ZN(n, r), aP().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = YN(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = XN(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, cue);
- i = t, t.peachItem = n, t.peachPlaybackKey = VN("item", n);
+ let t = s(e, sue);
+ i = t, t.peachItem = n, t.peachPlaybackKey = HN("item", n);
let r = new AbortController();
- xN(t.el(), e, r.signal, wN(t)), ON(t, e), TN(t, e), t.on("dispose", () => r.abort()), new EN(t, e), LN(t, n.id), l && t.one("error", () => {
+ SN(t.el(), e, r.signal, TN(t)), kN(t, e), EN(t, e), t.on("dispose", () => r.abort()), new DN(t, e), RN(t, n.id), l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- GN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ KN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, ZN(r), i ? KN(i) : (e.pause(), UN(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, QN(r), i ? qN(i) : (e.pause(), WN(e), e.removeAttribute("src"), e.load()));
};
}
// src/player/guide-preview.ts
-var aP = !1, oP = () => aP;
-function uue() {
- return aP = !0, () => {
- aP = !1;
+var oP = !1, sP = () => oP;
+function lue() {
+ return oP = !0, () => {
+ oP = !1;
};
}
// src/player/detail-player.ts
-var sP = /* @__PURE__ */ new WeakMap(), cP = null, lP = null, uP = null;
-function dP() {
- cP &&= (clearInterval(cP), null), lP &&= (clearInterval(lP), null), uP &&= (clearTimeout(uP), null);
+var cP = /* @__PURE__ */ new WeakMap(), lP = null, uP = null, dP = null;
+function fP() {
+ lP &&= (clearInterval(lP), null), uP &&= (clearInterval(uP), null), dP &&= (clearTimeout(dP), null);
}
-async function due(e, t, n, r = {}) {
- let i = iN();
+async function uue(e, t, n, r = {}) {
+ let i = aN();
if (i && !i.isDisposed()) return i;
- let a = QM(), o = r.resume ?? null;
+ let a = $M(), o = r.resume ?? null;
o?.autoplay && (n = !0), r.guidePreview && (n = !1);
- let s = () => r.source ? Promise.resolve(r.source) : iue(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : rue(e), c;
try {
- c = await iP();
+ c = await aP();
} catch {
return t.controls = !0, r.guidePreview || s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -33984,7 +33984,7 @@ async function due(e, t, n, r = {}) {
} }
}
});
- aN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || VN("item", e), Ple(l), l.on("loadedmetadata", () => {
+ oN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || HN("item", e), Nle(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -33992,7 +33992,7 @@ async function due(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Ile(lN(f, e.duration)), m = 0, h = !1, g = () => iN() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Fle(uN(f, e.duration)), m = 0, h = !1, g = () => aN() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -34003,15 +34003,15 @@ async function due(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- sP.set(l, y), y.updateStats = () => {
+ cP.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = $N(), h = s ? mN(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = eP(), h = s ? hN(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = gN(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = _N(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = sN(t);
- dN(d.speed, x), dN(d.activity, C), dN(d.buffer, w);
+ let w = cN(t);
+ fN(d.speed, x), fN(d.activity, C), fN(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? Jn(_) : "—"} · ${h.length} 请求`,
@@ -34029,17 +34029,17 @@ async function due(e, t, n, r = {}) {
[
"连接速度",
D,
- pN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ mN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- pN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ mN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- pN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ mN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${qn(t.currentTime)} / ${qn(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -34055,15 +34055,15 @@ async function due(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = gN(l, e.id, $N(), r ? null : p), a = r ? _N(i) : Rle(i, sN(t));
+ let i = _N(l, e.id, eP(), r ? null : p), a = r ? vN(i) : Lle(i, cN(t));
n.innerHTML = `${z("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), lP && clearInterval(lP), lP = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), uP && clearInterval(uP), uP = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (uP && clearTimeout(uP), uP = setTimeout(() => {
- e.hidden = !0, lP &&= (clearInterval(lP), null);
+ e && (dP && clearTimeout(dP), dP = setTimeout(() => {
+ e.hidden = !0, uP &&= (clearInterval(uP), null);
}, 1400));
};
return l.on([
@@ -34074,7 +34074,7 @@ async function due(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(rue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(nue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({
code: 2,
message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`
@@ -34082,13 +34082,13 @@ async function due(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = PN(l, t, e.height, r.qualities ?? null);
+ let n = FN(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = lN(r, e.duration));
- }).catch(() => {}), FN(l, e, { thumbnail: !r.source }), r.guidePreview || Zle(l, e), IN(l), r.source || LN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = uN(r, e.duration));
+ }).catch(() => {}), IN(l, e, { thumbnail: !r.source }), r.guidePreview || Xle(l, e), LN(l), r.source || RN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), r.guidePreview || s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -34097,16 +34097,16 @@ async function due(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var fue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function fP(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", fue), e.querySelector("#playerStatsBtn")) return;
+var due = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function pP(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", due), e.querySelector("#playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Lle();
+ n.innerHTML = Ile();
let r = e.querySelector(":scope > [data-player-toolbar]");
r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);
}
-function pP(e, t) {
- let n = sP.get(e);
+function mP(e, t) {
+ let n = cP.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`#${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -34118,30 +34118,30 @@ function pP(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), cP &&= (clearInterval(cP), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), lP &&= (clearInterval(lP), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(fN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), cP && clearInterval(cP), cP = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(pN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), lP && clearInterval(lP), lP = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(fN, t), s = () => document.removeEventListener(fN, t);
+ document.addEventListener(pN, t), s = () => document.removeEventListener(pN, t);
}
- let c = e.el().querySelector("video"), l = c ? Jle(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, dP()));
+ let c = e.el().querySelector("video"), l = c ? qle(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, fP()));
};
return e.one("dispose", d), d;
}
-function mP(e, t) {
- if (t.kind === "immerse") return lue(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = oP(), c = QM(), l = t.chrome === !1 ? null : e.parentElement;
- l && fP(l, e);
- let u = VN(n, r, i?.index ?? null), d = {
+function hP(e, t) {
+ if (t.kind === "immerse") return cue(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = sP(), c = $M(), l = t.chrome === !1 ? null : e.parentElement;
+ l && pP(l, e);
+ let u = HN(n, r, i?.index ?? null), d = {
guidePreview: s,
playbackKey: u,
resume: s ? null : t.resume ?? {
- time: $le(u, r),
+ time: Qle(u, r),
autoplay: !1
}
};
@@ -34161,36 +34161,36 @@ function mP(e, t) {
t && (e.poster = t);
}
let f = null, p = !1, m = () => {}, h = e, g = () => {
- m(), !(f && a?.(f)) && (BN(h), f ? (iN() === f && (aN(null), dP()), KN(f)) : UN(h));
+ m(), !(f && a?.(f)) && (VN(h), f ? (aN() === f && (oN(null), fP()), qN(f)) : WN(h));
};
- return due(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (eue(u, h), n === "follow" ? tue(r, h) : (h.addEventListener("play", () => {
+ return uue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : ($le(u, h), n === "follow" ? eue(r, h) : (h.addEventListener("play", () => {
Cn("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), GN(r, h, {
+ }, { once: !0 }), KN(r, h, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (l && (m = pP(t, l)), o?.(t)) : o?.(null)));
+ })), t ? (l && (m = mP(t, l)), o?.(t)) : o?.(null)));
}), () => {
p = !0, g();
};
}
// src/player/playback.ts
-function hP(e) {
+function gP(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function gP(e, t) {
+function _P(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
// src/player/preview-player.ts
-function pue(e, t, n) {
+function fue(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return iP().then((a) => {
+ return aP().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -34215,30 +34215,30 @@ function pue(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (PN(o, e), FN(o, null, { thumbnail: !1 }), IN(o));
+ r || o.isDisposed() || (FN(o, e), IN(o, null, { thumbnail: !1 }), LN(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, KN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, qN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function _P(e, t) {
+function vP(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var mue = (e, t) => [
+var pue = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], hue = (e, t) => [
+], mue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function gue(e, t, n, r, i) {
+async function hue(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await V(`/api/items?${a}`, i), s = {
@@ -34248,22 +34248,22 @@ async function gue(e, t, n, r, i) {
};
return t || s.items.length || r || (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var _ue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, vue = (e, t) => {
+var gue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, _ue = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function yue(e) {
- let t = _P(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function vue(e) {
+ let t = vP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: mue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => gue(t, e, n, r, i),
+ queryKey: pue(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => hue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: _ue(n)
+ getNextPageParam: gue(n)
};
}
-function bue(e) {
+function yue(e) {
return {
- queryKey: hue(e.entityKey || "", e.revision || 0),
+ queryKey: mue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -34278,14 +34278,14 @@ function bue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: vue
+ getNextPageParam: _ue
};
}
-function vP(e) {
+function yP(e) {
let t = JSON.stringify(e);
return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function yP(e, t, n) {
+function bP(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -34300,24 +34300,24 @@ function yP(e, t, n) {
return !0;
}) : [...e];
}
-var bP = (e, t) => !!e && !!$a(e, t);
-function xue(e, t) {
- let n = (e) => bP(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => bP(e, t)) || e[e.length - 1];
+var xP = (e, t) => !!e && !!$a(e, t);
+function bue(e, t) {
+ let n = (e) => xP(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => xP(e, t)) || e[e.length - 1];
}
-function Sue(e, { collapse: t, mix: n, javImage: r }) {
+function xue(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = yP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = bP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = xue(e, r);
+ let t = bue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -34330,16 +34330,16 @@ function Sue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Cue(e, t, n) {
+function Sue(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function wue(e, t) {
+function Cue(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function Tue(e, t) {
+function wue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -34352,10 +34352,10 @@ function Tue(e, t) {
strip: null
}), r;
}
-function xP(e, t) {
- SP((t) => t.id === e, t);
-}
function SP(e, t) {
+ CP((t) => t.id === e, t);
+}
+function CP(e, t) {
U.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {
...n,
cuts: n.cuts.map((n) => ({
@@ -34385,34 +34385,34 @@ function SP(e, t) {
} : n)
});
}
-var CP = (e) => Math.min(Math.max(e || 0, 0), 100), wP = (e) => Math.round(CP(e) / 20), Eue = (e) => {
- let t = wP(e);
+var wP = (e) => Math.min(Math.max(e || 0, 0), 100), TP = (e) => Math.round(wP(e) / 20), Tue = (e) => {
+ let t = TP(e);
return t ? `${t} 星` : "未评分";
-}, TP = (e, t) => t === wP(e) ? 0 : t * 20, EP = (e) => ["item", e], DP = (e) => [
+}, EP = (e, t) => t === TP(e) ? 0 : t * 20, DP = (e) => ["item", e], OP = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Due = (e, t) => [
+], Eue = (e, t) => [
"item-related",
e,
t
-], Oue = (e) => `/api/item?id=${e}`, kue = (e, t) => `/api/related?id=${e}&limit=${t}`, OP = "/api/playlist", kP = "/api/feedback", AP = "/api/item-tag", jP = "/api/watch-later", MP = "/api/quality-goal", NP = "/api/preference", PP = class extends Error {};
-async function FP(e, t) {
- let n = await V(Oue(e), t);
- if (n.error) throw new PP(n.error);
+], Due = (e) => `/api/item?id=${e}`, Oue = (e, t) => `/api/related?id=${e}&limit=${t}`, kP = "/api/playlist", AP = "/api/feedback", jP = "/api/item-tag", MP = "/api/watch-later", NP = "/api/quality-goal", PP = "/api/preference", FP = class extends Error {};
+async function IP(e, t) {
+ let n = await V(Due(e), t);
+ if (n.error) throw new FP(n.error);
return n;
}
-async function IP(e, t, n) {
+async function LP(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([FP(r, n), t.mixRelated(r)]);
- return U.setQueryData(EP(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([IP(r, n), t.mixRelated(r)]);
+ return U.setQueryData(DP(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${Ao(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return LP(await V(`${OP}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return RP(await V(`${kP}?id=${e.playlistId}`, n));
let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -34423,19 +34423,19 @@ async function IP(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var LP = (e) => ({
+var RP = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), RP = (e) => e.disposal === "vanished";
-function zP(e, t) {
+}), zP = (e) => e.disposal === "vanished";
+function BP(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !RP(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !zP(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function Aue(e, t) {
+function kue(e, t) {
if (t?.kind !== "parts" && t?.kind !== "editions") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -34443,20 +34443,20 @@ function Aue(e, t) {
part_label: n
};
}
-function BP(e, t) {
+function VP(e, t) {
if (!e || e.kind !== "parts" && e.kind !== "editions") return null;
let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];
return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;
}
-async function VP(e, t) {
+async function HP(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = DP(n);
+ let o = OP(n);
try {
let r = n.fresh ? void 0 : U.getQueryData(o);
a = !r && n.kind === "mix", i = r || await U.fetchQuery({
queryKey: o,
- queryFn: () => IP(n, e.helpers, t),
+ queryFn: () => LP(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -34468,21 +34468,21 @@ async function VP(e, t) {
return;
}
}
- let o = i ? zP(i, e.id) : e.id;
+ let o = i ? BP(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? U.getQueryData(EP(o)) : void 0;
+ let s, c = a && o === i?.seedId ? U.getQueryData(DP(o)) : void 0;
try {
s = c || await U.fetchQuery({
- queryKey: EP(o),
- queryFn: () => FP(o, t),
+ queryKey: DP(o),
+ queryFn: () => IP(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof PP) {
+ if (e instanceof FP) {
r.redirect({ kind: "gone" });
return;
}
@@ -34493,7 +34493,7 @@ async function VP(e, t) {
id: Number(s.follow_item_id)
});
}
-function jue(e) {
+function Aue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Vn(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -34515,35 +34515,35 @@ function jue(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function Mue(e, t) {
+function jue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Vn(t.tagLabel(e.k)), i = n.get(r);
(!i || Vn(e.k) === r && Vn(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var HP = (e, t) => (e.tags || []).some((e) => Vn(e.k) === Vn(t)), UP = (e, t) => ({
+var UP = (e, t) => (e.tags || []).some((e) => Vn(e.k) === Vn(t)), WP = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Vn(e.k) !== Vn(t))
-}), WP = (e, t) => HP(e, t.k) ? e : {
+}), GP = (e, t) => UP(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, GP = "peach.recentTags";
-function KP() {
+}, KP = "peach.recentTags";
+function qP() {
try {
- let e = JSON.parse(localStorage.getItem(GP) || "[]");
+ let e = JSON.parse(localStorage.getItem(KP) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function qP(e) {
+function JP(e) {
try {
- let t = KP().filter((t) => Vn(t) !== Vn(e));
- localStorage.setItem(GP, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = qP().filter((t) => Vn(t) !== Vn(e));
+ localStorage.setItem(KP, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Nue(e, t, n) {
+function Mue(e, t, n) {
let r = Vn(e), i = new Map(t.map((e) => [Vn(e.k), e])), a = t.filter((e) => !r || Vn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Vn(e)) || {
k: e,
n: 0
@@ -34554,72 +34554,72 @@ function Nue(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Pue = {
+var Nue = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Fue = {
+}, Pue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Iue(e) {
+function Fue(e) {
let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: Fue[e.kind],
+ title: Pue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var JP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Lue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(JP(e.part_label))}</small>` : "";
-function Rue(e, t, n, r) {
+var YP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Iue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(YP(e.part_label))}</small>` : "";
+function Lue(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var zue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Bue(e, t) {
+var Rue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function zue(e, t) {
return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Vue(e) {
+function Bue(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function YP(e, t) {
+function XP(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
// src/react/immerse/immerse.ts
-var Hue = (e, t, n) => [
+var Vue = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Uue(e) {
+function Hue(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var Wue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function Gue(e, t = Math.random) {
+var Uue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function Wue(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function Kue(e, t) {
- return Gue(((await V(`/api/items?${e}`)).items || []).filter((e) => Wue(e, t)));
+async function Gue(e, t) {
+ return Wue(((await V(`/api/items?${e}`)).items || []).filter((e) => Uue(e, t)));
}
-var XP = (e) => U.ensureQueryData({
- queryKey: EP(e),
- queryFn: ({ signal: t }) => FP(e, t)
+var ZP = (e) => U.ensureQueryData({
+ queryKey: DP(e),
+ queryFn: ({ signal: t }) => IP(e, t)
});
-function que(e, t) {
+function Kue(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Jue(e) {
+function que(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -34628,306 +34628,306 @@ function Jue(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function Yue(e, t, n) {
+function Jue(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function Xue(e, t) {
+function Yue(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var Zue = 15e3, ZP = {
+var Xue = 15e3, QP = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, QP = null, $P = null, eF = ZP, tF = /* @__PURE__ */ new Set(), nF = 0, rF = 0, iF = 0, aF = "", oF = [], sF = 0, cF = !1, lF = !1, uF = null, dF = /* @__PURE__ */ new Set(), fF = "", pF = null, mF = 0, hF = null, gF = !1;
-function _F() {
- if (!QP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return QP;
+}, $P = null, eF = null, tF = QP, nF = /* @__PURE__ */ new Set(), rF = 0, iF = 0, aF = 0, oF = "", sF = [], cF = 0, lF = !1, uF = !1, dF = null, fF = /* @__PURE__ */ new Set(), pF = "", mF = null, hF = 0, gF = null, _F = !1;
+function vF() {
+ if (!$P) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return $P;
}
-function Que(e) {
- return tF.add(e), () => {
- tF.delete(e);
+function Zue(e) {
+ return nF.add(e), () => {
+ nF.delete(e);
};
}
-function $ue() {
- for (let e of [...tF]) e();
-}
-function vF() {
- (0, It.flushSync)($ue);
+function Que() {
+ for (let e of [...nF]) e();
}
function yF() {
- let e = pF ? hN(pF.id) : 0;
- return e ? `${fF} · ${_N(e)}` : fF;
+ (0, It.flushSync)(Que);
}
-function bF(e, t = null) {
- clearInterval(mF), mF = 0, e === null ? (eF = {
- ...eF,
+function bF() {
+ let e = mF ? gN(mF.id) : 0;
+ return e ? `${pF} · ${vN(e)}` : pF;
+}
+function xF(e, t = null) {
+ clearInterval(hF), hF = 0, e === null ? (tF = {
+ ...tF,
loading: null
- }, vF()) : (fF = e, pF = t, eF = {
- ...eF,
- loading: yF()
- }, vF(), mF = window.setInterval(() => {
- pF = oF[sF] ?? null, eF = {
- ...eF,
- loading: yF()
- }, vF();
+ }, yF()) : (pF = e, mF = t, tF = {
+ ...tF,
+ loading: bF()
+ }, yF(), hF = window.setInterval(() => {
+ mF = sF[cF] ?? null, tF = {
+ ...tF,
+ loading: bF()
+ }, yF();
}, 500));
}
-function ede(e) {
+function $ue(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), $P.track.append(t);
- let r = JN(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), eF.track.append(t);
+ let r = YN(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => ZN(r),
+ release: () => QN(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return dF.add(a), a;
+ return fF.add(a), a;
}
-function tde(e, t) {
+function ede(e, t) {
return new Promise((n) => {
- e.release = mP(e.video, {
+ e.release = hP(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- eF.open && DF(1);
+ tF.open && OF(1);
}
}), e.gone.then(n);
});
}
-function xF(e) {
- e && !e.disposed && (e.disposed = !0, dF.delete(e), e.leave(), e.release(), e.el.remove(), uF === e && (uF = null));
+function SF(e) {
+ e && !e.disposed && (e.disposed = !0, fF.delete(e), e.leave(), e.release(), e.el.remove(), dF === e && (dF = null));
}
-var SF = [
+var CF = [
"loadeddata",
"canplay",
"error"
];
-function nde(e) {
+function tde(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), SF.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), CF.forEach((e) => t.removeEventListener(e, i)), n());
};
- SF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, Zue);
+ CF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, Xue);
e.gone.then(i);
});
}
-function CF(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Yue(e.videoWidth, e.videoHeight, n);
+function wF(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Jue(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var wF = () => $P?.track.querySelectorAll("video").forEach(CF);
-function rde(e) {
- delete e.dataset.fit, e.readyState >= 1 ? CF(e) : e.addEventListener("loadedmetadata", () => CF(e), { once: !0 });
+var TF = () => eF?.track.querySelectorAll("video").forEach(wF);
+function nde(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? wF(e) : e.addEventListener("loadedmetadata", () => wF(e), { once: !0 });
}
-function ide(e) {
- eF = {
- ...eF,
+function rde(e) {
+ tF = {
+ ...tF,
wide: e
- }, vF(), wF();
+ }, yF(), TF();
}
-var TF = () => {
- let e = aF;
+var EF = () => {
+ let e = oF;
return U.fetchQuery({
- queryKey: Hue(e, rF, iF),
- queryFn: () => Kue(e, _F().sourceOffline),
+ queryKey: Vue(e, iF, aF),
+ queryFn: () => Gue(e, vF().sourceOffline),
staleTime: Infinity
});
};
-function ade(e, t) {
+function ide(e, t) {
let n = () => Gn(e.duration) || Gn(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && $P && ($P.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), hF = {
+ t && eF && (eF.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), gF = {
video: e,
duration: n
};
}
-async function EF(e = 0) {
- let t = oF[sF];
- if (!t || cF) return;
- let n = nF;
- _F().route(t.id), cF = !0, bF(e ? "切换中" : "加载中", t);
+async function DF(e = 0) {
+ let t = sF[cF];
+ if (!t || lF) return;
+ let n = rF;
+ vF().route(t.id), lF = !0, xF(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await XP(t.id).catch((e) => {
- if (!(e instanceof PP)) throw e;
- }), n !== nF) return;
- let i = uF, a = !!(e && i);
- a || xF(i);
- let o = ede(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, rde(o.video), await tde(o, t), await nde(o), o.disposed || (ide(Xue(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await ZP(t.id).catch((e) => {
+ if (!(e instanceof FP)) throw e;
+ }), n !== rF) return;
+ let i = dF, a = !!(e && i);
+ a || SF(i);
+ let o = $ue(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, nde(o.video), await ede(o, t), await tde(o), o.disposed || (rde(Yue(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), xF(i), o.el.style.transform = ""), o.disposed)) return;
- uF = o, r = null, o.video.play()?.catch(() => {}), eF = {
- ...eF,
+ })), await new Promise((e) => setTimeout(e, 210)), SF(i), o.el.style.transform = ""), o.disposed)) return;
+ dF = o, r = null, o.video.play()?.catch(() => {}), tF = {
+ ...tF,
idle: !1,
shown: {
item: t,
- index: sF,
- length: oF.length
+ index: cF,
+ length: sF.length
}
- }, ade(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), bF(null);
+ }, ide(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), xF(null);
} catch {
- xF(r), n === nF && bF(null);
+ SF(r), n === rF && xF(null);
} finally {
- n === nF && (cF = !1);
+ n === rF && (lF = !1);
}
}
-async function DF(e) {
- if (cF || !eF.open) return;
- let t = nF;
- if (sF += e, bF("切换中", oF[sF] ?? null), sF >= oF.length - 3 && !lF) {
- lF = !0;
+async function OF(e) {
+ if (lF || !tF.open) return;
+ let t = rF;
+ if (cF += e, xF("切换中", sF[cF] ?? null), cF >= sF.length - 3 && !uF) {
+ uF = !0;
try {
- iF += 1;
- let e = await TF();
- t === nF && (oF = que(oF, e));
+ aF += 1;
+ let e = await EF();
+ t === rF && (sF = Kue(sF, e));
} catch {} finally {
- lF = !1;
+ uF = !1;
}
}
- t === nF && (sF >= oF.length && (sF = 0), sF < 0 && (sF = oF.length - 1), await EF(e));
+ t === rF && (cF >= sF.length && (cF = 0), cF < 0 && (cF = sF.length - 1), await DF(e));
}
-async function ode(e) {
- let t = ++nF;
- OF(), rF += 1, iF = 0, aF = Uue(_F().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), eF = {
- ...eF,
+async function ade(e) {
+ let t = ++rF;
+ kF(), iF += 1, aF = 0, oF = Hue(vF().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), tF = {
+ ...tF,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), bF("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), xF("加载内容");
try {
- let n = await TF();
+ let n = await EF();
if (e && !n.some((t) => t.id === e)) {
- let t = await XP(e).catch((e) => {
- if (e instanceof PP) return null;
+ let t = await ZP(e).catch((e) => {
+ if (e instanceof FP) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== nF) return;
- if (oF = n, !oF.length) {
- kF(), _F().warn("当前筛选下没有可直接播放的内容");
+ if (t !== rF) return;
+ if (sF = n, !sF.length) {
+ AF(), vF().warn("当前筛选下没有可直接播放的内容");
return;
}
- sF = Math.max(0, oF.findIndex((t) => t.id === e)), await EF();
+ cF = Math.max(0, sF.findIndex((t) => t.id === e)), await DF();
} catch {
- if (t !== nF) return;
- bF(null), kF();
+ if (t !== rF) return;
+ xF(null), AF();
}
}
-function OF() {
- clearInterval(mF), mF = 0, FF(), NF = null, hF = null, gF = !1, [...dF].forEach(xF), cF = !1;
-}
function kF() {
- eF.open && (nF++, OF(), eF = ZP, document.body.removeAttribute("data-immerse-open"), vF(), _F().closed());
+ clearInterval(hF), hF = 0, IF(), PF = null, gF = null, _F = !1, [...fF].forEach(SF), lF = !1;
+}
+function AF() {
+ tF.open && (rF++, kF(), tF = QP, document.body.removeAttribute("data-immerse-open"), yF(), vF().closed());
}
-var AF = 0, jF = null, MF = 0, NF = null, PF = 0;
-function FF() {
- clearTimeout(AF), AF = 0, jF = null;
+var jF = 0, MF = null, NF = 0, PF = null, FF = 0;
+function IF() {
+ clearTimeout(jF), jF = 0, MF = null;
}
-function sde(e) {
- let t = uF?.video;
+function ode(e) {
+ let t = dF?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- jF && jF.side === n && r - jF.at <= 280 ? (FF(), gP(t, _F().seekSeconds() * n)) : (AF && (clearTimeout(AF), AF = 0, hP(t)), jF = {
+ MF && MF.side === n && r - MF.at <= 280 ? (IF(), _P(t, vF().seekSeconds() * n)) : (jF && (clearTimeout(jF), jF = 0, gP(t)), MF = {
side: n,
at: r
- }, AF = window.setTimeout(() => {
- AF = 0, jF = null, eF.open && hP(uF?.video);
+ }, jF = window.setTimeout(() => {
+ jF = 0, MF = null, tF.open && gP(dF?.video);
}, 280));
}
-function cde() {
- Date.now() < MF || hP(uF?.video);
-}
-var IF = (e) => $P?.bar.toggleAttribute("data-scrubbing", e);
-function LF(e) {
- $P && ($P.progress.style.width = `${(e * 100).toFixed(2)}%`);
+function sde() {
+ Date.now() < NF || gP(dF?.video);
}
+var LF = (e) => eF?.bar.toggleAttribute("data-scrubbing", e);
function RF(e) {
+ eF && (eF.progress.style.width = `${(e * 100).toFixed(2)}%`);
+}
+function zF(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- NF = null;
+ PF = null;
return;
}
- let n = uF?.video;
- NF = {
+ let n = dF?.video;
+ PF = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function zF(e) {
- if (!NF || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - NF.x, n = e.touches[0].clientY - NF.y;
- if (!NF.axis) {
+function BF(e) {
+ if (!PF || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - PF.x, n = e.touches[0].clientY - PF.y;
+ if (!PF.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- NF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", NF.axis === "x" && IF(!0);
+ PF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", PF.axis === "x" && LF(!0);
}
- if (NF.axis !== "x") return;
- let r = uF?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), NF.to = Math.min(i, Math.max(0, NF.from + t / window.innerWidth * i)), LF(NF.to / i));
+ if (PF.axis !== "x") return;
+ let r = dF?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), PF.to = Math.min(i, Math.max(0, PF.from + t / window.innerWidth * i)), RF(PF.to / i));
}
-function BF(e) {
- if (!NF) return;
- let t = NF;
- if (NF = null, MF = Date.now() + 700, IF(!1), t.axis === "x") {
- let e = uF?.video;
+function VF(e) {
+ if (!PF) return;
+ let t = PF;
+ if (PF = null, NF = Date.now() + 700, LF(!1), t.axis === "x") {
+ let e = dF?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
- Math.abs(i) > 60 ? (FF(), DF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), sde(n.clientX));
+ Math.abs(i) > 60 ? (IF(), OF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ode(n.clientX));
}
-function VF() {
- NF = null, IF(!1);
+function HF() {
+ PF = null, LF(!1);
}
-function HF(e) {
+function UF(e) {
let t = Date.now();
- t - PF < 260 || (PF = t, DF(e.deltaY > 0 ? 1 : -1));
+ t - FF < 260 || (FF = t, OF(e.deltaY > 0 ? 1 : -1));
}
-function UF(e) {
- let t = $P.bar.getBoundingClientRect();
+function WF(e) {
+ let t = eF.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
+function cde(e) {
+ gF?.duration() && (_F = !0, LF(!0), e.currentTarget.setPointerCapture(e.pointerId), RF(WF(e)), e.preventDefault());
+}
function lde(e) {
- hF?.duration() && (gF = !0, IF(!0), e.currentTarget.setPointerCapture(e.pointerId), LF(UF(e)), e.preventDefault());
+ _F && RF(WF(e));
}
function ude(e) {
- gF && LF(UF(e));
+ if (!_F) return;
+ _F = !1, LF(!1);
+ let t = gF?.duration();
+ gF && t && (gF.video.currentTime = t * WF(e));
}
-function dde(e) {
- if (!gF) return;
- gF = !1, IF(!1);
- let t = hF?.duration();
- hF && t && (hF.video.currentTime = t * UF(e));
+function dde() {
+ _F = !1, LF(!1);
}
-function fde() {
- gF = !1, IF(!1);
-}
-async function WF(e, t) {
- let n = await H(kP, {
+async function GF(e, t) {
+ let n = await H(AP, {
id: e,
kind: t
- }), r = U.getQueryData(EP(e));
- if (!r) return xP(e, {
+ }), r = U.getQueryData(DP(e));
+ if (!r) return SP(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -34936,7 +34936,7 @@ async function WF(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return U.setQueryData(EP(e), i), xP(e, {
+ return U.setQueryData(DP(e), i), SP(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -34944,7 +34944,7 @@ async function WF(e, t) {
o_count: i.o_count
}), n;
}
-var pde = [
+var fde = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -34961,31 +34961,31 @@ var pde = [
label: "记一次高潮"
}
];
-function GF(e) {
+function KF(e) {
return Nt({
- queryKey: EP(e ?? 0),
- queryFn: ({ signal: t }) => FP(e, t),
+ queryKey: DP(e ?? 0),
+ queryFn: ({ signal: t }) => IP(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function mde({ kind: e, glyph: t, label: n, id: r }) {
- let i = GF(r), a = Pt({
+function pde({ kind: e, glyph: t, label: n, id: r }) {
+ let i = KF(r), a = Pt({
mutationFn: async (t) => {
- let n = U.getQueryData(EP(t))?.feedback || null;
+ let n = U.getQueryData(DP(t))?.feedback || null;
return {
- result: await WF(t, e),
+ result: await GF(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- _F().toast(YP(e, t), { undo: async () => {
- e === "o" ? await WF(r, "o-undo") : (t.feedback && await WF(r, t.feedback), n && await WF(r, n));
+ vF().toast(XP(e, t), { undo: async () => {
+ e === "o" ? await GF(r, "o-undo") : (t.feedback && await GF(r, t.feedback), n && await GF(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- DF(1);
+ OF(1);
}, 260);
},
- onError: (e) => _F().failure("更新反馈", e)
+ onError: (e) => vF().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-action": "",
@@ -35016,11 +35016,11 @@ function mde({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function hde({ shown: e }) {
- let t = e?.item ?? null, n = GF(t?.id ?? null), r = n ? Jue(n) : null, i = _F(), a = (e) => {
- e.preventDefault(), n && (kF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function mde({ shown: e }) {
+ let t = e?.item ?? null, n = KF(t?.id ?? null), r = n ? que(n) : null, i = vF(), a = (e) => {
+ e.preventDefault(), n && (AF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (kF(), i.openItem(t.id));
+ t && (AF(), i.openItem(t.id));
}, s = r ? ho(r.name, r.ref, Ya(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-ui": "",
@@ -35049,18 +35049,18 @@ function hde({ shown: e }) {
})]
});
}
-var gde = { __html: Rs("媒体加载中") };
-function _de({ view: e }) {
+var hde = { __html: Rs("媒体加载中") };
+function gde({ view: e }) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current;
- return $P = {
+ return eF = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", RF, { passive: !0 }), e.addEventListener("touchmove", zF, { passive: !1 }), e.addEventListener("touchend", BF, { passive: !1 }), e.addEventListener("touchcancel", VF, { passive: !0 }), e.addEventListener("wheel", HF, { passive: !0 }), () => {
- e.removeEventListener("touchstart", RF), e.removeEventListener("touchmove", zF), e.removeEventListener("touchend", BF), e.removeEventListener("touchcancel", VF), e.removeEventListener("wheel", HF), $P = null;
+ }, e.addEventListener("touchstart", zF, { passive: !0 }), e.addEventListener("touchmove", BF, { passive: !1 }), e.addEventListener("touchend", VF, { passive: !1 }), e.addEventListener("touchcancel", HF, { passive: !0 }), e.addEventListener("wheel", UF, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", zF), e.removeEventListener("touchmove", BF), e.removeEventListener("touchend", VF), e.removeEventListener("touchcancel", HF), e.removeEventListener("wheel", UF), eF = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -35077,10 +35077,10 @@ function _de({ view: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: cde
+ onClick: sde
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-immerse-actions": "",
- children: pde.map((e) => /* @__PURE__ */ (0, I.jsx)(mde, {
+ children: fde.map((e) => /* @__PURE__ */ (0, I.jsx)(pde, {
...e,
id: a
}, e.kind))
@@ -35093,7 +35093,7 @@ function _de({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: gde
+ dangerouslySetInnerHTML: hde
}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -35101,7 +35101,7 @@ function _de({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: kF,
+ onClick: AF,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-x" })
@@ -35110,41 +35110,41 @@ function _de({ view: e }) {
/* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: lde,
- onPointerMove: ude,
- onPointerUp: dde,
- onPointerCancel: fde,
+ onPointerDown: cde,
+ onPointerMove: lde,
+ onPointerUp: ude,
+ onPointerCancel: dde,
children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, I.jsx)(hde, { shown: e.shown })
+ /* @__PURE__ */ (0, I.jsx)(mde, { shown: e.shown })
]
});
}
-var vde = {
- open: ode,
- close: kF,
- isOpen: () => eF.open,
- activeVideo: () => eF.open ? uF?.video ?? null : null
+var _de = {
+ open: ade,
+ close: AF,
+ isOpen: () => tF.open,
+ activeVideo: () => tF.open ? dF?.video ?? null : null
};
-function yde(e) {
- if (!eF.open) return;
+function vde(e) {
+ if (!tF.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && DF(1), e.key === "ArrowUp" && DF(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && OF(1), e.key === "ArrowUp" && OF(-1));
}
-function bde(e) {
- let t = !QP;
- return QP = e, t && (document.addEventListener("keydown", yde), addEventListener("resize", () => {
- eF.open && wF();
+function yde(e) {
+ let t = !$P;
+ return $P = e, t && (document.addEventListener("keydown", vde), addEventListener("resize", () => {
+ tF.open && TF();
}), addEventListener("pagehide", () => {
- dF.forEach((e) => ZN(e.session));
- })), vde;
+ fF.forEach((e) => QN(e.session));
+ })), _de;
}
-function xde() {
- let e = (0, F.useSyncExternalStore)(Que, () => eF);
- return QP ? /* @__PURE__ */ (0, I.jsx)(_de, { view: e }) : null;
+function bde() {
+ let e = (0, F.useSyncExternalStore)(Zue, () => tF);
+ return $P ? /* @__PURE__ */ (0, I.jsx)(gde, { view: e }) : null;
}
// src/manage-header.ts
-var KF = {
+var qF = {
...qf,
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
@@ -35152,47 +35152,47 @@ var KF = {
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, Sde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function Cde(e) {
- let t = KF[e.path] ? "cleanup" : e.section;
+}, xde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function Sde(e) {
+ let t = qF[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var wde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function qF(e) {
+var Cde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function JF(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = KF[e.path] ?? "";
+ let n = qF[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: Cde(e),
+ pressed: Sde(e),
crumb: n,
- compact: Sde.has(e.path) || e.section === "configuration",
+ compact: xde.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: wde(e.trash),
+ text: Cde(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var JF = (e) => e.replace(/[&<>"']/g, (e) => ({
+var YF = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), YF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${JF(e)}"/></svg>`, XF = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function Tde(e) {
- let t = qF(e);
+})[e]), XF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${YF(e)}"/></svg>`, ZF = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function wde(e) {
+ let t = JF(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${JF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${YF(r)}<span>${JF(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${YF("chevron-right")}</li><li aria-current="true"><span>${JF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? XF : `<span data-lede-text="">${JF(t.lede.text)}</span>${t.lede.total ? Ede : ""}`}</p>`;
- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${JF(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${YF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${XF(r)}<span>${YF(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${XF("chevron-right")}</li><li aria-current="true"><span>${YF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ZF : `<span data-lede-text="">${YF(t.lede.text)}</span>${t.lede.total ? Tde : ""}`}</p>`;
+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${YF(t.title)}</h2>` + i;
}
-var Ede = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Tde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
// src/react/settings-panel/icon.tsx
-function ZF({ name: e }) {
+function QF({ name: e }) {
let { wide: t, viewBox: n } = xn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -35201,7 +35201,7 @@ function ZF({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function Dde({ name: e }) {
+function Ede({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -35209,88 +35209,88 @@ function Dde({ name: e }) {
});
}
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var Ode = (e, t) => {
+var Dde = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, kde = (e, t) => ({
+}, Ode = (e, t) => ({
classGroupId: e,
validator: t
-}), QF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), $F = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), $F = "-", eI = [], Ade = "arbitrary..", jde = (e) => {
- let t = Nde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), eI = "-", tI = [], kde = "arbitrary..", Ade = (e) => {
+ let t = Mde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Mde(e);
- let n = e.split($F);
- return tI(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return jde(e);
+ let n = e.split(eI);
+ return nI(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Ode(i, t) : t : i || eI;
+ return t ? i ? Dde(i, t) : t : i || tI;
}
- return n[e] || eI;
+ return n[e] || tI;
}
};
-}, tI = (e, t, n) => {
+}, nI = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = tI(e, t + 1, i);
+ let n = nI(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join($F) : e.slice(t).join($F), s = a.length;
+ let o = t === 0 ? e.join(eI) : e.slice(t).join(eI), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Mde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, jde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? Ade + r : void 0;
-})(), Nde = (e) => {
+ return r ? kde + r : void 0;
+})(), Mde = (e) => {
let { theme: t, classGroups: n } = e;
- return Pde(n, t);
-}, Pde = (e, t) => {
- let n = QF();
+ return Nde(n, t);
+}, Nde = (e, t) => {
+ let n = $F();
for (let r in e) {
let i = e[r];
- nI(i, n, r, t);
+ rI(i, n, r, t);
}
return n;
-}, nI = (e, t, n, r) => {
+}, rI = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Fde(i, t, n, r);
+ Pde(i, t, n, r);
}
-}, Fde = (e, t, n, r) => {
- typeof e == "string" ? Ide(e, t, n) : typeof e == "function" ? Lde(e, t, n, r) : Rde(e, t, n, r);
-}, Ide = (e, t, n) => {
- let r = e === "" ? t : rI(t, e);
+}, Pde = (e, t, n, r) => {
+ typeof e == "string" ? Fde(e, t, n) : typeof e == "function" ? Ide(e, t, n, r) : Lde(e, t, n, r);
+}, Fde = (e, t, n) => {
+ let r = e === "" ? t : iI(t, e);
r.classGroupId = n;
+}, Ide = (e, t, n, r) => {
+ Rde(e) ? rI(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ode(n, e)));
}, Lde = (e, t, n, r) => {
- zde(e) ? nI(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(kde(n, e)));
-}, Rde = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- nI(o, rI(t, a), n, r);
+ rI(o, iI(t, a), n, r);
}
-}, rI = (e, t) => {
- let n = e, r = t.split($F), i = r.length;
+}, iI = (e, t) => {
+ let n = e, r = t.split(eI), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = QF(), n.nextPart.set(t, i)), n = i;
+ i || (i = $F(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, zde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Bde = (e) => {
+}, Rde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, zde = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -35308,19 +35308,19 @@ var Ode = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, iI = "!", aI = ":", Vde = [], oI = (e, t, n, r, i) => ({
+}, aI = "!", oI = ":", Bde = [], sI = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Hde = (e) => {
+}), Vde = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === aI) {
+ if (o === oI) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -35332,13 +35332,13 @@ var Ode = (e, t) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(iI) ? (c = s.slice(0, -1), l = !0) : s.startsWith(iI) && (c = s.slice(1), l = !0);
+ s.endsWith(aI) ? (c = s.slice(0, -1), l = !0) : s.startsWith(aI) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return oI(t, l, c, u);
+ return sI(t, l, c, u);
};
if (t) {
- let e = t + aI, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : oI(Vde, !1, t, void 0, !0);
+ let e = t + oI, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : sI(Bde, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -35348,7 +35348,7 @@ var Ode = (e, t) => {
});
}
return r;
-}, Ude = (e) => {
+}, Hde = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -35360,18 +35360,18 @@ var Ode = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Wde = (e) => ({
- cache: Bde(e.cacheSize),
- parseClassName: Hde(e),
- sortModifiers: Ude(e),
- postfixLookupClassGroupIds: Gde(e),
- ...jde(e)
-}), Gde = (e) => {
+}, Ude = (e) => ({
+ cache: zde(e.cacheSize),
+ parseClassName: Vde(e),
+ sortModifiers: Hde(e),
+ postfixLookupClassGroupIds: Wde(e),
+ ...Ade(e)
+}), Wde = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, Kde = /\s+/, qde = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Kde), l = "";
+}, Gde = /\s+/, Kde = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Gde), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -35391,7 +35391,7 @@ var Ode = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + iI : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + aI : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -35402,34 +35402,34 @@ var Ode = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Jde = (...e) => {
+}, qde = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = sI(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = cI(n)) && (i && (i += " "), i += r);
return i;
-}, sI = (e) => {
+}, cI = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = sI(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = cI(e[r])) && (n && (n += " "), n += t);
return n;
-}, cI = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Wde(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, lI = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Ude(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = qde(e, n);
+ let a = Kde(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Jde(...e));
-}, Yde = [], lI = (e) => {
- let t = (t) => t[e] || Yde;
+ return a = o, (...e) => a(qde(...e));
+}, Jde = [], uI = (e) => {
+ let t = (t) => t[e] || Jde;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, uI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, dI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xde = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zde = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qde = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, $de = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, efe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fI = (e) => Xde.test(e), pI = (e) => !!e && !Number.isNaN(Number(e)), mI = (e) => !!e && Number.isInteger(Number(e)), hI = (e) => e.endsWith("%") && pI(e.slice(0, -1)), gI = (e) => Zde.test(e), _I = () => !0, vI = (e) => Qde.test(e) && !$de.test(e), yI = () => !1, bI = (e) => efe.test(e), xI = (e) => tfe.test(e), SI = (e) => !TI(e) && !AI(e), CI = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), wI = (e) => PI(e, RI, yI), TI = (e) => uI.test(e), EI = (e) => PI(e, zI, vI), DI = (e) => PI(e, lfe, pI), nfe = (e) => PI(e, VI, _I), rfe = (e) => PI(e, BI, yI), OI = (e) => PI(e, II, yI), ife = (e) => PI(e, LI, xI), kI = (e) => PI(e, HI, bI), AI = (e) => dI.test(e), jI = (e) => FI(e, zI), afe = (e) => FI(e, BI), MI = (e) => FI(e, II), ofe = (e) => FI(e, RI), sfe = (e) => FI(e, LI), NI = (e) => FI(e, HI, !0), cfe = (e) => FI(e, VI, !0), PI = (e, t, n) => {
- let r = uI.exec(e);
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, FI = (e, t, n = !1) => {
+}, dI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, fI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yde = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Xde = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zde = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Qde = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, $de = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, efe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, pI = (e) => Yde.test(e), mI = (e) => !!e && !Number.isNaN(Number(e)), hI = (e) => !!e && Number.isInteger(Number(e)), gI = (e) => e.endsWith("%") && mI(e.slice(0, -1)), _I = (e) => Xde.test(e), vI = () => !0, yI = (e) => Zde.test(e) && !Qde.test(e), bI = () => !1, xI = (e) => $de.test(e), SI = (e) => efe.test(e), CI = (e) => !EI(e) && !jI(e), wI = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), TI = (e) => FI(e, zI, bI), EI = (e) => dI.test(e), DI = (e) => FI(e, BI, yI), OI = (e) => FI(e, cfe, mI), tfe = (e) => FI(e, HI, vI), nfe = (e) => FI(e, VI, bI), kI = (e) => FI(e, LI, bI), rfe = (e) => FI(e, RI, SI), AI = (e) => FI(e, UI, xI), jI = (e) => fI.test(e), MI = (e) => II(e, BI), ife = (e) => II(e, VI), NI = (e) => II(e, LI), afe = (e) => II(e, zI), ofe = (e) => II(e, RI), PI = (e) => II(e, UI, !0), sfe = (e) => II(e, HI, !0), FI = (e, t, n) => {
let r = dI.exec(e);
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
+}, II = (e, t, n = !1) => {
+ let r = fI.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, II = (e) => e === "position" || e === "percentage", LI = (e) => e === "image" || e === "url", RI = (e) => e === "length" || e === "size" || e === "bg-size", zI = (e) => e === "length", lfe = (e) => e === "number", BI = (e) => e === "family-name", VI = (e) => e === "number" || e === "weight", HI = (e) => e === "shadow", UI = () => {
- let e = lI("color"), t = lI("font"), n = lI("text"), r = lI("font-weight"), i = lI("tracking"), a = lI("leading"), o = lI("breakpoint"), s = lI("container"), c = lI("spacing"), l = lI("radius"), u = lI("shadow"), d = lI("inset-shadow"), f = lI("text-shadow"), p = lI("drop-shadow"), m = lI("blur"), h = lI("perspective"), g = lI("aspect"), _ = lI("ease"), v = lI("animate"), y = () => [
+}, LI = (e) => e === "position" || e === "percentage", RI = (e) => e === "image" || e === "url", zI = (e) => e === "length" || e === "size" || e === "bg-size", BI = (e) => e === "length", cfe = (e) => e === "number", VI = (e) => e === "family-name", HI = (e) => e === "number" || e === "weight", UI = (e) => e === "shadow", WI = () => {
+ let e = uI("color"), t = uI("font"), n = uI("text"), r = uI("font-weight"), i = uI("tracking"), a = uI("leading"), o = uI("breakpoint"), s = uI("container"), c = uI("spacing"), l = uI("radius"), u = uI("shadow"), d = uI("inset-shadow"), f = uI("text-shadow"), p = uI("drop-shadow"), m = uI("blur"), h = uI("perspective"), g = uI("aspect"), _ = uI("ease"), v = uI("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -35454,8 +35454,8 @@ var Ode = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- AI,
- TI
+ jI,
+ EI
], S = () => [
"auto",
"hidden",
@@ -35467,43 +35467,43 @@ var Ode = (e, t) => {
"contain",
"none"
], w = () => [
- AI,
- TI,
+ jI,
+ EI,
c
], T = () => [
- fI,
+ pI,
"full",
"auto",
...w()
], E = () => [
- mI,
+ hI,
"none",
"subgrid",
- AI,
- TI
+ jI,
+ EI
], D = () => [
"auto",
{ span: [
"full",
- mI,
- AI,
- TI
+ hI,
+ jI,
+ EI
] },
- mI,
- AI,
- TI
+ hI,
+ jI,
+ EI
], O = () => [
- mI,
+ hI,
"auto",
- AI,
- TI
+ jI,
+ EI
], k = () => [
"auto",
"min",
"max",
"fr",
- AI,
- TI
+ jI,
+ EI
], A = () => [
"start",
"end",
@@ -35523,7 +35523,7 @@ var Ode = (e, t) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], ee = () => [
- fI,
+ pI,
"auto",
"full",
"dvw",
@@ -35538,7 +35538,7 @@ var Ode = (e, t) => {
...w()
], N = () => [
s,
- fI,
+ pI,
"screen",
"full",
"dvw",
@@ -35549,7 +35549,7 @@ var Ode = (e, t) => {
"fit",
...w()
], te = () => [
- fI,
+ pI,
"screen",
"full",
"lh",
@@ -35562,13 +35562,13 @@ var Ode = (e, t) => {
...w()
], P = () => [
e,
- AI,
- TI
+ jI,
+ EI
], ne = () => [
...b(),
- MI,
- OI,
- { position: [AI, TI] }
+ NI,
+ kI,
+ { position: [jI, EI] }
], re = () => ["no-repeat", { repeat: [
"",
"x",
@@ -35579,25 +35579,25 @@ var Ode = (e, t) => {
"auto",
"cover",
"contain",
- ofe,
- wI,
- { size: [AI, TI] }
+ afe,
+ TI,
+ { size: [jI, EI] }
], I = () => [
- hI,
- jI,
- EI
+ gI,
+ MI,
+ DI
], ie = () => [
"",
"none",
"full",
l,
- AI,
- TI
- ], ae = () => [
- "",
- pI,
jI,
EI
+ ], ae = () => [
+ "",
+ mI,
+ MI,
+ DI
], oe = () => [
"solid",
"dashed",
@@ -35621,32 +35621,32 @@ var Ode = (e, t) => {
"color",
"luminosity"
], ce = () => [
- pI,
- hI,
- MI,
- OI
+ mI,
+ gI,
+ NI,
+ kI
], le = () => [
"",
"none",
m,
- AI,
- TI
+ jI,
+ EI
], ue = () => [
"none",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
], de = () => [
"none",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
], fe = () => [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
], pe = () => [
- fI,
+ pI,
"full",
...w()
];
@@ -35660,17 +35660,17 @@ var Ode = (e, t) => {
"bounce"
],
aspect: ["video"],
- blur: [gI],
- breakpoint: [gI],
- color: [_I],
- container: [gI],
- "drop-shadow": [gI],
+ blur: [_I],
+ breakpoint: [_I],
+ color: [vI],
+ container: [_I],
+ "drop-shadow": [_I],
ease: [
"in",
"out",
"in-out"
],
- font: [SI],
+ font: [CI],
"font-weight": [
"thin",
"extralight",
@@ -35682,7 +35682,7 @@ var Ode = (e, t) => {
"extrabold",
"black"
],
- "inset-shadow": [gI],
+ "inset-shadow": [_I],
leading: [
"none",
"tight",
@@ -35699,11 +35699,11 @@ var Ode = (e, t) => {
"distant",
"none"
],
- radius: [gI],
- shadow: [gI],
- spacing: ["px", pI],
- text: [gI],
- "text-shadow": [gI],
+ radius: [_I],
+ shadow: [_I],
+ spacing: ["px", mI],
+ text: [_I],
+ "text-shadow": [_I],
tracking: [
"tighter",
"tight",
@@ -35717,9 +35717,9 @@ var Ode = (e, t) => {
aspect: [{ aspect: [
"auto",
"square",
- fI,
- TI,
- AI,
+ pI,
+ EI,
+ jI,
g
] }],
container: ["container"],
@@ -35727,15 +35727,15 @@ var Ode = (e, t) => {
"",
"normal",
"size",
- AI,
- TI
+ jI,
+ EI
] }],
- "container-named": [CI],
+ "container-named": [wI],
columns: [{ columns: [
- pI,
+ mI,
"auto",
- TI,
- AI,
+ EI,
+ jI,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -35832,13 +35832,13 @@ var Ode = (e, t) => {
"collapse"
],
z: [{ z: [
- mI,
+ hI,
"auto",
- AI,
- TI
+ jI,
+ EI
] }],
basis: [{ basis: [
- fI,
+ pI,
"full",
"auto",
s,
@@ -35856,32 +35856,32 @@ var Ode = (e, t) => {
"wrap-reverse"
] }],
flex: [{ flex: [
+ mI,
pI,
- fI,
"auto",
"initial",
"none",
- TI
+ EI
] }],
grow: [{ grow: [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
shrink: [{ shrink: [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
order: [{ order: [
- mI,
+ hI,
"first",
"last",
"none",
- AI,
- TI
+ jI,
+ EI
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -35988,15 +35988,15 @@ var Ode = (e, t) => {
"font-size": [{ text: [
"base",
n,
- jI,
- EI
+ MI,
+ DI
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- cfe,
- nfe
+ sfe,
+ tfe
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -36008,15 +36008,15 @@ var Ode = (e, t) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- hI,
- TI
+ gI,
+ EI
] }],
"font-family": [{ font: [
- afe,
- rfe,
+ ife,
+ nfe,
t
] }],
- "font-features": [{ "font-features": [TI] }],
+ "font-features": [{ "font-features": [EI] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -36025,14 +36025,14 @@ var Ode = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- AI,
- TI
+ jI,
+ EI
] }],
"line-clamp": [{ "line-clamp": [
- pI,
+ mI,
"none",
- AI,
- DI
+ jI,
+ OI
] }],
leading: [{ leading: [
"none",
@@ -36041,16 +36041,16 @@ var Ode = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- AI,
- TI
+ jI,
+ EI
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- AI,
- TI
+ jI,
+ EI
] }],
"text-alignment": [{ text: [
"left",
@@ -36070,18 +36070,18 @@ var Ode = (e, t) => {
],
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- pI,
+ mI,
"from-font",
"auto",
- AI,
- EI
+ jI,
+ DI
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- pI,
+ mI,
"auto",
- AI,
- TI
+ jI,
+ EI
] }],
"text-transform": [
"uppercase",
@@ -36102,9 +36102,9 @@ var Ode = (e, t) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- mI,
- AI,
- TI
+ hI,
+ jI,
+ EI
] }],
"vertical-align": [{ align: [
"baseline",
@@ -36115,8 +36115,8 @@ var Ode = (e, t) => {
"text-bottom",
"sub",
"super",
- AI,
- TI
+ jI,
+ EI
] }],
whitespace: [{ whitespace: [
"normal",
@@ -36144,8 +36144,8 @@ var Ode = (e, t) => {
] }],
content: [{ content: [
"none",
- AI,
- TI
+ jI,
+ EI
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -36180,24 +36180,24 @@ var Ode = (e, t) => {
"l",
"tl"
] },
- mI,
- AI,
- TI
+ hI,
+ jI,
+ EI
],
radial: [
"",
- AI,
- TI
+ jI,
+ EI
],
conic: [
"",
- mI,
- AI,
- TI
+ hI,
+ jI,
+ EI
]
},
- sfe,
- ife
+ ofe,
+ rfe
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: I() }],
@@ -36264,15 +36264,15 @@ var Ode = (e, t) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"outline-w": [{ outline: [
"",
- pI,
- jI,
- EI
+ mI,
+ MI,
+ DI
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -36280,35 +36280,35 @@ var Ode = (e, t) => {
"inner",
"none",
u,
- NI,
- kI
+ PI,
+ AI
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- NI,
- kI
+ PI,
+ AI
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [pI, EI] }],
+ "ring-offset-w": [{ "ring-offset": [mI, DI] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- NI,
- kI
+ PI,
+ AI
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -36330,7 +36330,7 @@ var Ode = (e, t) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [pI] }],
+ "mask-image-linear-pos": [{ "mask-linear": [mI] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
@@ -36359,7 +36359,7 @@ var Ode = (e, t) => {
"mask-image-y-to-pos": [{ "mask-y-to": ce() }],
"mask-image-y-from-color": [{ "mask-y-from": P() }],
"mask-image-y-to-color": [{ "mask-y-to": P() }],
- "mask-image-radial": [{ "mask-radial": [AI, TI] }],
+ "mask-image-radial": [{ "mask-radial": [jI, EI] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],
"mask-image-radial-from-color": [{ "mask-radial-from": P() }],
@@ -36370,7 +36370,7 @@ var Ode = (e, t) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [pI] }],
+ "mask-image-conic-pos": [{ "mask-conic": [mI] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
@@ -36394,111 +36394,111 @@ var Ode = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- AI,
- TI
+ jI,
+ EI
] }],
filter: [{ filter: [
"",
"none",
- AI,
- TI
+ jI,
+ EI
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
contrast: [{ contrast: [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- NI,
- kI
+ PI,
+ AI
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"hue-rotate": [{ "hue-rotate": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
invert: [{ invert: [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
saturate: [{ saturate: [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
sepia: [{ sepia: [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- AI,
- TI
+ jI,
+ EI
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -36514,39 +36514,39 @@ var Ode = (e, t) => {
"shadow",
"transform",
"none",
- AI,
- TI
+ jI,
+ EI
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- pI,
+ mI,
"initial",
- AI,
- TI
+ jI,
+ EI
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- AI,
- TI
+ jI,
+ EI
] }],
delay: [{ delay: [
- pI,
- AI,
- TI
+ mI,
+ jI,
+ EI
] }],
animate: [{ animate: [
"none",
v,
- AI,
- TI
+ jI,
+ EI
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- AI,
- TI
+ jI,
+ EI
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -36562,8 +36562,8 @@ var Ode = (e, t) => {
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- AI,
- TI,
+ jI,
+ EI,
"",
"none",
"gpu",
@@ -36577,9 +36577,9 @@ var Ode = (e, t) => {
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- mI,
- AI,
- TI
+ hI,
+ jI,
+ EI
] }],
accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -36629,8 +36629,8 @@ var Ode = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- AI,
- TI
+ jI,
+ EI
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -36716,15 +36716,15 @@ var Ode = (e, t) => {
"scroll",
"contents",
"transform",
- AI,
- TI
+ jI,
+ EI
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- pI,
- jI,
- EI,
- DI
+ mI,
+ MI,
+ DI,
+ OI
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -36982,16 +36982,16 @@ var Ode = (e, t) => {
"selection"
]
};
-}, ufe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (WI(e, "cacheSize", t), WI(e, "prefix", n), WI(e, "experimentalParseClassName", r), GI(e.theme, a.theme), GI(e.classGroups, a.classGroups), GI(e.conflictingClassGroups, a.conflictingClassGroups), GI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), WI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), WI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), KI(e.theme, i.theme), KI(e.classGroups, i.classGroups), KI(e.conflictingClassGroups, i.conflictingClassGroups), KI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), qI(e, i, "postfixLookupClassGroups"), qI(e, i, "orderSensitiveModifiers"), e), WI = (e, t, n) => {
+}, lfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (GI(e, "cacheSize", t), GI(e, "prefix", n), GI(e, "experimentalParseClassName", r), KI(e.theme, a.theme), KI(e.classGroups, a.classGroups), KI(e.conflictingClassGroups, a.conflictingClassGroups), KI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), GI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), GI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), qI(e.theme, i.theme), qI(e.classGroups, i.classGroups), qI(e.conflictingClassGroups, i.conflictingClassGroups), qI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), JI(e, i, "postfixLookupClassGroups"), JI(e, i, "orderSensitiveModifiers"), e), GI = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, GI = (e, t) => {
- if (t) for (let n in t) WI(e, n, t[n]);
}, KI = (e, t) => {
- if (t) for (let n in t) qI(e, t, n);
-}, qI = (e, t, n) => {
+ if (t) for (let n in t) GI(e, n, t[n]);
+}, qI = (e, t) => {
+ if (t) for (let n in t) JI(e, t, n);
+}, JI = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, dfe = (e, ...t) => typeof e == "function" ? cI(UI, e, ...t) : cI(() => ufe(UI(), e), ...t), ffe = [
+}, ufe = (e, ...t) => typeof e == "function" ? lI(WI, e, ...t) : lI(() => lfe(WI(), e), ...t), dfe = [
"large-title",
"display-1",
"display-2",
@@ -37005,17 +37005,17 @@ var Ode = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], pfe = [
+], ffe = [
"regular",
"medium",
"semibold",
"bold"
-], JI = dfe({ extend: { classGroups: { "font-size": [{ text: ffe.flatMap((e) => pfe.map((t) => `${e}-${t}`)) }] } } });
-function YI(e) {
+], YI = ufe({ extend: { classGroups: { "font-size": [{ text: dfe.flatMap((e) => ffe.map((t) => `${e}-${t}`)) }] } } });
+function XI(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, XI = YI({
+var pfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, ZI = XI({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -37037,9 +37037,9 @@ var mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, XI = YI({
gray: "text-text-primary"
}
});
-function ZI({ children: e, className: t, ref: n, container: r, ...i }) {
+function QI({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);
- mfe(() => {
+ pfe(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -37075,7 +37075,7 @@ function ZI({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: JI("pointer-events-none absolute left-0 top-0", XI.radius[o.variant], XI.thumb[o.variant]),
+ className: YI("pointer-events-none absolute left-0 top-0", ZI.radius[o.variant], ZI.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -37086,43 +37086,43 @@ function ZI({ children: e, className: t, ref: n, container: r, ...i }) {
return r === void 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
ref: c,
role: "group",
- className: JI("relative inline-flex items-center gap-1", t),
+ className: YI("relative inline-flex items-center gap-1", t),
...i,
children: [l, e]
}) : r ? (0, It.createPortal)(l, r) : null;
}
// src/react/manage-header/manage-header-island.tsx
-var QI = null, $I = null, eL = /* @__PURE__ */ new Set();
-function hfe(e) {
- return eL.add(e), () => {
- eL.delete(e);
+var $I = null, eL = null, tL = /* @__PURE__ */ new Set();
+function mfe(e) {
+ return tL.add(e), () => {
+ tL.delete(e);
};
}
-function gfe() {
- for (let e of [...eL]) e();
+function hfe() {
+ for (let e of [...tL]) e();
}
-var _fe = { render(e) {
- $I = e, (0, It.flushSync)(gfe);
+var gfe = { render(e) {
+ eL = e, (0, It.flushSync)(hfe);
} };
-function vfe(e) {
- return QI = e, $I = null, _fe;
+function _fe(e) {
+ return $I = e, eL = null, gfe;
}
-function yfe() {
- let e = (0, F.useSyncExternalStore)(hfe, () => $I);
- return QI && e ? /* @__PURE__ */ (0, I.jsx)(bfe, {
- host: QI,
+function vfe() {
+ let e = (0, F.useSyncExternalStore)(mfe, () => eL);
+ return $I && e ? /* @__PURE__ */ (0, I.jsx)(yfe, {
+ host: $I,
props: e
}) : null;
}
-function bfe({ host: e, props: t }) {
- let n = qF(t);
+function yfe({ host: e, props: t }) {
+ let n = JF(t);
return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(xfe, {
+ /* @__PURE__ */ (0, I.jsx)(bfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, I.jsx)(Sfe, {
+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(xfe, {
host: e,
label: n.crumb
}) : null,
@@ -37131,13 +37131,13 @@ function bfe({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Cfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Sfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function xfe({ host: e, pressed: t, menu: n }) {
+function bfe({ host: e, pressed: t, menu: n }) {
let r = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -37147,7 +37147,7 @@ function xfe({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, I.jsx)(ZI, {
+ children: /* @__PURE__ */ (0, I.jsx)(QI, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -37161,13 +37161,13 @@ function xfe({ host: e, pressed: t, menu: n }) {
"data-pill-selected": a ? "" : void 0,
"data-pill-variant": "gray",
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, I.jsx)(ZF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function Sfe({ host: e, label: t }) {
+function xfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -37177,20 +37177,20 @@ function Sfe({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {
+ }), /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, I.jsx)("span", { children: t })
})] })
});
}
-function Cfe({ host: e, lede: t }) {
+function Sfe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: XF }
- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: ZF }
+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Cfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -37200,7 +37200,7 @@ function Cfe({ host: e, lede: t }) {
}) : null] })
});
}
-function wfe({ text: e }) {
+function Cfe({ text: e }) {
let t = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
Ks(t.current, e);
@@ -37210,29 +37210,29 @@ function wfe({ text: e }) {
});
}
// src/core/text-lang.ts
-var Tfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Efe = /[㐀-鿿豈-﫿]/, Dfe = /[A-Za-z]/;
-function tL(e) {
+var wfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Tfe = /[㐀-鿿豈-﫿]/, Efe = /[A-Za-z]/;
+function nL(e) {
let t = String(e ?? "");
- if (Tfe.test(t)) return "ja";
- if (!Efe.test(t) && Dfe.test(t)) return "en";
+ if (wfe.test(t)) return "ja";
+ if (!Tfe.test(t) && Efe.test(t)) return "en";
}
-var Ofe = (e) => {
- let t = tL(e);
+var Dfe = (e) => {
+ let t = nL(e);
return t ? ` lang="${t}"` : "";
-}, kfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Afe = (e, t = e?.name) => {
+}, Ofe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, kfe = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(kfe, "") : n;
-}, jfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Mfe = (e) => {
+ return e?.is_jav ? n.replace(Ofe, "") : n;
+}, Afe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), jfe = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(jfe) || t[0] || "";
+ return t.find(Afe) || t[0] || "";
};
-function nL(e, t = e?.name) {
- let n = Afe(e, t), r = String(e?.code || "").trim().toUpperCase();
+function rL(e, t = e?.name) {
+ let n = kfe(e, t), r = String(e?.code || "").trim().toUpperCase();
if (!e?.is_jav || !r) return {
code: "",
title: n
};
- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Mfe(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = jfe(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
"中字",
"无码",
"无码破解"
@@ -37243,23 +37243,23 @@ function nL(e, t = e?.name) {
badges: f
};
}
-var rL = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = nL(e, t);
+var iL = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = rL(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function iL(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = nL(e, t);
+function aL(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = rL(e, t);
if (!n) return B(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");
- return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Ofe(r)}>${B(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Dfe(r)}>${B(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var aL = "/api/tasks", oL = ["tasks"];
-function Nfe(e, t) {
+var oL = "/api/tasks", sL = ["tasks"];
+function Mfe(e, t) {
let n = 0, r = 0, i = 0, a = 0;
for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);
return {
@@ -37270,7 +37270,7 @@ function Nfe(e, t) {
settled: n - r
};
}
-function Pfe(e) {
+function Nfe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
let e = t.get(n.task_key);
@@ -37281,11 +37281,11 @@ function Pfe(e) {
}
return [...t.values()];
}
-var Ffe = (e, t) => V(`${aL}?${new URLSearchParams({
+var Pfe = (e, t) => V(`${oL}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ife(...e) {
+function Ffe(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -37293,26 +37293,26 @@ function Ife(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Lfe = 2e3, Rfe = 1e4, sL = (e) => e?.running?.length ? Lfe : Rfe, cL = (e) => V(aL, e), zfe = (e, t, n) => H(`${aL}/${e}/control`, { action: t }, "POST", n);
-async function Bfe(e) {
+var Ife = 2e3, Lfe = 1e4, cL = (e) => e?.running?.length ? Ife : Lfe, lL = (e) => V(oL, e), Rfe = (e, t, n) => H(`${oL}/${e}/control`, { action: t }, "POST", n);
+async function zfe(e) {
await U.fetchQuery({
- queryKey: oL,
- queryFn: () => cL(e)
+ queryKey: sL,
+ queryFn: () => lL(e)
});
}
-var Vfe = {
+var Bfe = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Hfe = {
+}, Vfe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Ufe = (e) => Hfe[e] || e, lL = {
+}, Hfe = (e) => Vfe[e] || e, uL = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37389,7 +37389,7 @@ var Vfe = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Wfe = [
+}, Ufe = [
"gone_count",
"unclear_count",
"source_failed",
@@ -37411,14 +37411,14 @@ var Vfe = {
"paused_count",
"miss",
"incomplete"
-], Gfe = ["face_match_unavailable"], uL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Gfe.some((t) => e.result_summary?.[t] === !0) || Wfe.some((t) => Number(e.result_summary?.[t]) > 0);
-function Kfe(e) {
+], Wfe = ["face_match_unavailable"], dL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Wfe.some((t) => e.result_summary?.[t] === !0) || Ufe.some((t) => Number(e.result_summary?.[t]) > 0);
+function Gfe(e) {
let t = e.result_summary?.issues;
return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];
}
-var dL = /* @__PURE__ */ new Set(["library-processing"]);
-function qfe(e, t = !0) {
- if (!uL(e) && e.status !== "failed" || dL.has(e.task_key) && !t) return null;
+var fL = /* @__PURE__ */ new Set(["library-processing"]);
+function Kfe(e, t = !0) {
+ if (!dL(e) && e.status !== "failed" || fL.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -37436,9 +37436,16 @@ function qfe(e, t = !0) {
label: n[1]
} : null;
}
+function qfe(e) {
+ let t = e.result_summary?.asset_id, n = e.result_summary?.name;
+ return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {
+ href: `/assets/${t}`,
+ label: n
+ } : null;
+}
function Jfe(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) dL.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
+ for (let n of e) fL.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
return new Set(t.values());
}
function Yfe(e) {
@@ -37472,12 +37479,12 @@ function Xfe(e, t) {
}
return n;
}
-var Zfe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !uL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), fL = (e) => e.status === "pending" || e.status === "running";
+var Zfe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !dL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), pL = (e) => e.status === "pending" || e.status === "running";
function Qfe(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};
- return [r, hL(e.error) || ape(o) || (fL(e) && i > 0 ? `${mL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, gL(e.error) || ape(o) || (pL(e) && i > 0 ? `${hL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function pL(e) {
+function mL(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -37486,7 +37493,7 @@ function pL(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function mL(e, t) {
+function hL(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
@@ -37494,7 +37501,7 @@ function $fe(e) {
let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";
}
-function hL(e) {
+function gL(e) {
let t = $fe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? yn(n[1]) : t;
}
@@ -37516,7 +37523,7 @@ var epe = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, gL = {
+}, _L = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
@@ -37531,8 +37538,8 @@ var epe = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, npe = (e) => epe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${gL[t.toLowerCase()]} 资料页` : `已保存来自 ${gL[t.toLowerCase()]} 的资料`);
-function _L(e) {
+}, npe = (e) => epe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${_L[t.toLowerCase()]} 资料页` : `已保存来自 ${_L[t.toLowerCase()]} 的资料`);
+function vL(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -37551,20 +37558,20 @@ var rpe = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function vL(e) {
+function yL(e) {
let t = ipe(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
function ipe(e) {
- return Object.entries(e || {}).filter(([e, t]) => !rpe.has(e) && (e in lL || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? hL(String(t)) : e === "outcome" || e === "result" ? npe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${lL[e]} ${Jn(Number(t))}` : e === "operation" ? `操作:${tpe[String(t)] || "批量操作"}` : `${lL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+ return Object.entries(e || {}).filter(([e, t]) => !rpe.has(e) && (e in uL || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? gL(String(t)) : e === "outcome" || e === "result" ? npe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${uL[e]} ${Jn(Number(t))}` : e === "operation" ? `操作:${tpe[String(t)] || "批量操作"}` : `${uL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var ape = (e) => vL(e).join(" · ");
+var ape = (e) => yL(e).join(" · ");
// src/react/use-entity-names.ts
-function yL() {
+function bL() {
return (0, F.useSyncExternalStore)(qt, Kt, Kt);
}
// src/react/components/async-text.tsx
-function bL({ text: e, busy: t, placeholder: n }) {
+function xL({ text: e, busy: t, placeholder: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;
return (0, F.useLayoutEffect)(() => {
e === void 0 ? a === void 0 && lc(r.current) : i.current = e;
@@ -37585,7 +37592,7 @@ function bL({ text: e, busy: t, placeholder: n }) {
});
}
// src/react/boardui/components/base/buttons/icon-button.tsx
-var xL = YI({
+var SL = XI({
base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",
size: {
medium: "size-9",
@@ -37596,20 +37603,20 @@ var xL = YI({
small: "size-4 shrink-0"
}
});
-function SL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function CL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
ref: i,
type: r,
- className: JI(xL.base, xL.size[t], n),
+ className: YI(SL.base, SL.size[t], n),
...a,
children: /* @__PURE__ */ (0, I.jsx)(e, {
- className: xL.icon[t],
+ className: SL.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function CL() {
+function wL() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -37623,7 +37630,7 @@ function CL() {
});
}
// src/react/components/use-stuck.ts
-function wL(e) {
+function TL(e) {
(0, F.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -37640,7 +37647,7 @@ function wL(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function TL(e, t = !0) {
+function EL(e, t = !0) {
let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -37659,8 +37666,8 @@ var ope = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
dangerouslySetInnerHTML: { __html: Rs("正在处理") }
});
-function EL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(SL, {
+function DL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(CL, {
...a,
"data-filter-action": "",
size: "small",
@@ -37676,7 +37683,7 @@ function EL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
function spe({ title: e, children: t }) {
let n = (0, F.useRef)(null);
- return wL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
+ return TL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -37689,20 +37696,20 @@ function spe({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, I.jsx)(CL, {})
+ /* @__PURE__ */ (0, I.jsx)(wL, {})
]
});
}
-function DL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
- let d = (0, F.useRef)(null), f = TL(), p = TL(u);
- return wL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
+function OL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+ let d = (0, F.useRef)(null), f = EL(), p = EL(u);
+ return TL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: JI("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: YI("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -37710,33 +37717,33 @@ function DL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: JI("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: YI("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, I.jsx)("div", {
ref: p,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: JI("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: YI("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, I.jsx)(CL, {})
+ /* @__PURE__ */ (0, I.jsx)(wL, {})
]
});
}
var cpe = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function OL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+function kL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: JI(cpe, r),
+ className: YI(cpe, r),
onClick: n,
children: e
});
}
var lpe = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function kL({ children: e, onPress: t, busy: n = !1 }) {
+function AL({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glass-pill": "",
@@ -37750,13 +37757,13 @@ function kL({ children: e, onPress: t, busy: n = !1 }) {
});
}
// src/react/components/use-view-glide.ts
-var AL = (e, t) => [
+var jL = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function jL(e, t, n) {
+function ML(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -37780,17 +37787,17 @@ function jL(e, t, n) {
h: e.offsetHeight
};
}
-function ML(e, t, n, r, { axis: i = "x" } = {}) {
+function NL(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, F.useRef)(null), o = (0, F.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? jL(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? ML(u, l, i) : null;
if (!d || !d.w || !d.h) {
Hc(s), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && AL(f, d)) && Bc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && jL(f, d)) && Bc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -37811,8 +37818,8 @@ function ML(e, t, n, r, { axis: i = "x" } = {}) {
passive: !0
}), addEventListener("resize", c, { passive: !0 });
let l = new ResizeObserver(() => {
- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? jL(o, r, i) : null, l = a.current;
- s && l && AL(s, l) || c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? ML(o, r, i) : null, l = a.current;
+ s && l && jL(s, l) || c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37843,7 +37850,7 @@ function ML(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var NL = YI({
+var PL = XI({
base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",
size: {
medium: "h-9 rounded-2lg p-2 text-body-medium",
@@ -37876,52 +37883,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, I.jsxs)("button", {
ref: c,
type: s,
- className: JI(NL.base, NL.size[t], NL.variant[e], n && NL.iconOnlySize[t], o),
+ className: YI(PL.base, PL.size[t], PL.variant[e], n && PL.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: NL.icon[t],
+ className: PL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: NL.label[t],
+ className: PL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: NL.icon[t],
+ className: PL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function PL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function FL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, I.jsxs)("a", {
ref: s,
- className: JI(NL.base, NL.size[t], NL.variant[e], n && NL.iconOnlySize[t], o),
+ className: YI(PL.base, PL.size[t], PL.variant[e], n && PL.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: NL.icon[t],
+ className: PL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: NL.label[t],
+ className: PL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: NL.icon[t],
+ className: PL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
// node_modules/react-aria-components/dist/private/utils.mjs
-var FL = Symbol("default");
-function IL({ values: e, children: t }) {
+var IL = Symbol("default");
+function LL({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);
return t;
}
-function LL(e) {
+function RL(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, F.useMemo)(() => {
let e, l, u;
@@ -37955,11 +37962,11 @@ function LL(e) {
c
]);
}
-function RL(e, t) {
+function zL(e, t) {
let n = (0, F.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || FL;
+ let e = t || IL;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -37968,8 +37975,8 @@ function RL(e, t) {
}
return n;
}
-function zL(e, t, n) {
- let { ref: r, ...i } = RL(n, e.slot) || {}, a = iw((0, F.useMemo)(() => YC(t, r), [t, r])), o = q(i, e);
+function BL(e, t, n) {
+ let { ref: r, ...i } = zL(n, e.slot) || {}, a = iw((0, F.useMemo)(() => YC(t, r), [t, r])), o = q(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -37987,7 +37994,7 @@ function zL(e, t, n) {
...e.style
}), [o, a];
}
-function BL(e = !0) {
+function VL(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -37995,7 +38002,7 @@ function BL(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function VL(e) {
+function HL(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
@@ -38009,19 +38016,19 @@ function upe(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);
}
-var HL = {}, UL = new Proxy({}, { get(e, t) {
+var UL = {}, WL = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = HL[t];
- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(upe.bind(null, t)), HL[t] = n), n;
-} }), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = {
+ let n = UL[t];
+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(upe.bind(null, t)), UL[t] = n), n;
+} }), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), JL = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return JL(e, null, t);
+ return YL(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return JL(e, t, n);
+ return YL(e, t, n);
}
};
-function JL(e, t, n) {
+function YL(e, t, n) {
return SS({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -38055,21 +38062,21 @@ function dpe(e, t, n) {
}
return s;
}
-var YL = /*#__PURE__*/ (0, F.createContext)(qL);
-function XL(e) {
+var XL = /*#__PURE__*/ (0, F.createContext)(JL);
+function ZL(e) {
return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, ZL);
- let { elementType: n = "label", ...r } = e, i = UL[n];
+var QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ lw(function(e, t) {
+ [e, t] = BL(e, t, QL);
+ let { elementType: n = "label", ...r } = e, i = WL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), fpe = /*#__PURE__*/ (0, F.createContext)(null), $L = /*#__PURE__*/ (0, F.createContext)({}), eR = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, $L);
+}), fpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)({}), tR = /*#__PURE__*/ lw(function(e, t) {
+ [e, t] = BL(e, t, eR);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ooe(e, t);
i = mpe(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = LD(e), { hoverProps: l, isHovered: u } = VD({
@@ -38082,7 +38089,7 @@ var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ lw(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = LL({
+ }, f = RL({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -38099,7 +38106,7 @@ var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ lw(function(
p
]);
let _ = Zw(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ F.createElement(UL.button, {
+ return delete _.onClick, /*#__PURE__*/ F.createElement(WL.button, {
...q(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -38123,26 +38130,26 @@ function mpe(e, t) {
return e;
}
// node_modules/react-aria-components/dist/private/Heading.mjs
-var tR = /*#__PURE__*/ (0, F.createContext)({}), nR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, tR);
- let { children: n, level: r = 3, className: i, ...a } = e, o = UL[`h${r}`];
+var nR = /*#__PURE__*/ (0, F.createContext)({}), rR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, nR);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = WL[`h${r}`];
return /*#__PURE__*/ F.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), rR = /*#__PURE__*/ (0, F.createContext)({}), hpe = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, rR);
- let { elementType: n = "span", ...r } = e, i = UL[n];
+}), iR = /*#__PURE__*/ (0, F.createContext)({}), hpe = /*#__PURE__*/ lw(function(e, t) {
+ [e, t] = BL(e, t, iR);
+ let { elementType: n = "span", ...r } = e, i = WL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), iR = /*#__PURE__*/ (0, F.createContext)(null), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null), gpe = /*#__PURE__*/ (0, F.createContext)(null), cR = /*#__PURE__*/ (0, F.createContext)(null);
+}), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null), cR = /*#__PURE__*/ (0, F.createContext)(null), gpe = /*#__PURE__*/ (0, F.createContext)(null), lR = /*#__PURE__*/ (0, F.createContext)(null);
function _pe(e, t) {
- let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(gpe), a = iw((0, F.useMemo)(() => YC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...VL(e),
+ let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(gpe), a = iw((0, F.useMemo)(() => YC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...HL(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
@@ -38151,9 +38158,9 @@ function _pe(e, t) {
}
var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zL(r, t, oR);
+ [e, t] = BL(r, t, sR);
let [i, a] = _pe(e, n);
- return /*#__PURE__*/ F.createElement(cR.Provider, { value: {
+ return /*#__PURE__*/ F.createElement(lR.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
@@ -38164,10 +38171,10 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
ref: t
}));
}), ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(cR), { isFocused: p, isFocusVisible: m, focusProps: h } = LD(), g = a || o, { hoverProps: _, isHovered: v } = VD({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(lR), { isFocused: p, isFocusVisible: m, focusProps: h } = LD(), g = a || o, { hoverProps: _, isHovered: v } = VD({
...e,
isDisabled: g
- }), y = LL({
+ }), y = RL({
...e,
defaultClassName: u,
values: {
@@ -38183,7 +38190,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), b = Zw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(UL.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(WL.label, {
...q(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38201,8 +38208,8 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
...q(r, h),
ref: l
})), y.children);
-}), lR = /*#__PURE__*/ (0, F.createContext)({}), uR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, lR);
+}), uR = /*#__PURE__*/ (0, F.createContext)({}), dR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, uR);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
let { hoverProps: l, isHovered: u } = VD({
@@ -38210,7 +38217,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = LD({ within: !0 }), m = LL({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = LD({ within: !0 }), m = RL({
...e,
values: {
isHovered: u,
@@ -38221,7 +38228,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
...q(c, p, l),
...m,
ref: t,
@@ -38234,18 +38241,18 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), dR = /*#__PURE__*/ (0, F.createContext)({}), bpe = (e) => {
+}), fR = /*#__PURE__*/ (0, F.createContext)({}), bpe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
}, xpe = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, dR);
+ [e, t] = BL(e, t, fR);
let { hoverProps: n, isHovered: r } = VD({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = LD({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RL({
...e,
values: {
isHovered: r,
@@ -38256,7 +38263,7 @@ var vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ F.createElement(UL.input, {
+ return /*#__PURE__*/ F.createElement(WL.input, {
...q(bpe(e), o, n),
...c,
ref: t,
@@ -38279,11 +38286,11 @@ function Tpe(e) {
n,
r,
a
- ]), l = (0, F.useMemo)(() => c(pR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(pR(e.defaultValue) ?? [n]), [
+ ]), l = (0, F.useMemo)(() => c(mR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(mR(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = mR(e.value, e.defaultValue, e.onChange), f = mR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = lE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
+ ]), d = hR(e.value, e.defaultValue, e.onChange), f = hR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = lE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -38307,14 +38314,14 @@ function Tpe(e) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
n = pE(n, r, i, a);
- let o = fR(x.current, e, n);
+ let o = pR(x.current, e, n);
C(o);
}
function j(e, n) {
if (t || !O(e)) return;
n && (x.current = p);
let r = S.current[e];
- S.current = fR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
+ S.current = pR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
}
let M = (0, F.useRef)(null);
function ee(e = p) {
@@ -38372,31 +38379,31 @@ function Tpe(e) {
isDisabled: t
};
}
-function fR(e, t, n) {
+function pR(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function pR(e) {
+function mR(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function mR(e, t, n) {
+function hR(e, t, n) {
return (r) => {
typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);
};
}
// node_modules/react-aria-components/dist/private/Slider.mjs
-var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.createContext)(null), Dpe = /*#__PURE__*/ (0, F.createContext)(null), Ope = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, Epe);
+var Epe = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.createContext)(null), _R = /*#__PURE__*/ (0, F.createContext)(null), Dpe = /*#__PURE__*/ (0, F.createContext)(null), Ope = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, Epe);
let n = (0, F.useRef)(null), r = nse(e.formatOptions), i = Tpe({
...e,
numberFormatter: r
- }), [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = rse({
+ }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = rse({
...e,
label: o
- }, i, n), d = LL({
+ }, i, n), d = RL({
...e,
values: {
orientation: i.orientation,
@@ -38405,18 +38412,18 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
},
defaultClassName: "react-aria-Slider"
}), f = Zw(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ F.createElement(IL, { values: [
- [hR, i],
- [gR, {
+ return delete f.id, /*#__PURE__*/ F.createElement(LL, { values: [
+ [gR, i],
+ [_R, {
...c,
ref: n
}],
[Dpe, u],
- [ZL, {
+ [QL, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ F.createElement(UL.div, {
+ ] }, /*#__PURE__*/ F.createElement(WL.div, {
...q(f, d, s),
ref: t,
slot: e.slot || void 0,
@@ -38424,12 +38431,12 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
"data-disabled": i.isDisabled || void 0
}));
}), kpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, gR);
- let n = (0, F.useContext)(hR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = VD({
+ [e, t] = BL(e, t, _R);
+ let n = (0, F.useContext)(gR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = VD({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = LL({
+ }), l = RL({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -38439,7 +38446,7 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
state: n
}
});
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
...q(o, s),
...l,
ref: t,
@@ -38448,13 +38455,13 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
"data-disabled": n.isDisabled || void 0
});
}), Ape = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, F.useContext)(hR), { ref: i } = RL(gR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = BL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = ise({
+ let { inputRef: n = null } = e, r = (0, F.useContext)(gR), { ref: i } = zL(_R), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = VL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = ise({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = LD(), { hoverProps: v, isHovered: y } = VD(e), b = LL({
+ }, r), { focusProps: g, isFocusVisible: _ } = LD(), { hoverProps: v, isHovered: y } = VD(e), b = RL({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -38466,7 +38473,7 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
isDisabled: h
}
}), x = Zw(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ F.createElement(UL.div, {
+ return delete x.id, /*#__PURE__*/ F.createElement(WL.div, {
...q(x, u, v),
...b,
ref: t,
@@ -38482,325 +38489,325 @@ var Epe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
}, /*#__PURE__*/ F.createElement(yE, null, /*#__PURE__*/ F.createElement("input", {
ref: s,
...q(d, g)
- })), /*#__PURE__*/ F.createElement(IL, { values: [[ZL, {
+ })), /*#__PURE__*/ F.createElement(LL, { values: [[QL, {
...f,
ref: c
}]] }, b.children));
-}), _R = {};
-_R = {
+}), vR = {};
+vR = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
tableResizer: "أداة تغيير الحجم"
};
// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var vR = {};
-vR = {
+var yR = {};
+yR = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
tableResizer: "Преоразмерител"
};
// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var yR = {};
-yR = {
+var bR = {};
+bR = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
tableResizer: "Změna velikosti"
};
// node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var bR = {};
-bR = {
+var xR = {};
+xR = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
tableResizer: "Størrelsesændring"
};
// node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var xR = {};
-xR = {
+var SR = {};
+SR = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
tableResizer: "Größenanpassung"
};
// node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var SR = {};
-SR = {
+var CR = {};
+CR = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
tableResizer: "Αλλαγή μεγέθους"
};
// node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var CR = {};
-CR = {
+var wR = {};
+wR = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
colorSwatchPicker: "Color swatches"
};
// node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var wR = {};
-wR = {
+var TR = {};
+TR = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
tableResizer: "Cambiador de tamaño"
};
// node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var TR = {};
-TR = {
+var ER = {};
+ER = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
tableResizer: "Suuruse muutja"
};
// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var ER = {};
-ER = {
+var DR = {};
+DR = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
tableResizer: "Koon muuttaja"
};
// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var DR = {};
-DR = {
+var OR = {};
+OR = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
tableResizer: "Redimensionneur"
};
// node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var OR = {};
-OR = {
+var kR = {};
+kR = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
tableResizer: "שינוי גודל"
};
// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var kR = {};
-kR = {
+var AR = {};
+AR = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
tableResizer: "Promjena veličine"
};
// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var AR = {};
-AR = {
+var jR = {};
+jR = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
tableResizer: "Átméretező"
};
// node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var jR = {};
-jR = {
+var MR = {};
+MR = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
tableResizer: "Ridimensionamento"
};
// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var MR = {};
-MR = {
+var NR = {};
+NR = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
tableResizer: "サイズ変更ツール"
};
// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var NR = {};
-NR = {
+var PR = {};
+PR = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
tableResizer: "크기 조정기"
};
// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var PR = {};
-PR = {
+var FR = {};
+FR = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
tableResizer: "Dydžio keitiklis"
};
// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var FR = {};
-FR = {
+var IR = {};
+IR = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
tableResizer: "Izmēra mainītājs"
};
// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var IR = {};
-IR = {
+var LR = {};
+LR = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
tableResizer: "Størrelsesendrer"
};
// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var LR = {};
-LR = {
+var RR = {};
+RR = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
tableResizer: "Resizer"
};
// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var RR = {};
-RR = {
+var zR = {};
+zR = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
tableResizer: "Zmiana rozmiaru"
};
// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var zR = {};
-zR = {
+var BR = {};
+BR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var BR = {};
-BR = {
+var VR = {};
+VR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var VR = {};
-VR = {
+var HR = {};
+HR = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
tableResizer: "Instrument de redimensionare"
};
// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var HR = {};
-HR = {
+var UR = {};
+UR = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
tableResizer: "Средство изменения размера"
};
// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var UR = {};
-UR = {
+var WR = {};
+WR = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
tableResizer: "Nástroj na zmenu veľkosti"
};
// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var WR = {};
-WR = {
+var GR = {};
+GR = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
tableResizer: "Spreminjanje velikosti"
};
// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var GR = {};
-GR = {
+var KR = {};
+KR = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
tableResizer: "Promena veličine"
};
// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var KR = {};
-KR = {
+var qR = {};
+qR = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
tableResizer: "Storleksändrare"
};
// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var qR = {};
-qR = {
+var JR = {};
+JR = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
tableResizer: "Yeniden boyutlandırıcı"
};
// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var JR = {};
-JR = {
+var YR = {};
+YR = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
tableResizer: "Засіб змінення розміру"
};
// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var YR = {};
-YR = {
+var XR = {};
+XR = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
tableResizer: "尺寸调整器"
};
// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var XR = {};
-XR = {
+var ZR = {};
+ZR = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
tableResizer: "大小調整器"
};
// node_modules/react-aria-components/dist/private/intlStrings.mjs
-var ZR = {};
-ZR = {
- "ar-AE": _R,
- "bg-BG": vR,
- "cs-CZ": yR,
- "da-DK": bR,
- "de-DE": xR,
- "el-GR": SR,
- "en-US": CR,
- "es-ES": wR,
- "et-EE": TR,
- "fi-FI": ER,
- "fr-FR": DR,
- "he-IL": OR,
- "hr-HR": kR,
- "hu-HU": AR,
- "it-IT": jR,
- "ja-JP": MR,
- "ko-KR": NR,
- "lt-LT": PR,
- "lv-LV": FR,
- "nb-NO": IR,
- "nl-NL": LR,
- "pl-PL": RR,
- "pt-BR": zR,
- "pt-PT": BR,
- "ro-RO": VR,
- "ru-RU": HR,
- "sk-SK": UR,
- "sl-SI": WR,
- "sr-SP": GR,
- "sv-SE": KR,
- "tr-TR": qR,
- "uk-UA": JR,
- "zh-CN": YR,
- "zh-TW": XR
+var QR = {};
+QR = {
+ "ar-AE": vR,
+ "bg-BG": yR,
+ "cs-CZ": bR,
+ "da-DK": xR,
+ "de-DE": SR,
+ "el-GR": CR,
+ "en-US": wR,
+ "es-ES": TR,
+ "et-EE": ER,
+ "fi-FI": DR,
+ "fr-FR": OR,
+ "he-IL": kR,
+ "hr-HR": AR,
+ "hu-HU": jR,
+ "it-IT": MR,
+ "ja-JP": NR,
+ "ko-KR": PR,
+ "lt-LT": FR,
+ "lv-LV": IR,
+ "nb-NO": LR,
+ "nl-NL": RR,
+ "pl-PL": zR,
+ "pt-BR": BR,
+ "pt-PT": VR,
+ "ro-RO": HR,
+ "ru-RU": UR,
+ "sk-SK": WR,
+ "sl-SI": GR,
+ "sr-SP": KR,
+ "sv-SE": qR,
+ "tr-TR": JR,
+ "uk-UA": YR,
+ "zh-CN": XR,
+ "zh-TW": ZR
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var QR = /*#__PURE__*/ (0, F.createContext)({}), $R = /*#__PURE__*/ (0, F.createContext)(null), jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { render: n } = (0, F.useContext)($R);
+var $R = /*#__PURE__*/ (0, F.createContext)({}), ez = /*#__PURE__*/ (0, F.createContext)(null), jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { render: n } = (0, F.useContext)(ez);
return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));
});
-function ez(e, t) {
+function tz(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {
if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(jpe, { target: e });
}, [
@@ -38810,7 +38817,7 @@ function ez(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function tz(e, t, n) {
+function nz(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -38831,13 +38838,13 @@ function tz(e, t, n) {
return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
// node_modules/react-aria-components/dist/private/Header.mjs
-var nz = /*#__PURE__*/ (0, F.createContext)({}), Mpe = /*#__PURE__*/ (0, F.createContext)(null);
-function rz(e) {
+var rz = /*#__PURE__*/ (0, F.createContext)({}), Mpe = /*#__PURE__*/ (0, F.createContext)(null);
+function iz(e) {
let t = (0, F.useRef)({});
return /*#__PURE__*/ F.createElement(Mpe.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ _w(class extends mS {
+var az = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), oz = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ _w(class extends mS {
static {
this.type = "separator";
}
@@ -38850,10 +38857,10 @@ var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = zL(e, t, az);
+ [e, t] = BL(e, t, oz);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = UL[c], { separatorProps: u } = dce({
+ let l = WL[c], { separatorProps: u } = uce({
...s,
elementType: n,
orientation: r
@@ -38868,12 +38875,12 @@ var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE_
});
});
// node_modules/react-aria/dist/private/utils/inertValue.mjs
-function oz(e) {
+function sz(e) {
let t = F.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
// node_modules/react-stately/dist/private/list/ListCollection.mjs
-var sz = class {
+var cz = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -38917,7 +38924,7 @@ var sz = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, cz = class e extends Set {
+}, lz = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
@@ -38928,8 +38935,8 @@ function Ppe(e, t) {
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function lz(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = lE((0, F.useMemo)(() => uz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => uz(e.defaultSelectedKeys, new cz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
+function uz(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = lE((0, F.useMemo)(() => dz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => dz(e.defaultSelectedKeys, new lz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
@@ -38962,11 +38969,11 @@ function lz(e) {
disabledBehavior: a
};
}
-function uz(e, t) {
- return e ? e === "all" ? "all" : new cz(e) : t;
+function dz(e, t) {
+ return e ? e === "all" ? "all" : new lz(e) : t;
}
// node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var dz = class e {
+var fz = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -39049,10 +39056,10 @@ var dz = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new cz([t], t, t);
+ if (this.state.selectedKeys === "all") n = new lz([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new cz(e, r, t);
+ n = new lz(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -39086,19 +39093,19 @@ var dz = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new cz(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new lz(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new cz([t], t, t) : new cz();
+ let n = this.canSelectItem(t) ? new lz([t], t, t) : new lz();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new cz();
+ let t = new lz();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -39121,7 +39128,7 @@ var dz = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new cz());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new lz());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -39164,7 +39171,7 @@ var dz = class e {
}
}, Fpe = class {
build(e, t) {
- return this.context = t, fz(() => this.iterateCollection(e));
+ return this.context = t, pz(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -39249,7 +39256,7 @@ var dz = class e {
wrapper: Ipe(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${pz(t.type)}> in <${pz(r?.type ?? "unknown parent type")}>. Only <${pz(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${mz(t.type)}> in <${mz(r?.type ?? "unknown parent type")}>. Only <${mz(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -39271,7 +39278,7 @@ var dz = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: fz(function* () {
+ childNodes: pz(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -39290,7 +39297,7 @@ var dz = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function fz(e) {
+function pz(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -39303,11 +39310,11 @@ function Ipe(e, t) {
if (e) return e;
if (t) return t;
}
-function pz(e) {
+function mz(e) {
return e[0].toUpperCase() + e.slice(1);
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
-function mz(e, t, n) {
+function hz(e, t, n) {
let r = (0, F.useMemo)(() => new Fpe(), []), { children: i, items: a, collection: o } = e;
return (0, F.useMemo)(() => o || t(r.build({
children: i,
@@ -39322,13 +39329,13 @@ function mz(e, t, n) {
]);
}
// node_modules/react-stately/dist/private/list/useListState.mjs
-function hz(e) {
- let { filter: t, layoutDelegate: n } = e, r = lz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = mz(e, (0, F.useCallback)((e) => t ? new sz(t(e)) : new sz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new dz(a, r, { layoutDelegate: n }), [
+function gz(e) {
+ let { filter: t, layoutDelegate: n } = e, r = uz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = hz(e, (0, F.useCallback)((e) => t ? new cz(t(e)) : new cz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new fz(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return gz(a, o), {
+ return _z(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
@@ -39336,13 +39343,13 @@ function hz(e) {
}
function Lpe(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return gz(n, r), {
+ return _z(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function gz(e, t) {
+function _z(e, t) {
let n = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -39369,7 +39376,7 @@ function gz(e, t) {
}, [e, t]);
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function _z(e, t) {
+function vz(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Fw((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -39392,10 +39399,10 @@ function _z(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null), Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, vz);
- let n = (0, F.useContext)(yz);
- return n ? /*#__PURE__*/ F.createElement(bz, {
+var yz = /*#__PURE__*/ (0, F.createContext)(null), bz = /*#__PURE__*/ (0, F.createContext)(null), Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, yz);
+ let n = (0, F.useContext)(bz);
+ return n ? /*#__PURE__*/ F.createElement(xz, {
state: n,
props: e,
listBoxRef: t
@@ -39412,22 +39419,22 @@ function zpe({ props: e, listBoxRef: t, collection: n }) {
children: null,
items: null
};
- let { layoutDelegate: r } = (0, F.useContext)(YL), i = hz({
+ let { layoutDelegate: r } = (0, F.useContext)(XL), i = gz({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ F.createElement(bz, {
+ return /*#__PURE__*/ F.createElement(xz, {
state: i,
props: e,
listBoxRef: t
});
}
-function bz({ state: e, props: t, listBoxRef: n }) {
- [t, n] = zL(t, n, WL);
+function xz({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = BL(t, n, GL);
let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Lpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Uw(), { disabledBehavior: p, disabledKeys: m } = l, h = AD({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(YL), b = (0, F.useMemo)(() => t.keyboardDelegate || new ME({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(XL), b = (0, F.useMemo)(() => t.keyboardDelegate || new ME({
collection: c,
collator: h,
ref: n,
@@ -39488,7 +39495,7 @@ function bz({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = LL({
+ }, ee = RL({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -39499,7 +39506,7 @@ function bz({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let te = Zw(t, { global: !0 });
- return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {
...q(te, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -39510,52 +39517,52 @@ function bz({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [vz, t],
- [yz, s],
- [QR, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [yz, t],
+ [bz, s],
+ [$R, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [az, { elementType: "div" }],
- [$R, { render: Hpe }],
- [KL, {
+ [oz, { elementType: "div" }],
+ [ez, { render: Hpe }],
+ [qL, {
name: "ListBoxSection",
render: Bpe
}]
- ] }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(y, {
+ ] }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: tz(l, r, C),
- renderDropIndicator: ez(r, C)
+ persistedKeys: nz(l, r, C),
+ renderDropIndicator: tz(r, C)
}))), N, E));
}
function Bpe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, F.useContext)(yz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(QR), { CollectionBranch: s } = (0, F.useContext)(YL), [c, l] = BL(), { headingProps: u, groupProps: d } = Mse({
+ let i = (0, F.useContext)(bz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)($R), { CollectionBranch: s } = (0, F.useContext)(XL), [c, l] = VL(), { headingProps: u, groupProps: d } = Mse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = LL({
+ }), f = RL({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = Zw(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ F.createElement(UL.section, {
+ return delete p.id, /*#__PURE__*/ F.createElement(WL.section, {
...q(p, f, d),
ref: t
- }, /*#__PURE__*/ F.createElement(nz.Provider, { value: {
+ }, /*#__PURE__*/ F.createElement(rz.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ F.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: ez(a, o)
+ renderDropIndicator: tz(a, o)
})));
}
var Vpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
- let r = iw(t), i = (0, F.useContext)(yz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(QR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Nse({
+ let r = iw(t), i = (0, F.useContext)(bz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Nse({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = VD({
@@ -39574,7 +39581,7 @@ var Vpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = LL({
+ let y = o && o.isDragging(n.key), b = RL({
...e,
id: void 0,
children: e.children,
@@ -39592,7 +39599,7 @@ var Vpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
(0, F.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? UL.a : UL.div, S = Zw(e, { global: !0 });
+ let x = e.href ? WL.a : WL.div, S = Zw(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {
...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -39606,15 +39613,15 @@ var Vpe = /*#__PURE__*/ _w(_S, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ F.createElement(IL, { values: [[rR, { slots: {
- [FL]: u,
+ }, /*#__PURE__*/ F.createElement(LL, { values: [[iR, { slots: {
+ [IL]: u,
label: u,
description: d
- } }], [iz, { isSelected: f.isSelected }]] }, b.children));
+ } }], [az, { isSelected: f.isSelected }]] }, b.children));
});
function Hpe(e, t) {
t = iw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
return a ? null : /*#__PURE__*/ F.createElement(Wpe, {
...e,
dropIndicatorProps: i,
@@ -39623,12 +39630,12 @@ function Hpe(e, t) {
});
}
function Upe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LL({
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = RL({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {
...n,
...a,
role: "option",
@@ -39638,8 +39645,8 @@ function Upe(e, t) {
}
var Wpe = /*#__PURE__*/ (0, F.forwardRef)(Upe);
_w(gS, function(e, t, n) {
- let r = (0, F.useContext)(yz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+ let r = (0, F.useContext)(bz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ vz((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39649,7 +39656,7 @@ _w(gS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LL({
+ let l = RL({
...s,
id: void 0,
children: n.rendered,
@@ -39662,7 +39669,7 @@ _w(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: oz(!0)
+ inert: sz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39671,7 +39678,7 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {
...q(Zw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -39681,7 +39688,7 @@ _w(gS, function(e, t, n) {
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
var Gpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function xz(e) {
+function Sz(e) {
let [t, n] = lE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
return {
isOpen: t,
@@ -39700,15 +39707,15 @@ function xz(e) {
};
}
// node_modules/react-aria/dist/private/utils/animation.mjs
-function Sz(e, t = !0, n) {
+function Cz(e, t = !0, n) {
let [r, i] = (0, F.useState)(!0), a = r && t;
return BS(() => {
if (!t && e.current) return UC(kS(e.current, "opacity", "0"), kS(e.current, "clip", "rect(0 0 0 0)"), kS(e.current, "clip-path", "inset(50%)"), kS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
}, [e, t]), BS(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), wz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), Tz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
}
-function Cz(e, t, n) {
+function wz(e, t, n) {
let [r, i] = (0, F.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -39718,11 +39725,11 @@ function Cz(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return wz(e, a, n, (0, F.useCallback)(() => {
+ return Tz(e, a, n, (0, F.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function wz(e, t, n, r) {
+function Tz(e, t, n, r) {
let i = (0, F.useRef)(null), a = Fw(n);
BS(() => {
if (t && e.current && i.current !== t) {
@@ -39749,9 +39756,9 @@ function wz(e, t, n, r) {
]);
}
// node_modules/react-aria-components/dist/private/Popover.mjs
-var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, Tz);
- let n = (0, F.useContext)(zz), r = xz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Cz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = uw(), { direction: c } = Uw();
+var Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, Ez);
+ let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = uw(), { direction: c } = Uw();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -39772,12 +39779,12 @@ var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.crea
});
});
function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Ez), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ace({
+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Dz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ice({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = Sz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = LL({
+ }, e), g = i.popoverRef, _ = Cz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = RL({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -39798,7 +39805,7 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let C = (0, F.useMemo)(() => {
let e = y.children;
- for (let t of [Tz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
+ for (let t of [Ez, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {
i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");
@@ -39814,7 +39821,7 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-width": y.style?.["--trigger-width"] || w
};
BS(() => Ok(() => u(!0)), []);
- let O = /*#__PURE__*/ F.createElement(UL.div, {
+ let O = /*#__PURE__*/ F.createElement(WL.div, {
...q(Zw(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
@@ -39855,13 +39862,13 @@ function Kpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ F.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(Ez.Provider, { value: o }, O)));
+ }, /*#__PURE__*/ F.createElement(Dz.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
var qpe = /*#__PURE__*/ (0, F.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function Oz(e) {
- let t = xz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
+function kz(e) {
+ let t = Sz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -39929,8 +39936,8 @@ var Jpe = class {
}
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function kz(e) {
- let { onExpandedChange: t } = e, [n, r] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = lz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = mz(e, (0, F.useCallback)((e) => new Jpe(e, { expandedKeys: n }), [n]), null);
+function Az(e) {
+ let { onExpandedChange: t } = e, [n, r] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = uz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = hz(e, (0, F.useCallback)((e) => new Jpe(e, { expandedKeys: n }), [n]), null);
return (0, F.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -39941,7 +39948,7 @@ function kz(e) {
r(Ype(n, e));
},
setExpandedKeys: r,
- selectionManager: new dz(o, i)
+ selectionManager: new fz(o, i)
};
}
function Ype(e, t) {
@@ -39949,20 +39956,20 @@ function Ype(e, t) {
return n.has(t) ? n.delete(t) : n.add(t), n;
}
// node_modules/react-aria-components/dist/private/Menu.mjs
-var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null);
+var jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ (0, F.createContext)(null);
function Xpe(e) {
- let t = Oz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = gD({
+ let t = kz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = gD({
...e,
type: "menu"
}, t, n), a = (0, F.useRef)(null);
- return uw() ? null : /*#__PURE__*/ F.createElement(IL, { values: [
- [Az, {
+ return uw() ? null : /*#__PURE__*/ F.createElement(LL, { values: [
+ [jz, {
...i,
ref: a
}],
- [zz, t],
- [Mz, t],
- [Tz, {
+ [Bz, t],
+ [Nz, t],
+ [Ez, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -39991,23 +39998,23 @@ var Zpe = /*#__PURE__*/ (0, F.createContext)(null);
}
});
var Qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = zL(e, t, Az), /*#__PURE__*/ F.createElement(mw, { content: /*#__PURE__*/ F.createElement(xw, e) }, (n) => /*#__PURE__*/ F.createElement($pe, {
+ return [e, t] = BL(e, t, jz), /*#__PURE__*/ F.createElement(mw, { content: /*#__PURE__*/ F.createElement(xw, e) }, (n) => /*#__PURE__*/ F.createElement($pe, {
props: e,
collection: n,
menuRef: t
}));
});
function $pe({ props: e, collection: t, menuRef: n }) {
- [e, n] = zL(e, n, WL);
- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = kz({
+ [e, n] = BL(e, n, GL);
+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Az({
...e,
collection: a,
children: void 0
- }), s = (0, F.useContext)(Mz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(YL), { menuProps: u } = Pse({
+ }), s = (0, F.useContext)(Nz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(XL), { menuProps: u } = Pse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = LL({
+ }, o, n), d = RL({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -40018,35 +40025,35 @@ function $pe({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {
...q(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [jz, o],
- [az, { elementType: "div" }],
- [KL, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [Mz, o],
+ [oz, { elementType: "div" }],
+ [qL, {
name: "MenuSection",
- render: Pz
+ render: Fz
}],
[Zpe, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Iz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [WL, null],
+ [Lz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[GL, null],
- [Nz, o.selectionManager],
- [Mz, s ?? Oz({})]
- ] }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(l, {
+ [KL, null],
+ [Pz, o.selectionManager],
+ [Nz, s ?? kz({})]
+ ] }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(l, {
collection: o.collection,
- persistedKeys: XL(o.selectionManager.focusedKey),
+ persistedKeys: ZL(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var eme = class extends dz {
+var eme = class extends fz {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40066,11 +40073,11 @@ var eme = class extends dz {
return this.parent.childFocusStrategy;
}
};
-function Pz(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, F.useContext)(jz), { CollectionBranch: a } = (0, F.useContext)(YL), [o, s] = BL(), { headingProps: c, groupProps: l } = Ise({
+function Fz(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, F.useContext)(Mz), { CollectionBranch: a } = (0, F.useContext)(XL), [o, s] = VL(), { headingProps: c, groupProps: l } = Ise({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = LL({
+ }), u = RL({
...e,
id: void 0,
children: void 0,
@@ -40078,31 +40085,31 @@ function Pz(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, F.useContext)(Nz), f = lz(e), p = e.selectionMode == null ? d : new eme(d, f), m = RL(Iz)?.shouldCloseOnSelect, h = Zw(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ F.createElement(UL.section, {
+ }), d = (0, F.useContext)(Pz), f = uz(e), p = e.selectionMode == null ? d : new eme(d, f), m = zL(Lz)?.shouldCloseOnSelect, h = Zw(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ F.createElement(WL.section, {
...q(h, u, l),
ref: t
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [nz, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [rz, {
...c,
ref: o
}],
- [Nz, p],
- [Iz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [Pz, p],
+ [Lz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ F.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Fz = /*#__PURE__*/ vw(tae, Pz), Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ _w(_S, function(e, t, n) {
- [e, t] = zL(e, t, Iz);
- let r = RL(Iz)?.id, i = (0, F.useContext)(jz), a = iw(t), o = (0, F.useContext)(Nz), { isVirtualized: s } = (0, F.useContext)(YL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Fse({
+var Iz = /*#__PURE__*/ vw(tae, Fz), Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ _w(_S, function(e, t, n) {
+ [e, t] = BL(e, t, Lz);
+ let r = zL(Lz)?.id, i = (0, F.useContext)(Mz), a = iw(t), o = (0, F.useContext)(Pz), { isVirtualized: s } = (0, F.useContext)(XL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Fse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = VD({ isDisabled: f.isDisabled }), h = LL({
+ }, i, a), { hoverProps: p, isHovered: m } = VD({ isDisabled: f.isDisabled }), h = RL({
...e,
id: void 0,
children: n.rendered,
@@ -40116,7 +40123,7 @@ var Fz = /*#__PURE__*/ vw(tae, Pz), Iz = /*#__PURE__*/ (0, F.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? UL.a : UL.div, _ = Zw(e, { global: !0 });
+ }), g = e.href ? WL.a : WL.div, _ = Zw(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {
...q(_, h, c, p),
ref: a,
@@ -40129,19 +40136,19 @@ var Fz = /*#__PURE__*/ vw(tae, Pz), Iz = /*#__PURE__*/ (0, F.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [rR, { slots: {
- [FL]: l,
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [iR, { slots: {
+ [IL]: l,
label: l,
description: u
} }],
[qpe, d],
- [iz, { isSelected: f.isSelected }]
+ [az, { isSelected: f.isSelected }]
] }, h.children));
});
_w(gS, function(e, t, n) {
- let r = (0, F.useContext)(jz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+ let r = (0, F.useContext)(Mz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ vz((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -40151,7 +40158,7 @@ _w(gS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LL({
+ let l = RL({
...s,
id: void 0,
children: n.rendered,
@@ -40164,7 +40171,7 @@ _w(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: oz(!0)
+ inert: sz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -40173,7 +40180,7 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(WL.div, {
...q(Zw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -40181,81 +40188,81 @@ _w(gS, function(e, t, n) {
}, l.children)));
});
// node_modules/react-aria-components/dist/private/Dialog.mjs
-var Rz = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.createContext)(null), Vz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = zL(e, t, Rz);
+ [e, t] = BL(e, t, zz);
let { dialogProps: r, titleProps: i, contentProps: a } = vse({
...e,
"aria-labelledby": n
- }, t), o = (0, F.useContext)(zz);
+ }, t), o = (0, F.useContext)(Bz);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = LL({
+ let s = RL({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.section, {
+ return /*#__PURE__*/ F.createElement(WL.section, {
...q(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [tR, { slots: {
- [FL]: {},
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [nR, { slots: {
+ [IL]: {},
title: {
...i,
level: 2
}
} }],
- [rR, { slots: {
- [FL]: {},
+ [iR, { slots: {
+ [IL]: {},
description: a
} }],
- [$L, { slots: {
- [FL]: {},
+ [eR, { slots: {
+ [IL]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Vz = typeof document < "u" && window.visualViewport;
+}), Hz = typeof document < "u" && window.visualViewport;
function tme() {
let e = hC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
width: 0,
height: 0
- } : Hz());
+ } : Uz());
return (0, F.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- Vz && Vz.scale > 1 || e(Hz());
+ Hz && Hz.scale > 1 || e(Uz());
}, i = (n) => {
- Vz && Vz.scale > 1 || Mw(K(n)) && (t.current = Ok((t) => {
+ Hz && Hz.scale > 1 || Mw(K(n)) && (t.current = Ok((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(Hz()), XS() && ZS() && window.addEventListener("blur", i, !0), Vz ? Vz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), XS() && ZS() && window.removeEventListener("blur", i, !0), Vz ? Vz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(Uz()), XS() && ZS() && window.addEventListener("blur", i, !0), Hz ? Hz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), XS() && ZS() && window.removeEventListener("blur", i, !0), Hz ? Hz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function Hz() {
+function Uz() {
return {
- width: Vz ? Math.min(Vz.width * Vz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Vz ? Vz.height * Vz.scale : document.documentElement.clientHeight
+ width: Hz ? Math.min(Hz.width * Hz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Hz ? Hz.height * Hz.scale : document.documentElement.clientHeight
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var nme = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.createContext)(null), rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- if ((0, F.useContext)(Uz)) return /*#__PURE__*/ F.createElement(Gz, {
+var nme = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.createContext)(null), rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ if ((0, F.useContext)(Wz)) return /*#__PURE__*/ F.createElement(Kz, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ F.createElement(Wz, {
+ return /*#__PURE__*/ F.createElement(Gz, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -40265,14 +40272,14 @@ var nme = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ F.createElement(Gz, {
+ }, /*#__PURE__*/ F.createElement(Kz, {
...f,
modalRef: t
}, s));
});
function ime(e, t) {
- [e, t] = zL(e, t, nme);
- let n = (0, F.useContext)(zz), r = xz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = iw(t), o = (0, F.useRef)(null), s = Cz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = Cz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = hC();
+ [e, t] = BL(e, t, nme);
+ let n = (0, F.useContext)(Bz), r = Sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = iw(t), o = (0, F.useRef)(null), s = wz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = wz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = hC();
return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(ame, {
...e,
state: i,
@@ -40282,12 +40289,12 @@ function ime(e, t) {
onExitRef: c
});
}
-var Wz = /*#__PURE__*/ (0, F.forwardRef)(ime);
+var Gz = /*#__PURE__*/ (0, F.forwardRef)(ime);
function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Sz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = qse({
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Cz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Kse({
...n,
isEntering: c
- }, i, r), d = (0, F.useContext)(Rz), f = t ? ome(d, { isEntering: c }) : d, p = LL({
+ }, i, r), d = (0, F.useContext)(zz), f = t ? ome(d, { isEntering: c }) : d, p = RL({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -40310,15 +40317,15 @@ function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
return BS(() => Ok(() => o(!0)), []), /*#__PURE__*/ F.createElement(FD, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ F.createElement(UL.div, {
+ }, /*#__PURE__*/ F.createElement(WL.div, {
...q(Zw(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [Uz, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [Wz, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -40326,8 +40333,8 @@ function ame({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [zz, i],
- [Rz, f]
+ [Bz, i],
+ [zz, f]
] }, p.children)));
}
function ome(e, t) {
@@ -40347,8 +40354,8 @@ function ome(e, t) {
...t
};
}
-function Gz(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Uz), s = (0, F.useContext)(zz), c = iw((0, F.useMemo)(() => YC(e.modalRef, n), [e.modalRef, n])), l = Sz(c, o, e.onEnter), u = LL({
+function Kz(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Wz), s = (0, F.useContext)(Bz), c = iw((0, F.useMemo)(() => YC(e.modalRef, n), [e.modalRef, n])), l = Cz(c, o, e.onEnter), u = RL({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -40359,7 +40366,7 @@ function Gz(e) {
});
return BS(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ F.createElement(UL.div, {
+ }), /*#__PURE__*/ F.createElement(WL.div, {
...q(Zw(e, { global: !0 }), t),
...u,
ref: c,
@@ -40392,16 +40399,16 @@ function lme(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), qz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, ume);
- let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = lme({
+var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.createContext)(null), qz = /*#__PURE__*/ (0, F.createContext)(null), Jz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, ume);
+ let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = lme({
...e,
validationBehavior: r
- }), [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = sce({
+ }), [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = oce({
...e,
label: o,
validationBehavior: r
- }, i), f = LL({
+ }, i), f = RL({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -40413,7 +40420,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
...q(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -40422,27 +40429,27 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [Kz, i],
- [ZL, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [qz, i],
+ [QL, {
...c,
ref: a,
elementType: "span"
}],
- [rR, { slots: {
+ [iR, { slots: {
description: l,
errorMessage: u
} }],
- [iR, d]
- ] }, /*#__PURE__*/ F.createElement(rz, null, f.children)));
-}), Jz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [aR, d]
+ ] }, /*#__PURE__*/ F.createElement(iz, null, f.children)));
+}), Yz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zL(r, t, dme);
- let i = F.useContext(Kz), a = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = oce({
- ...VL(e),
+ [e, t] = BL(r, t, dme);
+ let i = F.useContext(qz), a = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ace({
+ ...HL(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ F.createElement(Yz.Provider, { value: {
+ return /*#__PURE__*/ F.createElement(Xz.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
@@ -40450,11 +40457,11 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr
...e,
ref: t
}));
-}), Yz = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Yz), l = F.useContext(Kz), { isFocused: u, isFocusVisible: d, focusProps: f } = LD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = VD({
+}), Xz = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Xz), l = F.useContext(qz), { isFocused: u, isFocusVisible: d, focusProps: f } = LD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = VD({
...e,
isDisabled: p
- }), g = LL({
+ }), g = RL({
...e,
defaultClassName: s,
values: {
@@ -40469,7 +40476,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr
isRequired: l.isRequired
}
}), _ = Zw(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(UL.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(WL.label, {
...q(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -40488,7 +40495,7 @@ var ume = /*#__PURE__*/ (0, F.createContext)(null), dme = /*#__PURE__*/ (0, F.cr
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
function pme(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = xz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Sz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -40504,7 +40511,7 @@ function pme(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = hz({
+ }, d = gz({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
@@ -40553,8 +40560,8 @@ function mme(e) {
function hme(e) {
return e && e.__esModule ? e.default : e;
}
-var Xz = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), gme = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, Xz);
+var Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), gme = /*#__PURE__*/ lw(function(e, t) {
+ [e, t] = BL(e, t, Zz);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -40575,18 +40582,18 @@ var Xz = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.crea
selectRef: t
}));
}), _me = [
- ZL,
- $L,
- rR
+ QL,
+ eR,
+ iR
];
function vme({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = RL(aR) || {}, i = e.validationBehavior ?? r ?? "native", a = pme({
+ let { validationBehavior: r } = zL(oR) || {}, i = e.validationBehavior ?? r ?? "native", a = pme({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = LD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = BL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = cce({
- ...VL(e),
+ }), { isFocusVisible: o, focusProps: s } = LD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = VL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = sce({
+ ...HL(e),
label: u,
validationBehavior: i
}, a, c), y = (0, F.useMemo)(() => ({
@@ -40603,30 +40610,30 @@ function vme({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = LL({
+ ]), b = RL({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), x = Zw(e, { global: !0 });
delete x.id;
let S = (0, F.useRef)(null);
- return /*#__PURE__*/ F.createElement(IL, { values: [
- [Xz, e],
- [Zz, a],
- [Qz, p],
- [ZL, {
+ return /*#__PURE__*/ F.createElement(LL, { values: [
+ [Zz, e],
+ [Qz, a],
+ [$z, p],
+ [QL, {
...d,
ref: l,
elementType: "span"
}],
- [$L, {
+ [eR, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [zz, a],
- [Tz, {
+ [Bz, a],
+ [Ez, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
@@ -40634,17 +40641,17 @@ function vme({ props: e, selectRef: t, collection: n }) {
"aria-labelledby": m["aria-labelledby"],
clearContexts: _me
}],
- [vz, {
+ [yz, {
...m,
ref: S
}],
- [yz, a],
- [rR, { slots: {
+ [bz, a],
+ [iR, { slots: {
description: h,
errorMessage: g
} }],
- [iR, v]
- ] }, /*#__PURE__*/ F.createElement(UL.div, {
+ [aR, v]
+ ] }, /*#__PURE__*/ F.createElement(WL.div, {
...q(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -40654,14 +40661,14 @@ function vme({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ F.createElement(uce, {
+ }, b.children, /*#__PURE__*/ F.createElement(lce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, Qz);
- let n = (0, F.useContext)(Zz), { placeholder: r } = RL(Xz), i = n.selectedItems.map((e) => {
+for (var $z = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(function(e, t) {
+ [e, t] = BL(e, t, $z);
+ let n = (0, F.useContext)(Qz), { placeholder: r } = zL(Zz), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -40688,7 +40695,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
a,
o,
i
- ]), u = Yw(hme(ZR), "react-aria-components"), d = LL({
+ ]), u = Yw(hme(QR), "react-aria-components"), d = RL({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40700,20 +40707,20 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
state: n
}
}), f = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.span, {
+ return /*#__PURE__*/ F.createElement(WL.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ F.createElement(rR.Provider, { value: void 0 }, d.children));
-}), bme = /*#__PURE__*/ (0, F.createContext)(null), $z = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ F.createElement(iR.Provider, { value: void 0 }, d.children));
+}), bme = /*#__PURE__*/ (0, F.createContext)(null), eB = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zL(r, t, bme);
- let i = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = uE(e), o = fce({
- ...VL(e),
+ [e, t] = BL(r, t, bme);
+ let i = iw((0, F.useMemo)(() => YC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = uE(e), o = dce({
+ ...HL(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ F.createElement(IL, { values: [[$z, a], [eB, {
+ return /*#__PURE__*/ F.createElement(LL, { values: [[eB, a], [tB, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
@@ -40721,11 +40728,11 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
...e,
ref: t
}));
-}), eB = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(eB), { isFocused: f, isFocusVisible: p, focusProps: m } = LD(), h = a || o, g = (0, F.useContext)($z), { hoverProps: _, isHovered: v } = VD({
+}), tB = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(tB), { isFocused: f, isFocusVisible: p, focusProps: m } = LD(), h = a || o, g = (0, F.useContext)(eB), { hoverProps: _, isHovered: v } = VD({
...e,
isDisabled: h
- }), y = LL({
+ }), y = RL({
...e,
defaultClassName: u,
values: {
@@ -40741,7 +40748,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
state: g
}
}), b = Zw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(UL.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(WL.label, {
...q(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -40758,7 +40765,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
...q(r, m),
ref: l
})), y.children);
-}), tB = 10, nB = 5, rB = class {
+}), nB = 10, rB = 5, iB = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -40768,7 +40775,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > nB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > tB && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > rB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > nB && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -40847,11 +40854,11 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > nB && i) {
+ if (Math.abs(r - c.lastSwitchY) > rB && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > tB && a) {
+ if (l > nB && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -40936,8 +40943,8 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ lw(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, iB = "row-header-column-" + Math.random().toString(36).slice(2), aB = "row-header-column-" + Math.random().toString(36).slice(2); iB === aB;) aB = "row-header-column-" + Math.random().toString(36).slice(2);
-function oB(e, t) {
+}, aB = "row-header-column-" + Math.random().toString(36).slice(2), oB = "row-header-column-" + Math.random().toString(36).slice(2); aB === oB;) oB = "row-header-column-" + Math.random().toString(36).slice(2);
+function sB(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -41027,7 +41034,7 @@ var wme = class extends Cme {
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: iB,
+ key: aB,
value: null,
textValue: "",
level: 0,
@@ -41042,7 +41049,7 @@ var wme = class extends Cme {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: aB,
+ key: oB,
value: null,
textValue: "",
level: 0,
@@ -41069,7 +41076,7 @@ var wme = class extends Cme {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = oB(s, a);
+ let l = sB(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -41137,7 +41144,7 @@ function Eme(e) {
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function sB(e, t) {
+function cB(e, t) {
if (typeof e == "string") {
let n = e.match(/^(\d+)(?=%$)/);
if (!n) throw Error("Only percentages or numbers are supported for static column widths");
@@ -41145,19 +41152,19 @@ function sB(e, t) {
}
return e;
}
-function cB(e, t) {
- return e == null ? 2 ** 53 - 1 : sB(e, t);
-}
function lB(e, t) {
- return e == null ? 0 : sB(e, t);
+ return e == null ? 2 ** 53 - 1 : cB(e, t);
+}
+function uB(e, t) {
+ return e == null ? 0 : cB(e, t);
}
function Dme(e, t, n, r, i) {
let a = e, o = Math.floor(e), s = e - o > 0;
e = o;
let c = !1, l = t.map((t, a) => {
let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;
- Tme(o) ? (l = sB(o, e), s = !0) : (u = Eme(o), u <= 0 && (s = !0));
- let f = lB(t.minWidth ?? i?.(a) ?? 0, e), p = cB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ Tme(o) ? (l = cB(o, e), s = !0) : (u = Eme(o), u <= 0 && (s = !0));
+ let f = uB(t.minWidth ?? i?.(a) ?? 0, e), p = lB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
baseSize: l,
@@ -41240,7 +41247,7 @@ var kme = class {
key: e.key
})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {
let i = t.columns[r].key, a = t.columns[r];
- this.columnWidths.set(i, n), this.columnMinWidths.set(i, lB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, cB(a.props.maxWidth, e));
+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, uB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, lB(a.props.maxWidth, e));
}), this.columnWidths;
}
};
@@ -41298,7 +41305,7 @@ function Ame(e, t) {
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
function jme(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || lz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || uz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
@@ -41309,7 +41316,7 @@ function jme(e) {
}
a(e, r);
};
- let o = (0, F.useMemo)(() => new dz(t, r), [t, r]), s = (0, F.useRef)(null);
+ let o = (0, F.useMemo)(() => new fz(t, r), [t, r]), s = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -41362,7 +41369,7 @@ function Nme(e) {
i,
r,
a
- ]), c = mz(e, (0, F.useCallback)((e) => new wme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = jme({
+ ]), c = hz(e, (0, F.useCallback)((e) => new wme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = jme({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -41418,7 +41425,7 @@ var Ime = class extends vS {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new vB(-2);
+ return new yB(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -41444,7 +41451,7 @@ var Ime = class extends vS {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = oB(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = sB(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -41525,9 +41532,9 @@ var Ime = class extends vS {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new mB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new hB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, uB = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, dB = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = iw(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
BS(() => {
let e = r.current;
@@ -41557,17 +41564,17 @@ var Ime = class extends vS {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
render: e.render,
...Zw(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(uB.Provider, { value: s }, e.children));
-}), Rme = /*#__PURE__*/ (0, F.createContext)(null), dB = /*#__PURE__*/ (0, F.createContext)(null), fB = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, Rme);
- let n = lz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
+ }, /*#__PURE__*/ F.createElement(dB.Provider, { value: s }, e.children));
+}), Rme = /*#__PURE__*/ (0, F.createContext)(null), fB = /*#__PURE__*/ (0, F.createContext)(null), pB = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, Rme);
+ let n = uz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -41588,15 +41595,15 @@ var Ime = class extends vS {
collection: r
}));
}), Bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.table, {
+ }) : /*#__PURE__*/ F.createElement(WL.table, {
...e,
ref: t
});
-}), pB = {
+}), mB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41607,8 +41614,8 @@ var Ime = class extends vS {
}
};
function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = zL(e, t, WL);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(uB);
+ [e, t] = BL(e, t, GL);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(dB);
t = iw((0, F.useMemo)(() => YC(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = lE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);
@@ -41619,13 +41626,13 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Pme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(YL), { dragAndDropHooks: _ } = e, { gridProps: v } = _ce({
+ }), f = Pme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(XL), { dragAndDropHooks: _ } = e, { gridProps: v } = gce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Uw(), [k] = (0, F.useState)(() => new rB());
+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Uw(), [k] = (0, F.useState)(() => new iB());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -41660,12 +41667,12 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === pB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === pB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === mB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === mB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = LD(), ee = LL({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = LD(), ee = RL({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -41682,17 +41689,17 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let ne = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(IL, { values: [
- [dB, f],
- [fB, P],
- [QR, {
+ return /*#__PURE__*/ F.createElement(LL, { values: [
+ [fB, f],
+ [pB, P],
+ [$R, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [$R, { render: Qme }],
- [WL, null],
- [GL, null]
+ [ez, { render: Qme }],
+ [GL, null],
+ [KL, null]
] }, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(Bme, {
...q(ne, ee, v, A, w?.collectionProps),
style: te,
@@ -41703,27 +41710,27 @@ function Vme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(g, {
+ }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: tz(y, _, C)
+ persistedKeys: nz(y, _, C)
})))), E);
}
-var Hme = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends mS {
+var Hme = /*#__PURE__*/ (0, F.createContext)(null), hB = class extends mS {
static {
this.type = "tableheader";
}
}, Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.thead, {
+ }) : /*#__PURE__*/ F.createElement(WL.thead, {
...e,
ref: t
});
-}), hB = /*#__PURE__*/ vw(mB, (e, t) => {
- let n = (0, F.useContext)(dB).collection, r = SS({
+}), gB = /*#__PURE__*/ vw(hB, (e, t) => {
+ let n = (0, F.useContext)(fB).collection, r = SS({
items: n.headerRows,
children: (0, F.useCallback)((e) => {
switch (e.type) {
@@ -41731,11 +41738,11 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends mS {
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = WA(), { hoverProps: a, isHovered: o } = VD({
+ }), { rowGroupProps: i } = GA(), { hoverProps: a, isHovered: o } = VD({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = LL({
+ }), s = RL({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
@@ -41751,7 +41758,7 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends mS {
dependencies: e.dependencies,
items: e.columns
}, e.children)), Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
+ let { isVirtualized: n } = (0, F.useContext)(XL);
return n ? /*#__PURE__*/ F.createElement("div", {
...e,
ref: t
@@ -41761,14 +41768,14 @@ var Hme = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends mS {
});
});
function Gme({ item: e }) {
- let t = (0, F.useRef)(null), n = (0, F.useContext)(dB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(YL), { rowProps: a } = Cce({
+ let t = (0, F.useRef)(null), n = (0, F.useContext)(fB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(XL), { rowProps: a } = Sce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Ace(n);
+ }, n, t), { checkboxProps: o } = kce(n);
return /*#__PURE__*/ F.createElement(Wme, {
...a,
ref: t
- }, /*#__PURE__*/ F.createElement(IL, { values: [[oR, { slots: { selection: o } }], [sR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [[sR, { slots: { selection: o } }], [cR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
collection: n.collection,
parent: e
})));
@@ -41778,23 +41785,23 @@ var Kme = class extends mS {
this.type = "column";
}
}, qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.th, {
+ }) : /*#__PURE__*/ F.createElement(WL.th, {
...e,
ref: t
});
-}), gB = /*#__PURE__*/ _w(Kme, (e, t, n) => {
- let r = iw(t), i = (0, F.useContext)(dB), { isVirtualized: a } = (0, F.useContext)(YL), { columnHeaderProps: o, isPressed: s } = bce({
+}), _B = /*#__PURE__*/ _w(Kme, (e, t, n) => {
+ let r = iw(t), i = (0, F.useContext)(fB), { isVirtualized: a } = (0, F.useContext)(XL), { columnHeaderProps: o, isPressed: s } = yce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = LD(), d = (0, F.useContext)(fB), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = LD(), d = (0, F.useContext)(pB), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = VD({ isDisabled: !e.allowsSorting }), h = LL({
+ let { hoverProps: p, isHovered: m } = VD({ isDisabled: !e.allowsSorting }), h = RL({
...e,
id: void 0,
children: n.rendered,
@@ -41833,14 +41840,14 @@ var Kme = class extends mS {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [[_B, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [[vB, {
column: n,
triggerRef: r
- }], [YL, qL]] }, h.children));
-}), _B = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = (0, F.useContext)(fB);
+ }], [XL, JL]] }, h.children));
+}), vB = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = (0, F.useContext)(pB);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = Yw(Fme(ZR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(uB), { column: s, triggerRef: c } = (0, F.useContext)(_B), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Sce({
+ let r = Yw(Fme(QR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(dB), { column: s, triggerRef: c } = (0, F.useContext)(vB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = xce({
column: s,
"aria-label": e["aria-label"] || r.format("tableResizer"),
onResizeStart: i,
@@ -41855,7 +41862,7 @@ var Kme = class extends mS {
let e = window.getComputedStyle(C.current);
T(e.cursor);
}, [C, S]);
- let E = LL({
+ let E = RL({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -41866,7 +41873,7 @@ var Kme = class extends mS {
resizableDirection: S
}
}), D = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
ref: C,
role: "presentation",
...q(D, E, u, _),
@@ -41889,24 +41896,24 @@ var Kme = class extends mS {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), vB = class extends hS {
+}), yB = class extends hS {
static {
this.type = "tablebody";
}
}, Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.tbody, {
+ }) : /*#__PURE__*/ F.createElement(WL.tbody, {
...e,
ref: t
});
-}), yB = /*#__PURE__*/ vw(vB, (e, t, n) => {
- let r = (0, F.useContext)(dB), { isVirtualized: i } = (0, F.useContext)(YL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(YL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(QR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), bB = /*#__PURE__*/ vw(yB, (e, t, n) => {
+ let r = (0, F.useContext)(fB), { isVirtualized: i } = (0, F.useContext)(XL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(XL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)($R), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = LL({
+ }, p = RL({
...e,
id: void 0,
children: void 0,
@@ -41915,17 +41922,17 @@ var Kme = class extends mS {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(xB, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(SB, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(wB, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = WA(), _ = Zw(e, { global: !0 });
+ let { rowGroupProps: g } = GA(), _ = Zw(e, { global: !0 });
return /*#__PURE__*/ F.createElement(Yme, {
...q(_, p, g),
ref: t,
@@ -41933,7 +41940,7 @@ var Kme = class extends mS {
}, l && /*#__PURE__*/ F.createElement(rhe, null), /*#__PURE__*/ F.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: ez(s, c)
+ renderDropIndicator: tz(s, c)
}), m);
});
(class extends hS {
@@ -41941,7 +41948,7 @@ var Kme = class extends mS {
this.type = "tablefooter";
}
});
-var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xme = class extends mS {
+var xB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xme = class extends mS {
static {
this.type = "item";
}
@@ -41953,17 +41960,17 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
}
return null;
}
-}, xB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, SB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.tr, {
+ }) : /*#__PURE__*/ F.createElement(WL.tr, {
...e,
ref: t
});
-}), SB = /*#__PURE__*/ vw(Xme, (e, t, n) => {
- let r = iw(t), i = (0, F.useContext)(dB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(QR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(YL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Ece({
+}), CB = /*#__PURE__*/ vw(Xme, (e, t, n) => {
+ let r = iw(t), i = (0, F.useContext)(fB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)($R), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(XL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Tce({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -41972,7 +41979,7 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = kce({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Oce({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -41987,7 +41994,7 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
(0, F.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = LL({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = RL({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -42009,10 +42016,10 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
level: n.level + 1
}
}), ee = Zw(e, { global: !0 });
- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(xB, {
+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(SB, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(wB, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -42021,7 +42028,7 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ F.createElement(xB, {
+ }))), /*#__PURE__*/ F.createElement(SB, {
...q(ee, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -42037,17 +42044,17 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [oR, { slots: {
- [FL]: {},
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [sR, { slots: {
+ [IL]: {},
selection: x
} }],
- [sR, { slots: {
- [FL]: {},
+ [cR, { slots: {
+ [IL]: {},
selection: x
} }],
- [$L, { slots: {
- [FL]: {},
+ [eR, { slots: {
+ [IL]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -42055,8 +42062,8 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
style: { pointerEvents: "none" }
}
} }],
- [iz, { isSelected: p.isSelected }],
- [bB, { isFocusVisibleWithinRow: _ }]
+ [az, { isSelected: p.isSelected }],
+ [xB, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ F.createElement(l, {
collection: i.collection,
parent: n
@@ -42073,25 +42080,25 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
static {
this.type = "cell";
}
-}, CB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, wB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.td, {
+ }) : /*#__PURE__*/ F.createElement(WL.td, {
...e,
ref: t
});
-}), wB = /*#__PURE__*/ _w(Zme, (e, t, n) => {
- let r = iw(t), i = (0, F.useContext)(dB), { dragState: a } = (0, F.useContext)(QR), { isVirtualized: o } = (0, F.useContext)(YL);
+}), TB = /*#__PURE__*/ _w(Zme, (e, t, n) => {
+ let r = iw(t), i = (0, F.useContext)(fB), { dragState: a } = (0, F.useContext)($R), { isVirtualized: o } = (0, F.useContext)(XL);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = vce({
+ let { gridCellProps: s, isPressed: c } = _ce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = LD(), { hoverProps: f, isHovered: p } = VD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(bB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = LL({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = LD(), { hoverProps: f, isHovered: p } = VD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(xB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = RL({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -42111,7 +42118,7 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
isTreeColumn: n.column.key === i.treeColumn
}
}), S = Zw(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ F.createElement(CB, {
+ return delete S.id, /*#__PURE__*/ F.createElement(wB, {
...q(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -42125,11 +42132,11 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Xm
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, x.children));
+ }, /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, x.children));
});
function Qme(e, t) {
t = iw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
return /*#__PURE__*/ F.createElement(nhe, {
@@ -42142,26 +42149,26 @@ function Qme(e, t) {
});
}
var $me = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.tr, {
+ }) : /*#__PURE__*/ F.createElement(WL.tr, {
...e,
ref: t
});
}), ehe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+ let { isVirtualized: n } = (0, F.useContext)(XL);
+ return n ? /*#__PURE__*/ F.createElement(WL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.td, {
+ }) : /*#__PURE__*/ F.createElement(WL.td, {
...e,
ref: t
});
});
function the(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(dB), { visuallyHiddenProps: c } = vE(), l = LL({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(fB), { visuallyHiddenProps: c } = vE(), l = RL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
@@ -42187,12 +42194,12 @@ function the(e, t) {
}
var nhe = /*#__PURE__*/ (0, F.forwardRef)(the);
function rhe() {
- let e = (0, F.useContext)(dB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(QR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vE();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(xB, {
+ let e = (0, F.useContext)(fB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)($R), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vE();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(SB, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(wB, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -42204,8 +42211,8 @@ function rhe() {
})));
}
_w(gS, function(e, t, n) {
- let r = (0, F.useContext)(dB), { isVirtualized: i } = (0, F.useContext)(YL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+ let r = (0, F.useContext)(fB), { isVirtualized: i } = (0, F.useContext)(XL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
+ vz((0, F.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -42215,7 +42222,7 @@ _w(gS, function(e, t, n) {
s,
r?.collection
]), u);
- let d = LL({
+ let d = RL({
...c,
id: void 0,
children: n.rendered,
@@ -42223,10 +42230,10 @@ _w(gS, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xB, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(SB, {
style: { height: 0 },
- inert: oz(!0)
- }, /*#__PURE__*/ F.createElement(CB, { style: {
+ inert: sz(!0)
+ }, /*#__PURE__*/ F.createElement(wB, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ F.createElement("div", {
@@ -42237,14 +42244,14 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ F.createElement(xB, {
+ }))), a && d.children && /*#__PURE__*/ F.createElement(SB, {
...q(Zw(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(wB, {
role: "rowheader",
...p,
style: m
@@ -42252,7 +42259,7 @@ _w(gS, function(e, t, n) {
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
function ihe(e) {
- let [t, n] = lE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = hz({
+ let [t, n] = lE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = gz({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -42281,17 +42288,17 @@ function ahe(e) {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? TB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? EB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = TB(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = EB(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function TB(e, t) {
+function EB(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -42300,8 +42307,8 @@ function TB(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var EB = /*#__PURE__*/ (0, F.createContext)(null), DB = /*#__PURE__*/ (0, F.createContext)(null), ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, EB);
+var DB = /*#__PURE__*/ (0, F.createContext)(null), OB = /*#__PURE__*/ (0, F.createContext)(null), ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = BL(e, t, DB);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, F.useMemo)(() => typeof n == "function" ? n({
orientation: r,
@@ -42325,12 +42332,12 @@ function she({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = LL({
+ ]), l = RL({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
...q(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -42338,20 +42345,20 @@ function she({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [[EB, e], [DB, i]] }, l.children));
+ }, /*#__PURE__*/ F.createElement(LL, { values: [[DB, e], [OB, i]] }, l.children));
}
-var OB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return (0, F.useContext)(DB) ? /*#__PURE__*/ F.createElement(che, {
+var kB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return (0, F.useContext)(OB) ? /*#__PURE__*/ F.createElement(che, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ F.createElement(xw, e);
});
function che({ props: e, forwardedRef: t }) {
- let n = (0, F.useContext)(DB), { CollectionRoot: r } = (0, F.useContext)(YL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RL(EB), o = iw(t), { tabListProps: s } = Nce({
+ let n = (0, F.useContext)(OB), { CollectionRoot: r } = (0, F.useContext)(XL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = zL(DB), o = iw(t), { tabListProps: s } = Mce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = LL({
+ }, n, o), c = RL({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -42360,13 +42367,13 @@ function che({ props: e, forwardedRef: t }) {
state: n
}
}), l = Zw(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ F.createElement(UL.div, {
+ return delete l.id, /*#__PURE__*/ F.createElement(WL.div, {
...q(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(r, {
+ }, /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(r, {
collection: n.collection,
- persistedKeys: XL(n.selectionManager.focusedKey)
+ persistedKeys: ZL(n.selectionManager.focusedKey)
})));
}
var lhe = /*#__PURE__*/ _w(class extends mS {
@@ -42374,7 +42381,7 @@ var lhe = /*#__PURE__*/ _w(class extends mS {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(DB), i = iw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = jce({
+ let r = (0, F.useContext)(OB), i = iw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Ace({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = LD(), { hoverProps: f, isHovered: p } = VD({
@@ -42382,7 +42389,7 @@ var lhe = /*#__PURE__*/ _w(class extends mS {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = LL({
+ }), m = RL({
...e,
id: void 0,
children: n.rendered,
@@ -42395,7 +42402,7 @@ var lhe = /*#__PURE__*/ _w(class extends mS {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? UL.a : UL.div, g = Zw(e, { global: !0 });
+ }), h = n.props.href ? WL.a : WL.div, g = Zw(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {
...q(g, m, a, l, f),
ref: i,
@@ -42405,11 +42412,11 @@ var lhe = /*#__PURE__*/ _w(class extends mS {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ F.createElement(iz.Provider, { value: { isSelected: o } }, m.children));
+ }, /*#__PURE__*/ F.createElement(az.Provider, { value: { isSelected: o } }, m.children));
}), uhe = /*#__PURE__*/ lw(function(e, t) {
- let n = (0, F.useContext)(DB), r = iw(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
+ let n = (0, F.useContext)(OB), r = iw(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = Cz(r, i);
+ let s = wz(r, i);
return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(dhe, {
...e,
tabPanelRef: r,
@@ -42418,13 +42425,13 @@ var lhe = /*#__PURE__*/ _w(class extends mS {
});
});
function dhe(e) {
- let t = (0, F.useContext)(DB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Pce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = LD(), d = t.selectedKey === e.id, f = Sz(r) && !i, p = LL({
+ let t = (0, F.useContext)(OB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Nce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = LD(), d = t.selectedKey === e.id, f = Cz(r) && !i, p = RL({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: oz(!d),
+ isInert: sz(!d),
isEntering: f,
isExiting: a,
state: t
@@ -42432,27 +42439,27 @@ function dhe(e) {
}), m = Zw(o, { global: !0 });
delete m.id;
let h = d ? q(m, s, c, p) : q(m, p);
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: oz(!d || e.inert),
+ inert: sz(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [[EB, null], [DB, null]] }, /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, p.children)));
+ }, /*#__PURE__*/ F.createElement(LL, { values: [[DB, null], [OB, null]] }, /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
+var AB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
}, phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, kB);
+ [e, t] = BL(e, t, AB);
let { hoverProps: n, isHovered: r } = VD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = LD({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RL({
...e,
values: {
isHovered: r,
@@ -42463,7 +42470,7 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ F.createElement(UL.textarea, {
+ return /*#__PURE__*/ F.createElement(WL.textarea, {
...q(fhe(e), o, n),
...c,
ref: t,
@@ -42474,17 +42481,17 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
"data-invalid": s || void 0
});
}), mhe = /*#__PURE__*/ (0, F.createContext)(null), hhe = /*#__PURE__*/ lw(function(e, t) {
- [e, t] = zL(e, t, mhe);
- let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
- [e, i] = zL(e, i, GL);
- let [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tse({
- ...VL(e),
+ [e, t] = BL(e, t, mhe);
+ let { validationBehavior: n } = zL(oR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
+ [e, i] = BL(e, i, KL);
+ let [a, o] = VL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tse({
+ ...HL(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, F.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = LL({
+ }, [i]), h = RL({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -42494,7 +42501,7 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
},
defaultClassName: "react-aria-TextField"
}), g = Zw(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ F.createElement(UL.div, {
+ return delete g.id, /*#__PURE__*/ F.createElement(WL.div, {
...g,
...h,
ref: t,
@@ -42503,29 +42510,29 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [ZL, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [QL, {
...l,
ref: a
}],
- [dR, {
+ [fR, {
...u,
ref: m
}],
- [kB, {
+ [AB, {
...u,
ref: m
}],
- [lR, {
+ [uR, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [rR, { slots: {
+ [iR, { slots: {
description: d,
errorMessage: f
} }],
- [iR, p]
+ [aR, p]
] }, h.children));
}), ghe = class e extends vS {
withExpandedKeys(t, n) {
@@ -42599,8 +42606,8 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, _he = /*#__PURE__*/ (0, F.createContext)(null), AB = /*#__PURE__*/ (0, F.createContext)(null), vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = zL(e, t, _he), /*#__PURE__*/ F.createElement(mw, {
+}, _he = /*#__PURE__*/ (0, F.createContext)(null), jB = /*#__PURE__*/ (0, F.createContext)(null), vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = BL(e, t, _he), /*#__PURE__*/ F.createElement(mw, {
content: /*#__PURE__*/ F.createElement(xw, e),
createCollection: () => new ghe()
}, (n) => /*#__PURE__*/ F.createElement(yhe, {
@@ -42608,7 +42615,7 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), fhe = (e) => {
collection: n,
treeRef: t
}));
-}), jB = {
+}), MB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -42626,9 +42633,9 @@ function yhe({ props: e, collection: t, treeRef: n }) {
(0, F.useEffect)(() => {
c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
}, [o, s]);
- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(YL), [y, b] = lE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(XL), [y, b] = lE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
Ehe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
- let D = kz({
+ let D = Az({
...e,
selectionMode: u,
expandedKeys: y,
@@ -42636,7 +42643,7 @@ function yhe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Fce({
+ }), { gridProps: O } = Pce({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -42650,7 +42657,7 @@ function yhe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;
}
- let [te] = (0, F.useState)(() => new rB());
+ let [te] = (0, F.useState)(() => new iB());
if (s && r) {
A = r.useDroppableCollectionState({
collection: D.collection,
@@ -42680,7 +42687,7 @@ function yhe({ props: e, collection: t, treeRef: n }) {
let t = A?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = D.collection.getItem(t.key);
- (e.key === jB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === jB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);
+ (e.key === MB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === MB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);
}
}
}, A, n), M = A.isDropTarget({ type: "root" });
@@ -42693,7 +42700,7 @@ function yhe({ props: e, collection: t, treeRef: n }) {
selectionMode: D.selectionManager.selectionMode,
allowsDragging: !!P,
state: D
- }, ae = LL({
+ }, ae = RL({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -42711,7 +42718,7 @@ function yhe({ props: e, collection: t, treeRef: n }) {
}, r));
}
let se = Zw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(xT, null, /*#__PURE__*/ F.createElement(WL.div, {
...q(se, ae, O, ne, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -42721,19 +42728,19 @@ function yhe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": I || void 0,
"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,
"data-allows-dragging": !!P || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [AB, D],
- [QR, {
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [jB, D],
+ [$R, {
dragAndDropHooks: r,
dragState: k,
dropState: A
}],
- [$R, { render: She }]
- ] }, s && /*#__PURE__*/ F.createElement(The, null), /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(h, {
+ [ez, { render: She }]
+ ] }, s && /*#__PURE__*/ F.createElement(The, null), /*#__PURE__*/ F.createElement(iz, null, /*#__PURE__*/ F.createElement(h, {
collection: D.collection,
- persistedKeys: tz(D.selectionManager, r, A),
+ persistedKeys: nz(D.selectionManager, r, A),
scrollRef: n,
- renderDropIndicator: ez(r, A)
+ renderDropIndicator: tz(r, A)
}))), oe)), ee);
}
var bhe = /*#__PURE__*/ _w(class extends mS {
@@ -42741,19 +42748,19 @@ var bhe = /*#__PURE__*/ _w(class extends mS {
this.type = "content";
}
}, function(e) {
- let t = (0, F.useContext)(MB), n = LL({
+ let t = (0, F.useContext)(NB), n = RL({
children: e.children,
values: t
});
- return /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, n.children);
-}), MB = /*#__PURE__*/ (0, F.createContext)(null), xhe = /*#__PURE__*/ vw(class extends mS {
+ return /*#__PURE__*/ F.createElement(XL.Provider, { value: JL }, n.children);
+}), NB = /*#__PURE__*/ (0, F.createContext)(null), xhe = /*#__PURE__*/ vw(class extends mS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(AB);
+ let r = (0, F.useContext)(jB);
t = iw(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(QR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Oj({
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)($R), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = kj({
node: n,
shouldSelectOnPressUp: !!a,
focusMode: e.focusMode,
@@ -42807,7 +42814,7 @@ var bhe = /*#__PURE__*/ _w(class extends mS {
A,
M,
j
- ]), N = LL({
+ ]), N = RL({
...e,
id: void 0,
children: n.rendered,
@@ -42857,7 +42864,7 @@ var bhe = /*#__PURE__*/ _w(class extends mS {
"aria-labelledby": `${ne} ${c.id}`,
tabIndex: -1,
ref: D
- }))), /*#__PURE__*/ F.createElement(UL.div, {
+ }))), /*#__PURE__*/ F.createElement(WL.div, {
...q(re, c, y, g, x, C?.dragProps),
...N,
ref: t,
@@ -42877,17 +42884,17 @@ var bhe = /*#__PURE__*/ _w(class extends mS {
}, /*#__PURE__*/ F.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [oR, { slots: {
- [FL]: {},
+ }, /*#__PURE__*/ F.createElement(LL, { values: [
+ [sR, { slots: {
+ [IL]: {},
selection: S
} }],
- [sR, { slots: {
- [FL]: {},
+ [cR, { slots: {
+ [IL]: {},
selection: S
} }],
- [$L, { slots: {
- [FL]: {},
+ [eR, { slots: {
+ [IL]: {},
chevron: {
...u,
ref: T
@@ -42898,13 +42905,13 @@ var bhe = /*#__PURE__*/ _w(class extends mS {
style: { pointerEvents: "none" }
}
} }],
- [MB, { ...ee }],
- [iz, { isSelected: f.isSelected }]
+ [NB, { ...ee }],
+ [az, { isSelected: f.isSelected }]
] }, P))));
});
_w(gS, function(e, t, n) {
- let { isVirtualized: r } = (0, F.useContext)(YL), i = (0, F.useContext)(AB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+ let { isVirtualized: r } = (0, F.useContext)(XL), i = (0, F.useContext)(jB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
+ vz((0, F.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -42914,10 +42921,10 @@ _w(gS, function(e, t, n) {
s,
i?.collection
]), l), t = iw(t);
- let { rowProps: u, gridCellProps: d } = Oj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ let { rowProps: u, gridCellProps: d } = kj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = LL({
+ }, m = RL({
...c,
id: void 0,
children: n.rendered,
@@ -42930,7 +42937,7 @@ _w(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: oz(!0)
+ inert: sz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -42939,7 +42946,7 @@ _w(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ F.createElement(UL.div, {
+ })), a && m.children && /*#__PURE__*/ F.createElement(WL.div, {
ref: t,
...q(Zw(e), p),
...m,
@@ -42951,7 +42958,7 @@ _w(gS, function(e, t, n) {
});
function She(e, t) {
t = iw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)($R), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
return /*#__PURE__*/ F.createElement(whe, {
@@ -42964,7 +42971,7 @@ function She(e, t) {
});
}
function Che(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vE(), c = LL({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vE(), c = RL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -42973,7 +42980,7 @@ function Che(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(WL.div, {
...c,
role: "row",
"aria-level": a,
@@ -42988,7 +42995,7 @@ function Che(e, t) {
}
var whe = /*#__PURE__*/ (0, F.forwardRef)(Che);
function The() {
- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(QR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vE();
+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)($R), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vE();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -43022,7 +43029,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43030,7 +43037,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43038,7 +43045,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43062,7 +43069,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43070,7 +43077,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43126,7 +43133,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43134,7 +43141,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43150,7 +43157,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43166,7 +43173,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43182,7 +43189,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43198,7 +43205,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43206,7 +43213,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43246,7 +43253,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43262,7 +43269,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43270,7 +43277,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43278,7 +43285,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43294,7 +43301,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43302,7 +43309,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43350,7 +43357,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43374,7 +43381,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43382,7 +43389,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43390,7 +43397,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43398,7 +43405,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43406,7 +43413,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43422,7 +43429,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43446,7 +43453,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43454,7 +43461,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43462,7 +43469,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43478,7 +43485,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43494,7 +43501,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43526,7 +43533,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), uV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43550,7 +43557,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), uV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), dV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43558,7 +43565,7 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), dV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), fV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43590,13 +43597,21 @@ var Dhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));
+}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, F.createElement("path", { d: "M15 4V8H19V20H5V4H15ZM3.9985 2C3.44749 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.5489 21 20.9925L20.9997 7L16 2H3.9985ZM15.0008 11.667L10.1219 8.41435C10.0562 8.37054 9.979 8.34717 9.9 8.34717C9.6791 8.34717 9.5 8.52625 9.5 8.74717V15.2524C9.5 15.3314 9.5234 15.4086 9.5672 15.4743C9.6897 15.6581 9.9381 15.7078 10.1219 15.5852L15.0008 12.3326C15.0447 12.3033 15.0824 12.2656 15.1117 12.2217C15.2343 12.0379 15.1846 11.7895 15.0008 11.667Z" }));
// src/react/boardui/components/base/input/label.tsx
-function fV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsxs)(QL, {
+function pV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsxs)($L, {
"data-label": "true",
...a,
- className: JI("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: YI("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, I.jsx)("span", {
@@ -43612,17 +43627,17 @@ function fV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
});
}
// src/react/boardui/components/base/input/hint-text.tsx
-function pV({ isInvalid: e = !1, className: t, ...n }) {
+function mV({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, I.jsx)(hpe, {
slot: e ? "errorMessage" : "description",
...n,
- className: JI("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: YI("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
// src/react/boardui/components/base/input/input.tsx
-var mV = (0, F.createContext)({});
-function hV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(mV.Provider, {
+var hV = (0, F.createContext)({});
+function gV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(hV.Provider, {
value: {
size: e,
fieldClassName: t,
@@ -43631,13 +43646,13 @@ function hV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
children: /* @__PURE__ */ (0, I.jsx)(hhe, {
...a,
"data-input-size": e,
- className: JI("group flex h-max w-full flex-col items-start gap-1", r),
+ className: YI("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-hV.displayName = "TextField";
-var gV = YI({
+gV.displayName = "TextField";
+var _V = XI({
field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",
fieldSize: {
medium: "p-2",
@@ -43652,44 +43667,44 @@ var gV = YI({
input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",
icon: "size-5 shrink-0"
});
-function _V({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, F.useContext)(mV), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, I.jsx)(uR, {
+function vV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, F.useContext)(hV), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, I.jsx)(dR, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => JI(gV.field, d ? gV.fieldWithAddonSize[u] : gV.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => YI(_V.field, d ? _V.fieldWithAddonSize[u] : _V.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, I.jsxs)("div", {
- className: gV.content,
+ className: _V.content,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
- className: gV.leftSection,
+ className: _V.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {
- className: gV.icon,
+ className: _V.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, I.jsx)(xpe, {
ref: o,
...c,
- className: JI(gV.input, l.inputClassName, a)
+ className: YI(_V.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, I.jsx)(n, {
- className: gV.icon,
+ className: _V.icon,
"aria-hidden": !0
}) : null]
})
});
}
-_V.displayName = "InputBase";
-function vV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, I.jsx)(hV, {
+vV.displayName = "InputBase";
+function yV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, I.jsx)(gV, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- e && /* @__PURE__ */ (0, I.jsx)(fV, {
+ e && /* @__PURE__ */ (0, I.jsx)(pV, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, I.jsx)(_V, {
+ /* @__PURE__ */ (0, I.jsx)(vV, {
ref: c,
groupRef: l,
placeholder: r,
@@ -43698,25 +43713,25 @@ function vV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, I.jsx)(pV, {
+ t && /* @__PURE__ */ (0, I.jsx)(mV, {
isInvalid: d,
children: t
})
] })
});
}
-vV.displayName = "Input";
+yV.displayName = "Input";
// src/react/components/modal-frame.tsx
-var pge = {
+var mge = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl",
tutorial: "max-w-2xl"
};
-function yV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
+function bV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
let { isFocusVisible: o } = PC();
- return /* @__PURE__ */ (0, I.jsx)(Wz, {
+ return /* @__PURE__ */ (0, I.jsx)(Gz, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -43727,8 +43742,8 @@ function yV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
children: /* @__PURE__ */ (0, I.jsx)(rme, {
"data-modal-surface": "",
"data-modal-width": n,
- className: JI("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", pge[n], a),
- children: /* @__PURE__ */ (0, I.jsx)(Bz, {
+ className: YI("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", mge[n], a),
+ children: /* @__PURE__ */ (0, I.jsx)(Vz, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -43736,7 +43751,7 @@ function yV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
})
});
}
-function bV({ children: e }) {
+function xV({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -43744,12 +43759,12 @@ function bV({ children: e }) {
});
}
// src/react/components/note.tsx
-function xV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
+function SV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-note-layout": "",
- className: JI("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
+ className: YI("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
- className: JI("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
+ className: YI("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
children: [t ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-medium wrap-anywhere",
children: t
@@ -43766,37 +43781,37 @@ function xV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
switch (e) {
case "info": return /* @__PURE__ */ (0, I.jsx)("div", {
role: "status",
- className: JI("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
+ className: YI("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
children: s
});
case "success": return /* @__PURE__ */ (0, I.jsx)("div", {
role: "status",
- className: JI("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
+ className: YI("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
children: s
});
case "warning": return /* @__PURE__ */ (0, I.jsx)("div", {
role: "note",
- className: JI("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
+ className: YI("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
children: s
});
case "error": return /* @__PURE__ */ (0, I.jsx)("div", {
role: "alert",
- className: JI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
+ className: YI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
children: s
});
default: return /* @__PURE__ */ (0, I.jsx)("div", {
role: "note",
- className: JI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
+ className: YI("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
children: s
});
}
}
// src/react/components/empty-state.tsx
-var mge = {
+var hge = {
standard: "min-h-80 px-6 py-12",
compact: "min-h-60 px-4 py-6"
};
-function hge({ target: e, children: t }) {
+function gge({ target: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
@@ -43804,11 +43819,11 @@ function hge({ target: e, children: t }) {
children: t
});
}
-function SV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
+function CV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-empty-state": "",
"data-empty-size": i,
- className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${mge[i]}`,
+ className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${hge[i]}`,
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
@@ -43834,9 +43849,9 @@ function SV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }
});
}
// src/react/components/sprite-glyph.tsx
-var CV = /* @__PURE__ */ new Map();
-function wV(e) {
- let t = CV.get(e);
+var wV = /* @__PURE__ */ new Map();
+function TV(e) {
+ let t = wV.get(e);
if (t) return t;
let { wide: n, viewBox: r } = xn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
@@ -43852,10 +43867,10 @@ function wV(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
- return i.displayName = `SpriteGlyph(${e})`, CV.set(e, i), i;
+ return i.displayName = `SpriteGlyph(${e})`, wV.set(e, i), i;
}
// src/react/components/settings-dialog-close.tsx
-function TV({ label: e, id: t, onPress: n }) {
+function EV({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
id: t,
@@ -43870,60 +43885,60 @@ function TV({ label: e, id: t, onPress: n }) {
});
}
// src/react/settings/busy-props.ts
-function EV(e) {
+function DV(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
}
// src/react/library-shortcuts/library-shortcuts.ts
-var DV = ["library-shortcuts"], OV = "/api/library-shortcuts";
-function kV(e = !0) {
+var OV = ["library-shortcuts"], kV = "/api/library-shortcuts";
+function AV(e = !0) {
return Nt({
- queryKey: DV,
- queryFn: ({ signal: e }) => V(OV, e),
+ queryKey: OV,
+ queryFn: ({ signal: e }) => V(kV, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function AV() {
+function jV() {
return Pt({
- mutationKey: DV,
- mutationFn: (e) => H(OV, e),
+ mutationKey: OV,
+ mutationFn: (e) => H(kV, e),
onSuccess: (e, t) => {
- U.setQueryData(DV, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));
+ U.setQueryData(OV, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));
}
});
}
-function jV(e, t) {
+function MV(e, t) {
return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));
}
-function gge(e) {
+function _ge(e) {
return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Mn(e.kind, e.name, e.entity_id);
}
// src/react/library-shortcuts/shortcut-controls.tsx
-var MV = wV("star"), _ge = wV("bookmark-plus"), NV = wV("chevron-right"), PV = {
+var NV = TV("star"), vge = TV("bookmark-plus"), PV = TV("chevron-right"), FV = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, FV = {
- all: wV("star"),
- performer: wV("user-round"),
- creator: wV("user-round"),
- studio: wV("clapperboard"),
- series: wV("film"),
- agency: wV("briefcase"),
- tag: wV("tags"),
- filters: wV("list-filter")
-}, IV = [
+}, IV = {
+ all: TV("star"),
+ performer: TV("user-round"),
+ creator: TV("user-round"),
+ studio: TV("clapperboard"),
+ series: TV("film"),
+ agency: TV("briefcase"),
+ tag: TV("tags"),
+ filters: TV("list-filter")
+}, LV = [
["all", "全部"],
- ...Object.entries(PV),
+ ...Object.entries(FV),
["filters", "保存的筛选"]
];
-function LV({ label: e, children: t, ...n }) {
+function RV({ label: e, children: t, ...n }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...n,
@@ -43933,20 +43948,20 @@ function LV({ label: e, children: t, ...n }) {
children: t
});
}
-function RV({ item: e }) {
- return /* @__PURE__ */ (0, I.jsx)(vge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
+function zV({ item: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(yge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
-function vge({ item: e }) {
- yL();
- let t = kV(!1), n = (0, F.useRef)(t.data), r = AV(), i = t.data && t.data !== n.current ? jV(t.data.favorites || [], e) : e.favorite ?? (t.data ? jV(t.data.favorites || [], e) : !1);
+function yge({ item: e }) {
+ bL();
+ let t = AV(!1), n = (0, F.useRef)(t.data), r = jV(), i = t.data && t.data !== n.current ? MV(t.data.favorites || [], e) : e.favorite ?? (t.data ? MV(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
- /* @__PURE__ */ (0, I.jsx)(LV, {
+ /* @__PURE__ */ (0, I.jsx)(RV, {
"data-favorite": "",
"aria-pressed": !!i,
label: `${i ? "取消收藏" : "收藏"}${en(e.kind, e.name, e.entity_id)}`,
- ...EV(r.isPending),
+ ...DV(r.isPending),
onClick: () => {
r.isPending || r.mutate({
action: "favorite",
@@ -43957,9 +43972,9 @@ function vge({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Rs("") }
- }) : /* @__PURE__ */ (0, I.jsx)(MV, {})
+ }) : /* @__PURE__ */ (0, I.jsx)(NV, {})
}),
- r.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ r.isError ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: sr(r.error)
}) : null,
@@ -43973,38 +43988,38 @@ function vge({ item: e }) {
]
});
}
-function zV({ currentHref: e, kind: t }) {
+function BV({ currentHref: e, kind: t }) {
let [n, r] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, I.jsx)(EL, {
+ children: /* @__PURE__ */ (0, I.jsx)(DL, {
"data-shortcuts-trigger": "",
label: "我的收藏",
- icon: MV,
+ icon: NV,
"aria-haspopup": "dialog",
"aria-expanded": n,
onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, I.jsx)(yV, {
+ }), /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, I.jsx)(yge, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(bge, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function yge({ currentHref: e, kind: t, close: n }) {
- yL();
- let r = kV(), i = AV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
+function bge({ currentHref: e, kind: t, close: n }) {
+ bL();
+ let r = AV(), i = jV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, F.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = ML(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = NL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, F.useLayoutEffect)(() => {
b.current && (x.current = Io(b.current) || null);
}, []), (0, F.useLayoutEffect)(() => {
@@ -44017,7 +44032,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, F.useLayoutEffect)(() => {
x.current?.();
});
- let C = IV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
+ let C = LV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);
if (n < 0) return;
let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;
@@ -44040,7 +44055,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: C
- }), /* @__PURE__ */ (0, I.jsx)(TV, {
+ }), /* @__PURE__ */ (0, I.jsx)(EV, {
label: "关闭我的收藏",
onPress: n
})]
@@ -44070,8 +44085,8 @@ function yge({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- IV.map(([e, t]) => {
- let n = FV[e] || MV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ LV.map(([e, t]) => {
+ let n = IV[e] || NV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
@@ -44103,17 +44118,17 @@ function yge({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(MV, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(NV, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, I.jsx)(NV, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, I.jsx)(PV, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(_ge, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(vge, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, I.jsx)(NV, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, I.jsx)(PV, { "aria-hidden": !0 })
]
})]
})]
@@ -44132,7 +44147,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
"data-skeleton": "",
className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"
}) : null,
- r.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ r.isError ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -44141,16 +44156,16 @@ function yge({ currentHref: e, kind: t, close: n }) {
}),
children: sr(r.error)
}) : null,
- i.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ i.isError ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: sr(i.error)
}) : null,
E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(SV, {
+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(CV, {
size: "compact",
- icon: wV("list-filter"),
+ icon: TV("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/",
onClick: n,
@@ -44169,7 +44184,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
variant: "secondary",
size: "small",
"aria-label": `删除筛选${e.name}`,
- ...EV(i.isPending),
+ ...DV(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "delete_filter",
@@ -44184,7 +44199,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
label: "筛选名称",
value: a,
onChange: o,
@@ -44193,7 +44208,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
/* @__PURE__ */ (0, I.jsx)(J, {
type: "submit",
disabled: !a.trim(),
- ...EV(i.isPending),
+ ...DV(i.isPending),
children: "保存当前筛选"
}),
d ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -44204,16 +44219,16 @@ function yge({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: wV("search"),
+ leadingIcon: TV("search"),
value: l,
onChange: u
}),
- O.length ? null : /* @__PURE__ */ (0, I.jsx)(SV, {
+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(CV, {
size: "compact",
- icon: MV,
+ icon: NV,
title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",
actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -44223,7 +44238,7 @@ function yge({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/",
onClick: n,
@@ -44237,25 +44252,25 @@ function yge({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsxs)("a", {
- href: gge(e),
+ href: _ge(e),
"aria-label": en(e.kind, e.name, e.entity_id),
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, I.jsx)(bge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(xge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
children: en(e.kind, e.name, e.entity_id)
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: e.scope === "online" ? "在线标签" : PV[e.kind]
+ children: e.scope === "online" ? "在线标签" : FV[e.kind]
})]
})]
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
"aria-label": `取消收藏${en(e.kind, e.name, e.entity_id)}`,
- ...EV(i.isPending),
+ ...DV(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "favorite",
@@ -44273,8 +44288,8 @@ function yge({ currentHref: e, kind: t, close: n }) {
]
});
}
-function bge({ item: e }) {
- let t = FV[e.kind] || MV;
+function xge({ item: e }) {
+ let t = IV[e.kind] || NV;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -44292,11 +44307,11 @@ function bge({ item: e }) {
});
}
// src/react/components/board-navigation-link.tsx
-function xge(e) {
+function Sge(e) {
return /* @__PURE__ */ (0, I.jsx)("a", { ...e });
}
// src/react/boardui/components/foundations/icons/chevrons.tsx
-function Sge(e) {
+function Cge(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44310,7 +44325,7 @@ function Sge(e) {
})
});
}
-function Cge(e) {
+function wge(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -44324,7 +44339,7 @@ function Cge(e) {
})
});
}
-function BV(e) {
+function VV(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -44337,55 +44352,55 @@ function BV(e) {
});
}
// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function wge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function Tge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = F.Children.toArray(e).filter(F.isValidElement);
return /* @__PURE__ */ (0, I.jsx)("nav", {
ref: r,
"aria-label": t,
- className: JI("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
+ className: YI("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, I.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Cge, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(wge, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
})
});
}
-function VV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function HV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
}), e] });
if (i) return /* @__PURE__ */ (0, I.jsx)("li", {
"aria-current": "page",
- className: JI("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
+ className: YI("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
children: o
});
- let s = JI("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);
+ let s = YI("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);
return /* @__PURE__ */ (0, I.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, I.jsx)(xge, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(Sge, {
href: n,
className: s,
children: o
}) : /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: r,
- className: JI("cursor-pointer", s),
+ className: YI("cursor-pointer", s),
children: o
})
});
}
// src/react/boardui/components/foundations/direction/direction.tsx
-function HV() {
+function UV() {
return Uw().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
-var UV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", Tge = "w-[266px]", Ege = "flex w-full flex-col gap-1 outline-none", WV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", GV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+var WV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", Ege = "w-[266px]", Dge = "flex w-full flex-col gap-1 outline-none", GV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", KV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
-function Dge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = HV(), l = (0, F.useContext)(YL), u = l === qL && !s.dragAndDropHooks ? qV : l;
+function Oge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+ let c = UV(), l = (0, F.useContext)(XL), u = l === JL && !s.dragAndDropHooks ? JV : l;
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -44402,7 +44417,7 @@ function Dge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, I.jsx)(YL.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(XL.Provider, {
value: u,
children: /* @__PURE__ */ (0, I.jsx)(vhe, {
...s,
@@ -44411,13 +44426,13 @@ function Dge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => JI("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === qV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)
+ className: (e) => YI("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === JV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)
})
})
});
}
-function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = HV();
+function qV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
+ let d = UV();
return /* @__PURE__ */ (0, I.jsxs)(xhe, {
...u,
ref: l,
@@ -44426,11 +44441,11 @@ function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
paddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,
...typeof c == "function" ? c(e) : c
}),
- className: (e) => JI("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),
+ className: (e) => YI("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),
children: [/* @__PURE__ */ (0, I.jsx)(bhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? JB : KB : Hhe);
+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? YB : qB : Hhe);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(kge, {
+ /* @__PURE__ */ (0, I.jsx)(Age, {
state: l,
id: u,
level: c,
@@ -44440,20 +44455,20 @@ function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(eR, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(tR, {
slot: "chevron",
isDisabled: s,
className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, I.jsx)(FB, {
+ children: /* @__PURE__ */ (0, I.jsx)(IB, {
"aria-hidden": !0,
- className: JI("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
+ className: YI("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
- className: JI("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
+ className: YI("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
}), f && /* @__PURE__ */ (0, I.jsx)(f, {
"aria-hidden": !0,
- className: JI("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
+ className: YI("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
})]
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -44468,24 +44483,24 @@ function KV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var qV = {
- ...qL,
- CollectionRoot: Oge
+var JV = {
+ ...JL,
+ CollectionRoot: kge
};
-function Oge({ collection: e, ...t }) {
- let n = (0, F.useContext)(AB);
+function kge({ collection: e, ...t }) {
+ let n = (0, F.useContext)(jB);
return n ? /* @__PURE__ */ (0, I.jsx)(jx, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Age, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(jge, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, I.jsx)(qL.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, I.jsx)(JL.CollectionRoot, {
collection: e,
...t
});
}
-function kge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function Age({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
let o = e.collection.getItem(t);
if (!o) return null;
let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;
@@ -44518,7 +44533,7 @@ function kge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
height: "7",
viewBox: `0 0 ${i} 7`,
fill: "none",
- className: JI("absolute start-0", a === "rtl" && "-scale-x-100"),
+ className: YI("absolute start-0", a === "rtl" && "-scale-x-100"),
style: { top: "calc(50% - 6px)" },
children: /* @__PURE__ */ (0, I.jsx)("path", {
d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,
@@ -44544,7 +44559,7 @@ function kge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function Age({ state: e, children: t }) {
+function jge({ state: e, children: t }) {
let n = Ox(), r = tS(), [i, a] = (0, F.useState)(e);
return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(pS.div, {
role: "presentation",
@@ -44585,14 +44600,14 @@ function Age({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, I.jsx)(AB.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(jB.Provider, {
value: n ? e : i,
children: t
})
});
}
// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var JV = {
+var YV = {
md: {
box: "size-4",
glyph: "size-4",
@@ -44606,11 +44621,11 @@ var JV = {
gap: "gap-1.5"
}
};
-function YV({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = JV[t], c = n || r, l = o && !a;
+function XV({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = YV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
- className: JI("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? JI("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : JI("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: YI("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? YI("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : YI("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44633,23 +44648,23 @@ function YV({ state: e, size: t = "md" }) {
});
}
// src/react/boardui/components/base/checkbox/checkbox.tsx
-function XV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = JV[n];
+function ZV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = YV[n];
return /* @__PURE__ */ (0, I.jsx)(vpe, {
ref: r,
...i,
- className: (t) => JI("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(YV, {
+ className: (t) => YI("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(XV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: JI(a.label, "text-text-primary"),
+ className: YI(a.label, "text-text-primary"),
children: t
})] })
});
}
// src/react/components/overlay-scrollbar.ts
-function ZV() {
+function QV() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {
@@ -44661,43 +44676,43 @@ function ZV() {
}, []), e;
}
// src/react/providers.tsx
-var QV = null;
-function jge() {
- return QV?.isConnected || (QV = document.createElement("div"), QV.className = "peach-react", QV.dataset.reactOverlays = "", document.body.append(QV)), QV;
+var $V = null;
+function Mge() {
+ return $V?.isConnected || ($V = document.createElement("div"), $V.className = "peach-react", $V.dataset.reactOverlays = "", document.body.append($V)), $V;
}
-function $V({ children: e }) {
+function eH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)(oe, {
client: U,
children: /* @__PURE__ */ (0, I.jsx)(qre, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, I.jsx)(MD, {
- getContainer: jge,
+ getContainer: Mge,
children: e
})
})
});
}
// node_modules/sonner/dist/index.mjs
-function Mge(e) {
+function Nge(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var Nge = (e) => {
+var Pge = (e) => {
switch (e) {
- case "success": return Ige;
- case "info": return Rge;
- case "warning": return Lge;
- case "error": return zge;
+ case "success": return Lge;
+ case "info": return zge;
+ case "warning": return Rge;
+ case "error": return Bge;
default: return null;
}
-}, Pge = Array(12).fill(0), Fge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
+}, Fge = Array(12).fill(0), Ige = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Pge.map((e, t) => /*#__PURE__*/ F.createElement("div", {
+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Fge.map((e, t) => /*#__PURE__*/ F.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Ige = /*#__PURE__*/ F.createElement("svg", {
+})))), Lge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44708,7 +44723,7 @@ var Nge = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), Lge = /*#__PURE__*/ F.createElement("svg", {
+})), Rge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -44719,7 +44734,7 @@ var Nge = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), Rge = /*#__PURE__*/ F.createElement("svg", {
+})), zge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44730,7 +44745,7 @@ var Nge = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), zge = /*#__PURE__*/ F.createElement("svg", {
+})), Bge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44741,7 +44756,7 @@ var Nge = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), Bge = /*#__PURE__*/ F.createElement("svg", {
+})), Vge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -44762,7 +44777,7 @@ var Nge = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), Vge = () => {
+})), Hge = () => {
let [e, t] = F.useState(document.hidden);
return F.useEffect(() => {
let e = () => {
@@ -44770,7 +44785,7 @@ var Nge = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, Hge = 1, Uge = 100, eH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Hge++, tH = new class {
+}, Uge = 1, Wge = 100, tH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Uge++, nH = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -44780,10 +44795,10 @@ var Nge = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - Uge;
+ let e = this.toasts.length - Wge;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
- let { message: t, ...n } = e, r = eH(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = tH(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -44858,7 +44873,7 @@ var Nge = (e) => {
type: "default",
message: e
});
- else if (Gge(e) && !e.ok) {
+ else if (Kge(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !F.isValidElement(r) ? r : { message: r };
this.create({
@@ -44902,7 +44917,7 @@ var Nge = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = eH(t);
+ let n = tH(t);
return this.create({
...t,
jsx: e(n),
@@ -44911,34 +44926,34 @@ var Nge = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), Wge = (e, t) => tH.message(e, t), Gge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", nH = Object.assign(Wge, {
- success: tH.success,
- info: tH.info,
- warning: tH.warning,
- error: tH.error,
- custom: tH.custom,
- message: tH.message,
- promise: tH.promise,
- dismiss: tH.dismiss,
- loading: tH.loading
+}(), Gge = (e, t) => nH.message(e, t), Kge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", rH = Object.assign(Gge, {
+ success: nH.success,
+ info: nH.info,
+ warning: nH.warning,
+ error: nH.error,
+ custom: nH.custom,
+ message: nH.message,
+ promise: nH.promise,
+ dismiss: nH.dismiss,
+ loading: nH.loading
}, {
- getHistory: () => tH.toasts,
- getToasts: () => tH.getActiveToasts()
+ getHistory: () => nH.toasts,
+ getToasts: () => nH.getActiveToasts()
});
-Mge("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
-function rH(e) {
+Nge("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+function iH(e) {
return e.label !== void 0;
}
-var Kge = 3, qge = "24px", Jge = "16px", iH = 4e3, Yge = 356, Xge = 14, Zge = 45, Qge = 200;
-function aH(...e) {
+var qge = 3, Jge = "24px", Yge = "16px", aH = 4e3, Xge = 356, Zge = 14, Qge = 45, $ge = 200;
+function oH(...e) {
return e.filter(Boolean).join(" ");
}
-function $ge(e) {
+function e_e(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var e_e = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || iH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", L = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = F.useMemo(() => n.duration || y || iH, [n.duration, y]), be = F.useRef(0), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(null), [we, Te] = b.split("-"), Ee = F.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = Vge(), Oe = F.useMemo(() => e.swipeDirections ?? $ge(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = pe === "loading";
+var t_e = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || aH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", L = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = F.useMemo(() => n.duration || y || aH, [n.duration, y]), be = F.useRef(0), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(null), [we, Te] = b.split("-"), Ee = F.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = Hge(), Oe = F.useMemo(() => e.swipeDirections ?? e_e(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = pe === "loading";
xe.current = F.useMemo(() => _e * x + Ee, [_e, Ee]), F.useEffect(() => {
ce.current = ye;
}, [ye]), F.useEffect(() => {
@@ -44979,7 +44994,7 @@ var e_e = (e) => {
let je = F.useCallback(() => {
ee(!0), ae(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, Qge);
+ }, $ge);
}, [
n,
d,
@@ -45010,18 +45025,18 @@ var e_e = (e) => {
}, [je, n.delete]);
function Me() {
return w?.loading ? /*#__PURE__*/ F.createElement("div", {
- className: aH(C?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: oH(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": pe === "loading"
- }, w.loading) : /*#__PURE__*/ F.createElement(Fge, {
- className: aH(C?.loader, n?.classNames?.loader),
+ }, w.loading) : /*#__PURE__*/ F.createElement(Ige, {
+ className: oH(C?.loader, n?.classNames?.loader),
visible: pe === "loading"
});
}
- let Ne = n.icon || w?.[pe] || Nge(pe);
+ let Ne = n.icon || w?.[pe] || Pge(pe);
return /*#__PURE__*/ F.createElement("li", {
tabIndex: 0,
ref: ue,
- className: aH(_, he, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),
+ className: oH(_, he, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -45064,7 +45079,7 @@ var e_e = (e) => {
if (P || !L) return;
Ce.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Zge || a > .11)) ae(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), ne(!0);
+ if ((E === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Qge || a > .11)) ae(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), ne(!0);
else {
var o, s;
(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);
@@ -45103,46 +45118,46 @@ var e_e = (e) => {
onClick: Ae || !L ? () => {} : () => {
je(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: aH(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? Bge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
+ className: oH(C?.closeButton, n?.classNames?.closeButton)
+ }, w?.close ?? Vge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
"data-icon": "",
- className: aH(C?.icon, n?.classNames?.icon)
+ className: oH(C?.icon, n?.classNames?.icon)
}, pe === "loading" ? n.icon || Me() : n.promise ? Me() : null, pe === "loading" ? null : Ne) : null, /*#__PURE__*/ F.createElement("div", {
"data-content": "",
- className: aH(C?.content, n?.classNames?.content)
+ className: oH(C?.content, n?.classNames?.content)
}, /*#__PURE__*/ F.createElement("div", {
"data-title": "",
- className: aH(C?.title, n?.classNames?.title)
+ className: oH(C?.title, n?.classNames?.title)
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {
"data-description": "",
- className: aH(v, ge, C?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && rH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {
+ className: oH(v, ge, C?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && iH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- rH(n.cancel) && L && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());
+ iH(n.cancel) && L && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());
},
- className: aH(C?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && rH(n.action) ? /*#__PURE__*/ F.createElement("button", {
+ className: oH(C?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && iH(n.action) ? /*#__PURE__*/ F.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- rH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());
+ iH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());
},
- className: aH(C?.actionButton, n?.classNames?.actionButton)
+ className: oH(C?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function oH() {
+function sH() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function t_e(e, t) {
+function n_e(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Jge : qge;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Yge : Jge;
function o(e) {
[
"top",
@@ -45163,11 +45178,11 @@ function t_e(e, t) {
}) : o(a);
}), n;
}
-var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Kge, toastOptions: g, dir: _ = oH(), gap: v = Xge, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
- C((t) => (t.find((t) => t.id === e.id)?.delete || tH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var cH = /*#__PURE__*/ F.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = qge, toastOptions: g, dir: _ = sH(), gap: v = Zge, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
+ C((t) => (t.find((t) => t.id === e.id)?.delete || nH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return F.useEffect(() => tH.subscribe((e) => {
+ return F.useEffect(() => nH.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
C((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -45236,7 +45251,7 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return w.length ? /*#__PURE__*/ F.createElement("ol", {
key: t,
- dir: _ === "auto" ? oH() : _,
+ dir: _ === "auto" ? sH() : _,
tabIndex: -1,
ref: N,
className: c,
@@ -45246,10 +45261,10 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${Yge}px`,
+ "--width": `${Xge}px`,
"--gap": `${v}px`,
...m,
- ...t_e(l, u)
+ ...n_e(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -45267,7 +45282,7 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(e_e, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(t_e, {
key: n.id,
icons: y,
index: i,
@@ -45297,35 +45312,35 @@ var sH = /*#__PURE__*/ F.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), cH = "/api/library-processing", lH = ["library-processing"], n_e = (e, t, n) => {
+}), lH = "/api/library-processing", uH = ["library-processing"], r_e = (e, t, n) => {
let r = new URLSearchParams({
estimate: "1",
stage: e.stage || "all"
});
- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), V(`${cH}?${r}`, t);
-}, r_e = {
+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), V(`${lH}?${r}`, t);
+}, i_e = {
fetching_cover: "封面",
querying_metadata: "资料"
};
-function uH(e) {
+function dH(e) {
if (e?.status !== "running" || e.current_asset_id == null) return null;
- let t = r_e[e.current_action || ""];
+ let t = i_e[e.current_action || ""];
return !t || (e.waited_seconds || 0) < 120 ? null : {
what: t,
source: e.current_source
};
}
-function dH({ what: e, source: t }) {
+function fH({ what: e, source: t }) {
return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;
}
-var fH = (e) => !!e && [
+var pH = (e) => !!e && [
"running",
"pausing",
"paused",
"stopping"
-].includes(e.status), pH = (e) => e?.status === "failed" && e.outcome === "partial", mH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", hH = "/?loc=&thumb=0";
-function gH(e) {
- if (!fH(e)) return "";
+].includes(e.status), mH = (e) => e?.status === "failed" && e.outcome === "partial", hH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", gH = "/?loc=&thumb=0";
+function _H(e) {
+ if (!pH(e)) return "";
if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";
if (e.status === "paused") return "已暂停,继续后更新预估";
if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";
@@ -45336,30 +45351,30 @@ function gH(e) {
let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);
return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;
}
-var _H = (e) => V(cH, e);
-async function vH(e) {
+var vH = (e) => V(lH, e);
+async function yH(e) {
await U.fetchQuery({
- queryKey: lH,
- queryFn: () => _H(e)
+ queryKey: uH,
+ queryFn: () => vH(e)
});
}
-var i_e = 2e3, a_e = 1e4, yH = "连接中断,正在重新读取处理进度", o_e = {
+var a_e = 2e3, o_e = 1e4, bH = "连接中断,正在重新读取处理进度", s_e = {
manual: "在网页发起",
scheduled: "定时发起",
startup: "服务启动时自动发起",
cli: "由命令行或托盘发起"
};
-function s_e(e, t) {
+function c_e(e, t) {
return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;
}
-function c_e(e) {
- let t = o_e[e.trigger || ""];
+function l_e(e) {
+ let t = s_e[e.trigger || ""];
return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;
}
-function bH(e, t) {
- return fH(e) ? i_e : t ? a_e : !1;
+function xH(e, t) {
+ return pH(e) ? a_e : t ? o_e : !1;
}
-var l_e = {
+var u_e = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -45368,25 +45383,25 @@ var l_e = {
skipped: "已跳过",
generating_preview: "生成视频预览",
writing_candidates: "保存待确认资料"
-}, xH = {
+}, SH = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function u_e(e) {
- let t = Object.entries(e).filter(([e, t]) => xH[e] && t > 0).map(([e, t]) => `${xH[e]} ${t.toLocaleString()} 部`);
+function d_e(e) {
+ let t = Object.entries(e).filter(([e, t]) => SH[e] && t > 0).map(([e, t]) => `${SH[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function d_e(e) {
+function f_e(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = l_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${pL(e.waited_seconds)}` : "";
+ let t = u_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${mL(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function f_e(e) {
- let t = e.total ? `${mL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return d_e(e) + (t ? ` · ${t}` : "");
-}
function p_e(e) {
+ let t = e.total ? `${hL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ return f_e(e) + (t ? ` · ${t}` : "");
+}
+function m_e(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45400,22 +45415,22 @@ function p_e(e) {
log: e.issues_log || ""
} : null;
}
-var SH = "peach.library-processing.announced", m_e = 120;
-function CH(e) {
+var CH = "peach.library-processing.announced", h_e = 120;
+function wH(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < m_e;
+ return !!e.job_id && t >= 0 && t < h_e;
}
-function h_e(e, t, n) {
- if (e.status === "complete" && (n || CH(e))) {
+function g_e(e, t, n) {
+ if (e.status === "complete" && (n || wH(e))) {
try {
- if (e.job_id && localStorage.getItem(SH) === e.job_id) return;
- e.job_id && localStorage.setItem(SH, e.job_id);
+ if (e.job_id && localStorage.getItem(CH) === e.job_id) return;
+ e.job_id && localStorage.setItem(CH, e.job_id);
} catch {}
e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var wH = YI({
+var TH = XI({
base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",
size: {
medium: "text-body-medium",
@@ -45432,15 +45447,15 @@ var wH = YI({
secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"
}
});
-function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = JI(wH.base, wH.size[t], wH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
+function EH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = YI(TH.base, TH.size[t], TH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
n ? /* @__PURE__ */ (0, I.jsx)(n, {
- className: wH.icon[t],
+ className: TH.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: wH.icon[t],
+ className: TH.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -45466,7 +45481,7 @@ function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
});
}
// src/react/settings/use-action.ts
-function EH(e = "") {
+function DH(e = "") {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);
(0, F.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -45491,10 +45506,10 @@ function EH(e = "") {
};
}
// src/react/library-processing/slow-item.tsx
-function DH({ state: e }) {
- let t = EH(), n = (e) => {
- t.busy || t.run(e.action, (t) => H(cH, e, "POST", t), (e) => {
- U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });
+function OH({ state: e }) {
+ let t = DH(), n = (e) => {
+ t.busy || t.run(e.action, (t) => H(lH, e, "POST", t), (e) => {
+ U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });
});
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45506,7 +45521,7 @@ function DH({ state: e }) {
size: "small",
variant: "secondary",
disabled: e.skip_requested,
- ...EV(t.busy === "skip_current"),
+ ...DV(t.busy === "skip_current"),
onClick: () => {
e.job_id && e.current_asset_id != null && n({
action: "skip_current",
@@ -45530,25 +45545,25 @@ function DH({ state: e }) {
]
});
}
-function g_e({ state: e, slow: t }) {
- return /* @__PURE__ */ (0, I.jsx)(xV, {
+function __e({ state: e, slow: t }) {
+ return /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "warning",
- action: /* @__PURE__ */ (0, I.jsx)(DH, { state: e }),
- children: dH(t)
+ action: /* @__PURE__ */ (0, I.jsx)(OH, { state: e }),
+ children: fH(t)
});
}
-function __e({ state: e, slow: t }) {
+function v_e({ state: e, slow: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-processing-slow": "",
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",
- children: dH(t)
- }), /* @__PURE__ */ (0, I.jsx)(DH, { state: e })]
+ children: fH(t)
+ }), /* @__PURE__ */ (0, I.jsx)(OH, { state: e })]
});
}
// src/react/components/use-moving-surface.ts
-var v_e = {
+var y_e = {
selection: {
type: jg,
duration: .16,
@@ -45560,7 +45575,7 @@ var v_e = {
bounce: 0
}
};
-function OH(e) {
+function kH(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!t) return;
@@ -45581,7 +45596,7 @@ function OH(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = eae(n, { transform: [r, E] }, v_e[e]);
+ l = eae(n, { transform: [r, E] }, y_e[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45617,24 +45632,24 @@ function OH(e) {
}, [t, e]), n;
}
// src/react/components/menu-dialog.tsx
-function kH(e) {
- let t = OH("hover");
- return /* @__PURE__ */ (0, I.jsx)(Bz, {
+function AH(e) {
+ let t = kH("hover");
+ return /* @__PURE__ */ (0, I.jsx)(Vz, {
...e,
ref: t
});
}
// src/react/library-processing/processing-effort.tsx
-var AH = [
+var jH = [
"low",
"standard",
"high"
-], jH = [
+], MH = [
"低占用",
"标准",
"全速"
-], MH = wV("snail"), NH = wV("zap");
-function PH({ className: e }) {
+], NH = TV("snail"), PH = TV("zap");
+function FH({ className: e }) {
return /* @__PURE__ */ (0, I.jsxs)("svg", {
className: `processing-effort-double ${e ?? ""}`,
"aria-hidden": "true",
@@ -45665,12 +45680,12 @@ function PH({ className: e }) {
]
});
}
-var y_e = [
- MH,
+var b_e = [
NH,
- PH
+ PH,
+ FH
];
-function b_e({ animate: e }) {
+function x_e({ animate: e }) {
let [t, n] = (0, F.useState)(document.hidden);
return (0, F.useEffect)(() => {
let e = () => n(document.hidden);
@@ -45702,8 +45717,8 @@ function b_e({ animate: e }) {
} }, t))]
});
}
-function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = Math.max(0, AH.indexOf(e)), [a, o] = (0, F.useState)(i);
+function IH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = Math.max(0, jH.indexOf(e)), [a, o] = (0, F.useState)(i);
return (0, F.useEffect)(() => {
t || o(i);
}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45714,7 +45729,7 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "text-text-tertiary",
children: "处理强度 "
- }), jH[a]]
+ }), MH[a]]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "processing-effort-scale text-caption-1-regular text-text-tertiary",
@@ -45722,15 +45737,15 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 0 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(MH, {}), "最慢"]
+ children: [/* @__PURE__ */ (0, I.jsx)(NH, {}), "最慢"]
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 1 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(NH, {}), "标准"]
+ children: [/* @__PURE__ */ (0, I.jsx)(PH, {}), "标准"]
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 2 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(PH, {}), "最快"]
+ children: [/* @__PURE__ */ (0, I.jsx)(FH, {}), "最快"]
})
]
}),
@@ -45743,10 +45758,10 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
isDisabled: t,
onChange: o,
onChangeEnd: (e) => {
- e !== i && n(AH[e]);
+ e !== i && n(jH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, I.jsx)(QL, {
+ children: [/* @__PURE__ */ (0, I.jsx)($L, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45766,11 +45781,11 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, I.jsx)("i", {})
]
}),
- a === 2 ? /* @__PURE__ */ (0, I.jsx)(b_e, { animate: r }) : null,
+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(x_e, { animate: r }) : null,
/* @__PURE__ */ (0, I.jsx)(kpe, {
className: "processing-effort-hit",
children: /* @__PURE__ */ (0, I.jsx)(Ape, {
- "aria-label": jH[a],
+ "aria-label": MH[a],
className: "processing-effort-thumb"
})
})
@@ -45784,8 +45799,8 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
});
}
-function x_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, AH.indexOf(e));
+function S_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, jH.indexOf(e));
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "processing-effort-trigger",
"data-speed": e,
@@ -45793,28 +45808,28 @@ function x_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
ref: i,
size: "small",
variant: "secondary",
- "aria-label": `处理速度:${jH[s]}`,
+ "aria-label": `处理速度:${MH[s]}`,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: y_e[s],
- trailingIcon: NB,
+ leadingIcon: b_e[s],
+ trailingIcon: PB,
onClick: () => {
t || o(!a);
},
- children: jH[s]
+ children: MH[s]
})
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Oz, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "top start",
offset: 8,
- className: UV,
- children: /* @__PURE__ */ (0, I.jsx)(kH, {
+ className: WV,
+ children: /* @__PURE__ */ (0, I.jsx)(AH, {
"aria-label": "处理速度",
className: "outline-none",
- children: /* @__PURE__ */ (0, I.jsx)(FH, {
+ children: /* @__PURE__ */ (0, I.jsx)(IH, {
value: e,
busy: t,
onChange: n,
@@ -45824,10 +45839,10 @@ function x_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})] });
}
// src/react/library-processing/processing-controls.tsx
-function IH({ state: e, disabled: t = !1 }) {
- let n = EH(), r = (0, F.useRef)(!1), i = fH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
- t || n.busy || n.run(e.action, (t) => H(cH, e, "POST", t), (e) => {
- U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });
+function LH({ state: e, disabled: t = !1 }) {
+ let n = DH(), r = (0, F.useRef)(!1), i = pH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
+ t || n.busy || n.run(e.action, (t) => H(lH, e, "POST", t), (e) => {
+ U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });
});
}, l = () => {
let i = e.job_id;
@@ -45851,7 +45866,7 @@ function IH({ state: e, disabled: t = !1 }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(x_e, {
+ /* @__PURE__ */ (0, I.jsx)(S_e, {
value: e.speed_mode || "standard",
busy: t || !!n.busy || a,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -45865,11 +45880,11 @@ function IH({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: e.status === "paused" ? tV : $B,
+ leadingIcon: e.status === "paused" ? nV : eV,
"aria-label": o,
title: o,
disabled: t || !e.job_id || e.status === "pausing" || a,
- ...EV(n.busy === "pause" || n.busy === "resume"),
+ ...DV(n.busy === "pause" || n.busy === "resume"),
onClick: () => {
e.job_id && c({
action: e.status === "paused" ? "resume" : "pause",
@@ -45881,11 +45896,11 @@ function IH({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: cV,
+ leadingIcon: lV,
"aria-label": s,
title: s,
disabled: t || !e.job_id || a,
- ...EV(n.busy === "cancel"),
+ ...DV(n.busy === "cancel"),
onClick: l
}) : null
]
@@ -45897,11 +45912,11 @@ function IH({ state: e, disabled: t = !1 }) {
});
}
// src/react/library-processing/use-library-processing.ts
-function LH({ toast: e, mode: t, monitor: n }) {
+function RH({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Nt({
- queryKey: lH,
- queryFn: ({ signal: e }) => _H(e),
- refetchInterval: (e) => bH(e.state.data, r)
+ queryKey: uH,
+ queryFn: ({ signal: e }) => vH(e),
+ refetchInterval: (e) => xH(e.state.data, r)
}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;
return (0, F.useEffect)(() => {
if (!c) return;
@@ -45912,8 +45927,8 @@ function LH({ toast: e, mode: t, monitor: n }) {
"pausing",
"paused",
"stopping"
- ].includes(n) && !fH(c);
- r && o(c), (r || t === "notice") && h_e(c, e, r);
+ ].includes(n) && !pH(c);
+ r && o(c), (r || t === "notice") && g_e(c, e, r);
}, [
c,
t,
@@ -45925,37 +45940,37 @@ function LH({ toast: e, mode: t, monitor: n }) {
};
}
// src/react/components/card.tsx
-var S_e = "min-w-0", C_e = {
+var C_e = "min-w-0", w_e = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, w_e = {
+}, T_e = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, T_e = {
+}, E_e = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, E_e = {
+}, D_e = {
none: "",
default: "p-5"
-}, D_e = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", O_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function RH(e = {}) {
+}, O_e = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", k_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function zH(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- S_e,
- C_e[t],
- w_e[s],
- E_e[n],
- a ? T_e[a] : "",
- r ? D_e : "",
- i ? O_e : "",
+ C_e,
+ w_e[t],
+ T_e[s],
+ D_e[n],
+ a ? E_e[a] : "",
+ r ? O_e : "",
+ i ? k_e : "",
o ?? ""
].filter(Boolean).join(" ");
}
// src/react/components/loading-dots.tsx
-function zH({ label: e }) {
+function BH({ label: e }) {
return /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
@@ -45974,21 +45989,21 @@ function zH({ label: e }) {
});
}
// src/react/components/progress.tsx
-var BH = 100, k_e = .4;
-function VH({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * BH;
+var VH = 100, A_e = .4;
+function HH({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * VH;
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${BH} 1`,
+ viewBox: `0 0 ${VH} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, I.jsx)("rect", {
- width: BH,
+ width: VH,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -45999,7 +46014,7 @@ function VH({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {
x: o(e),
- width: k_e,
+ width: A_e,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -46007,26 +46022,26 @@ function VH({ label: e, value: t, max: n = 100, stops: r = [] }) {
});
}
// src/react/components/task-progress.tsx
-function HH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function UH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : RH({
+ className: r ? "flex flex-col gap-1.5" : zH({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VH, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HH, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, I.jsx)(zH, { label: e })
+ })] }) : /* @__PURE__ */ (0, I.jsx)(BH, { label: e })
});
}
// src/react/library-processing/processing-line.tsx
-function UH(e) {
+function WH(e) {
let [t, n] = (0, F.useState)({
snapshot: e,
seconds: 0
@@ -46042,17 +46057,17 @@ function UH(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return f_e(a ? {
+ return p_e(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function A_e({ state: e }) {
- return UH(e);
-}
function j_e({ state: e }) {
- let t = UH(e);
- return /* @__PURE__ */ (0, I.jsx)(HH, {
+ return WH(e);
+}
+function M_e({ state: e }) {
+ let t = WH(e);
+ return /* @__PURE__ */ (0, I.jsx)(UH, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -46060,7 +46075,7 @@ function j_e({ state: e }) {
});
}
// src/react/components/collapse-region.tsx
-function WH({ open: e, children: t, ...n }) {
+function GH({ open: e, children: t, ...n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);
return (0, F.useLayoutEffect)(() => {
let t = r.current;
@@ -46071,7 +46086,7 @@ function WH({ open: e, children: t, ...n }) {
children: t
});
}
-function GH(e) {
+function KH(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
...e,
"aria-hidden": !0,
@@ -46086,21 +46101,21 @@ function GH(e) {
});
}
// src/react/boardui/components/application/settings/settings-rows.tsx
-function KH({ className: e, children: t }) {
+function qH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
- className: JI("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: YI("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function qH({ className: e, children: t }) {
+function JH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
- className: JI("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: YI("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function M_e({ label: e, description: t, children: n }) {
+function N_e({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
- className: JI("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: YI("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
@@ -46114,34 +46129,34 @@ function M_e({ label: e, description: t, children: n }) {
});
}
// src/react/jav/jav-navigation.ts
-var JH = [
+var YH = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], YH = (e) => JH.some(([t]) => t === e) ? e : "library", XH = (e) => YH(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function N_e(e) {
+], XH = (e) => YH.some(([t]) => t === e) ? e : "library", ZH = (e) => XH(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function P_e(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
// src/onboarding/guide-catalog.ts
-var ZH = (e, t, n, r, i, a) => ({
+var QH = (e, t, n, r, i, a) => ({
id: e,
title: t,
body: n,
route: r,
target: i,
scope: a
-}), QH = (e, t, n, r, i) => ZH(e, t, n, r, i), $H = [
+}), $H = (e, t, n, r, i) => QH(e, t, n, r, i), eU = [
{
id: "basics",
kind: "interface",
title: "认识界面",
summary: "4 步认识搜索、导航、作品详情和设置。",
steps: [
- QH("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
- QH("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
- QH("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- QH("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
+ $H("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
+ $H("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
+ $H("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ $H("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
]
},
{
@@ -46150,23 +46165,23 @@ var ZH = (e, t, n, r, i, a) => ({
title: "找到并播放",
summary: "搜索、筛选、详情、版本、字幕和播放器。",
steps: [
- QH("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
- QH("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
- QH("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
+ $H("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
+ $H("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
+ $H("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
{
- ...ZH("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
+ ...QH("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
surface: "detail"
},
{
- ...ZH("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
+ ...QH("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
surface: "player"
},
{
- ...ZH("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
+ ...QH("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
surface: "subtitles"
},
{
- ...ZH("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
+ ...QH("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
surface: "detail"
}
]
@@ -46178,15 +46193,15 @@ var ZH = (e, t, n, r, i, a) => ({
summary: "评分、标记、播放列表与当前播放队列。",
steps: [
{
- ...QH("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
+ ...$H("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
surface: "detail"
},
{
- ...QH("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
+ ...$H("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
surface: "detail"
},
- QH("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
- QH("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
+ $H("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
+ $H("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
]
},
{
@@ -46195,10 +46210,10 @@ var ZH = (e, t, n, r, i, a) => ({
title: "按人物与主题浏览",
summary: "从人物、厂牌和标签继续发现相关馆藏。",
steps: [
- QH("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- QH("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- QH("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
- QH("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
+ $H("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ $H("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ $H("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
+ $H("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
]
},
{
@@ -46207,10 +46222,10 @@ var ZH = (e, t, n, r, i, a) => ({
title: "JAV 与追新",
summary: "馆藏、新作、想要清单与高清版。",
steps: [
- QH("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", XH("library"), "[data-catalog-frame]"),
- QH("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", XH("discover"), "[data-jav-filter] [data-catalog-views]"),
- QH("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", XH("discover"), "[aria-label=\"JAV 分区\"]"),
- QH("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
+ $H("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", ZH("library"), "[data-catalog-frame]"),
+ $H("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", ZH("discover"), "[data-jav-filter] [data-catalog-views]"),
+ $H("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", ZH("discover"), "[aria-label=\"JAV 分区\"]"),
+ $H("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
]
},
{
@@ -46219,9 +46234,9 @@ var ZH = (e, t, n, r, i, a) => ({
title: "关注创作者",
summary: "多来源更新、同作品合并和来源状态。",
steps: [
- QH("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
- QH("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
- QH("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
+ $H("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
+ $H("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
+ $H("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
]
},
{
@@ -46230,9 +46245,9 @@ var ZH = (e, t, n, r, i, a) => ({
title: "专注观看",
summary: "播放墙、沉浸模式与详情小窗。",
steps: [
- QH("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
- QH("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
- QH("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
+ $H("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
+ $H("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
+ $H("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
]
},
{
@@ -46241,11 +46256,11 @@ var ZH = (e, t, n, r, i, a) => ({
title: "整理与维护",
summary: "扫描、补资料、复核、文件整理与回收站。",
steps: [
- QH("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
- QH("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
- QH("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
- QH("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- QH("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
+ $H("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
+ $H("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
+ $H("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
+ $H("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ $H("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
]
},
{
@@ -46254,10 +46269,10 @@ var ZH = (e, t, n, r, i, a) => ({
title: "了解自己的馆藏",
summary: "统计、口味,以及浏览历史和书签来源。",
steps: [
- QH("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
- QH("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
- QH("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
- QH("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
+ $H("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
+ $H("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
+ $H("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
+ $H("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
]
},
{
@@ -46266,9 +46281,9 @@ var ZH = (e, t, n, r, i, a) => ({
title: "从外部加入内容",
summary: "云下载、目录映射与浏览器添加。",
steps: [
- QH("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
- QH("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
- QH("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
+ $H("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
+ $H("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
+ $H("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
]
},
{
@@ -46277,18 +46292,18 @@ var ZH = (e, t, n, r, i, a) => ({
title: "手机与其他设备",
summary: "访问地址、密码、局域网和公网入口。",
steps: [
- QH("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
- QH("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
- QH("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
+ $H("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
+ $H("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
+ $H("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
]
}
-], P_e = "当前浏览器 · 修改后自动保存", eU = "跟随馆藏 · 修改后自动保存", tU = "运行 Peach 的电脑 · 确认后保存配置", nU = (e, t, n = P_e) => t.map(([t, r, i, a, o]) => ZH(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), rU = [
+], F_e = "当前浏览器 · 修改后自动保存", tU = "跟随馆藏 · 修改后自动保存", nU = "运行 Peach 的电脑 · 确认后保存配置", rU = (e, t, n = F_e) => t.map(([t, r, i, a, o]) => QH(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), iU = [
{
id: "appearance",
kind: "settings",
title: Tf.appearance,
summary: "主题、光晕与导航入口。",
- steps: nU("appearance", [
+ steps: rU("appearance", [
[
"theme",
"主题",
@@ -46318,7 +46333,7 @@ var ZH = (e, t, n, r, i, a) => ({
"导航入口与顺序",
"把常用入口放到侧栏,拖动调整顺序。",
"[data-sidebar-setting]",
- eU
+ tU
]
])
},
@@ -46327,7 +46342,7 @@ var ZH = (e, t, n, r, i, a) => ({
kind: "settings",
title: Tf.playback,
summary: "列表呈现、悬停预览与播放行为。",
- steps: nU("playback", [
+ steps: rU("playback", [
[
"batch",
"每批作品",
@@ -46383,13 +46398,13 @@ var ZH = (e, t, n, r, i, a) => ({
kind: "settings",
title: Tf.jav,
summary: "封面与新作筛选。",
- steps: nU("jav", [
+ steps: rU("jav", [
[
"names",
"女优名称",
"选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。",
"#performerNameLanguageSetting",
- eU
+ tU
],
[
"image",
@@ -46414,21 +46429,21 @@ var ZH = (e, t, n, r, i, a) => ({
"隐藏大合集",
"过滤新作中的大合集,只影响新作展示,馆藏仍可查找。",
"#feedHideGroupSetting",
- eU
+ tU
],
[
"solo-compilations",
"隐藏单人合集",
"过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。",
"#feedHideSoloSetting",
- eU
+ tU
],
[
"excerpts",
"隐藏切片",
"过滤新作中的切片,只影响新作展示,馆藏仍可查找。",
"#feedHideExcerptSetting",
- eU
+ tU
]
])
},
@@ -46437,12 +46452,12 @@ var ZH = (e, t, n, r, i, a) => ({
kind: "settings",
title: Tf.search,
summary: "搜索记录、推荐数量与口味入口。",
- steps: [...nU("search", [[
+ steps: [...rU("search", [[
"history",
"搜索记录",
"设置保留的搜索记录上限,0 表示不记录。",
"#searchHistoryLimitSetting"
- ]], eU), ...nU("search", [[
+ ]], tU), ...rU("search", [[
"related",
"相关推荐数量",
"决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",
@@ -46454,7 +46469,7 @@ var ZH = (e, t, n, r, i, a) => ({
kind: "settings",
title: Tf.content,
summary: "SFW 模式与画面显示。",
- steps: nU("content", [[
+ steps: rU("content", [[
"sfw",
"SFW 模式",
"隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",
@@ -46466,7 +46481,7 @@ var ZH = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ef.library,
summary: "媒体库、目录、读取与处理方式。",
- steps: nU("library", [
+ steps: rU("library", [
[
"media",
"媒体库名称与外观",
@@ -46517,14 +46532,14 @@ var ZH = (e, t, n, r, i, a) => ({
"视频预览",
"生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"
]
- ], tU)
+ ], nU)
},
{
id: "subscriptions",
kind: "settings",
title: Ef.subscriptions,
summary: "资料来源、关注、索引器与站点入口。",
- steps: nU("subscriptions", [
+ steps: rU("subscriptions", [
[
"sources",
"采集来源与登录状态",
@@ -46551,14 +46566,14 @@ var ZH = (e, t, n, r, i, a) => ({
"作品资料站点",
"配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"
]
- ], tU)
+ ], nU)
},
{
id: "downloads",
kind: "settings",
title: Ef.downloads,
summary: "云下载目录、账号与浏览器配对。",
- steps: nU("downloads", [
+ steps: rU("downloads", [
[
"download",
"云下载",
@@ -46574,14 +46589,14 @@ var ZH = (e, t, n, r, i, a) => ({
"浏览器添加 JAV",
"安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"
]
- ], tU)
+ ], nU)
},
{
id: "network",
kind: "settings",
title: Ef.network,
summary: "访问端口、代理、密码和公网入口。",
- steps: nU("network", [
+ steps: rU("network", [
[
"port",
"访问地址与端口",
@@ -46602,14 +46617,14 @@ var ZH = (e, t, n, r, i, a) => ({
"Cloudflare 公网入口",
"临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"
]
- ], tU)
+ ], nU)
},
{
id: "app-maintenance",
kind: "settings",
title: Ef.maintenance,
summary: "更新、存储、数据选择与应用维护。",
- steps: nU("maintenance", [
+ steps: rU("maintenance", [
[
"updates",
"检查更新",
@@ -46650,14 +46665,14 @@ var ZH = (e, t, n, r, i, a) => ({
"卸载 Peach",
"卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"
]
- ], tU)
+ ], nU)
},
{
id: "diagnostics",
kind: "settings",
title: Ef.diagnostics,
summary: "遇到问题时查看检查项与诊断报告。",
- steps: nU("diagnostics", [
+ steps: rU("diagnostics", [
[
"attention",
"需要关注的检查项",
@@ -46682,7 +46697,7 @@ var ZH = (e, t, n, r, i, a) => ({
]
], "只读检查 · 重新检查与下载由你主动执行")
}
-], F_e = {
+], I_e = {
glow: [
["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],
["强度", "控制光晕的明亮程度;太抢眼时降低。"],
@@ -46789,8 +46804,8 @@ var ZH = (e, t, n, r, i, a) => ({
["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]
]
};
-for (let e of rU) for (let t of e.steps) t.details = F_e[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");
-var iU = [...$H, ...rU], I_e = [
+for (let e of iU) for (let t of e.steps) t.details = I_e[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");
+var aU = [...eU, ...iU], L_e = [
{
id: "browse",
kind: "interface",
@@ -46867,7 +46882,7 @@ var iU = [...$H, ...rU], I_e = [
"diagnostics"
]
}
-], L_e = {
+], R_e = {
来源凭据: "credentials",
关注采集: "follow-options",
检查更新: "updates",
@@ -46894,39 +46909,39 @@ var iU = [...$H, ...rU], I_e = [
数据上传: "reporting",
"卸载 Peach": "uninstall"
};
-function aU(e) {
- let t = L_e[e] || e;
- return t ? rU.flatMap((e) => e.steps).find((e) => e.id === t) : void 0;
+function oU(e) {
+ let t = R_e[e] || e;
+ return t ? iU.flatMap((e) => e.steps).find((e) => e.id === t) : void 0;
}
-function R_e(e) {
- return e === "/" ? $H[0] : rU.find((t) => t.steps[0]?.route === e) || $H.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || $H[0];
+function z_e(e) {
+ return e === "/" ? eU[0] : iU.find((t) => t.steps[0]?.route === e) || eU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || eU[0];
}
// src/onboarding/guide-state.ts
-var z_e = () => ({
+var B_e = () => ({
version: 1,
campaign: "",
invited: !1,
completed: !1,
chapters: {}
});
-function oU(e, t) {
+function sU(e, t) {
let n = e.chapters[t.id]?.read || [];
return t.steps.every((e) => n.includes(e.id));
}
-function B_e(e, t) {
+function V_e(e, t) {
let n = e.chapters[t.id];
- return !n || oU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
+ return !n || sU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
}
-function V_e() {
+function H_e() {
return V("/api/tutorial-progress");
}
-function H_e(e, t) {
+function U_e(e, t) {
return H("/api/tutorial-progress", {
campaign: e,
...t
});
}
-function U_e(e, t, n, r, i) {
+function W_e(e, t, n, r, i) {
let a = e.chapters[t] || {
next: 0,
read: [],
@@ -46944,24 +46959,24 @@ function U_e(e, t, n, r, i) {
}
};
}
-var sU = null, cU = /* @__PURE__ */ new Set();
-function lU(e = {}) {
- cU.size || (sU = e);
- for (let t of cU) t(e);
+var cU = null, lU = /* @__PURE__ */ new Set();
+function uU(e = {}) {
+ lU.size || (cU = e);
+ for (let t of lU) t(e);
}
-function W_e(e) {
- if (cU.add(e), sU) {
- let t = sU;
- sU = null, queueMicrotask(() => {
- cU.has(e) && e(t);
+function G_e(e) {
+ if (lU.add(e), cU) {
+ let t = cU;
+ cU = null, queueMicrotask(() => {
+ lU.has(e) && e(t);
});
}
return () => {
- cU.delete(e);
+ lU.delete(e);
};
}
// src/react/onboarding/guide-help.tsx
-function uU({ details: e }) {
+function dU({ details: e }) {
return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
className: "flex flex-col gap-3",
children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46976,28 +46991,28 @@ function uU({ details: e }) {
}, e))
}) : null;
}
-function dU({ chapter: e, section: t }) {
- let n = t ? aU(t) : void 0, r = iU.find((t) => t.id === e);
+function fU({ chapter: e, section: t }) {
+ let n = t ? oU(t) : void 0, r = aU.find((t) => t.id === e);
return !n && !r ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-guide-help": "",
className: "text-body-2-regular text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsx)(hU, {
+ children: /* @__PURE__ */ (0, I.jsx)(gU, {
summary: t ? "设置说明" : "了解这些设置",
children: n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("p", { children: n.body }),
- /* @__PURE__ */ (0, I.jsx)(uU, { details: n.details }),
+ /* @__PURE__ */ (0, I.jsx)(dU, { details: n.details }),
/* @__PURE__ */ (0, I.jsx)("p", { children: n.scope })
] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("p", { children: r.summary }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => lU({ chapter: e }),
+ onClick: () => uU({ chapter: e }),
children: "逐步了解这个分区"
}) })] })
})
});
}
// src/react/settings/section.tsx
-function G_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
+function K_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [n, e]
@@ -47006,14 +47021,14 @@ function G_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(qH, { children: s })
+ children: /* @__PURE__ */ (0, I.jsx)(JH, { children: s })
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: i
})]
- }) : /* @__PURE__ */ (0, I.jsx)(qH, { children: s }),
- t ? /* @__PURE__ */ (0, I.jsx)(dU, { section: t }) : null,
- /* @__PURE__ */ (0, I.jsx)(KH, { children: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(JH, { children: s }),
+ t ? /* @__PURE__ */ (0, I.jsx)(fU, { section: t }) : null,
+ /* @__PURE__ */ (0, I.jsx)(qH, { children: o })
] });
return a ? /* @__PURE__ */ (0, I.jsx)("form", {
id: r,
@@ -47031,13 +47046,13 @@ function G_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
children: c
});
}
-function K_e({ children: e }) {
+function q_e({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function q_e({ divided: e = !1, children: t }) {
+function J_e({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",
children: t
@@ -47046,7 +47061,7 @@ function q_e({ divided: e = !1, children: t }) {
children: t
});
}
-function J_e({ label: e, html: t }) {
+function Y_e({ label: e, html: t }) {
let [n] = (0, F.useState)(t);
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
@@ -47056,7 +47071,7 @@ function J_e({ label: e, html: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-function Y_e({ status: e, children: t }) {
+function X_e({ status: e, children: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",
children: [e ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -47065,34 +47080,34 @@ function Y_e({ status: e, children: t }) {
}) : null, t]
});
}
-function fU({ role: e, children: t }) {
+function pU({ role: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function pU({ children: e }) {
+function mU({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function mU({ children: e }) {
+function hU({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function X_e({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, I.jsx)(TH, {
+function Z_e({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, I.jsx)(EH, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: UB,
+ trailingIcon: WB,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -47100,22 +47115,22 @@ function X_e({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Z_e() {
- return /* @__PURE__ */ (0, I.jsx)(TH, {
+function Q_e() {
+ return /* @__PURE__ */ (0, I.jsx)(EH, {
href: "/tasks",
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
className: "self-start",
children: "在任务中心查看进度"
});
}
-function Q_e({ children: e }) {
+function $_e({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function $_e({ term: e, children: t }) {
+function eve({ term: e, children: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, I.jsx)("dt", {
@@ -47127,7 +47142,7 @@ function $_e({ term: e, children: t }) {
})]
});
}
-function hU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
+function gU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);
return (0, F.useLayoutEffect)(() => {
n !== void 0 && n !== d && c.current && l.current && (Ro(c.current, l.current, n), f(n));
@@ -47143,12 +47158,12 @@ function hU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
},
className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [
- i ? null : /* @__PURE__ */ (0, I.jsx)(FB, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(IB, {
"aria-hidden": !0,
className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"
}),
e,
- i ? /* @__PURE__ */ (0, I.jsx)(FB, {
+ i ? /* @__PURE__ */ (0, I.jsx)(IB, {
"aria-hidden": !0,
className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"
}) : null
@@ -47158,13 +47173,13 @@ function hU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
id: s,
inert: !d,
children: /* @__PURE__ */ (0, I.jsx)("div", {
- className: JI("flex flex-col gap-2 pt-3", o),
+ className: YI("flex flex-col gap-2 pt-3", o),
children: r
})
})]
});
}
-function eve({ name: e }) {
+function tve({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -47174,34 +47189,34 @@ function eve({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function gU({ mark: e }) {
+function _U({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(eve, { name: e });
+ }) : /* @__PURE__ */ (0, I.jsx)(tve, { name: e });
}
// src/react/components/source-label.tsx
-var _U = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, tve = Object.fromEntries(Object.entries(hs).map(([e, t]) => [e, function({ className: e }) {
+var vU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, nve = Object.fromEntries(Object.entries(hs).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(gU, { mark: t })
+ children: /* @__PURE__ */ (0, I.jsx)(_U, { mark: t })
});
}]));
-function nve({ className: e }) {
+function rve({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(gU, { mark: "database" })
+ children: /* @__PURE__ */ (0, I.jsx)(_U, { mark: "database" })
});
}
-var vU = (e) => tve[_U(e)] ?? nve;
-function rve({ site: e, label: t }) {
+var yU = (e) => nve[vU(e)] ?? rve;
+function ive({ site: e, label: t }) {
let [n, r] = (0, F.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(gU, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(_U, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: i,
alt: "",
className: "size-(--icon-inline) shrink-0 object-contain",
@@ -47209,24 +47224,24 @@ function rve({ site: e, label: t }) {
}), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
});
}
-function yU({ source: e, label: t }) {
- let n = _U(e);
+function bU({ source: e, label: t }) {
+ let n = vU(e);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(gU, { mark: hs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(_U, { mark: hs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
children: t
})]
});
}
// src/react/library-processing/processing-traffic.tsx
-var bU = (e) => Jn(e).replace(/\s/g, ""), xU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : bU(e), ive = (e, t) => {
- if (e === t) return bU(t);
+var xU = (e) => Jn(e).replace(/\s/g, ""), SU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : xU(e), ave = (e, t) => {
+ if (e === t) return xU(t);
let [n, r] = Jn(e).split(" "), [i, a] = Jn(t).split(" ");
- return r === a ? `${n}-${i}${a}` : `${bU(e)}-${bU(t)}`;
-}, SU = (e, t, n) => e === void 0 ? ive(t, n) : `${e > 0 ? "约 " : ""}${bU(e)}`;
-function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
- let i = ZV(), [a, o] = (0, F.useState)(!1), s = (0, F.useId)(), c = n ?? a;
+ return r === a ? `${n}-${i}${a}` : `${xU(e)}-${xU(t)}`;
+}, CU = (e, t, n) => e === void 0 ? ave(t, n) : `${e > 0 ? "约 " : ""}${xU(e)}`;
+function wU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
+ let i = QV(), [a, o] = (0, F.useState)(!1), s = (0, F.useId)(), c = n ?? a;
if (!e) return null;
let l = (e) => e.toLocaleString("zh-CN");
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -47268,25 +47283,25 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(YB, {
+ children: [/* @__PURE__ */ (0, I.jsx)(XB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-title-3-semibold text-text-primary",
- children: SU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
+ children: CU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
}),
/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.unknown_route_estimated_bytes ? "已确认代理" : "代理",
" ",
- SU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
+ CU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
] }),
t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: [
"已用 ",
- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", bU(e.used_bytes)] }),
+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", xU(e.used_bytes)] }),
" · 代理 ",
- bU(e.metered_used_bytes)
+ xU(e.metered_used_bytes)
] })
]
}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {
@@ -47302,18 +47317,18 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
}),
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-title-3-semibold text-text-primary",
- children: ["约 ", bU(e.disk.estimated_bytes)]
+ children: ["约 ", xU(e.disk.estimated_bytes)]
}),
- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", xU(e.disk.temporary_bytes)] }) : null,
+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", SU(e.disk.temporary_bytes)] }) : null,
e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.path,
" 剩余 ",
- e.free_bytes == null ? "未取得" : bU(e.free_bytes)
+ e.free_bytes == null ? "未取得" : xU(e.free_bytes)
] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
- children: ["空间不足,还差 ", bU(e.shortfall_bytes || 0)]
+ children: ["空间不足,还差 ", xU(e.shortfall_bytes || 0)]
}) : null]
}, e.path)),
e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -47329,7 +47344,7 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
className: "self-start",
"aria-expanded": c,
"aria-controls": s,
- trailingIcon: c ? Ahe : NB,
+ trailingIcon: c ? Ahe : PB,
onClick: () => {
o(!c), r?.(!c);
},
@@ -47348,12 +47363,12 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-start justify-between gap-2",
- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(yU, {
+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(bU, {
source: e.location,
label: e.label
}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(gU, { mark: "globe" }), e.label]
+ children: [/* @__PURE__ */ (0, I.jsx)(_U, { mark: "globe" }), e.label]
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "shrink-0",
children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"
@@ -47375,7 +47390,7 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
"待补资料 ",
l(e.workload.pending_jav_titles),
" 部 · 平均约 ",
- xU(e.workload.metadata_average_bytes || 0),
+ SU(e.workload.metadata_average_bytes || 0),
"/部"
]
}) : null,
@@ -47385,8 +47400,8 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
"已用",
e.unobserved.length ? "约" : "",
" ",
- bU(e.used_bytes)
- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", SU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
+ xU(e.used_bytes)
+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", CU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
})
]
}, e.key))
@@ -47397,15 +47412,15 @@ function CU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
});
}
// src/react/library-processing/library-processing-notice.tsx
-var wU = "peach.library-processing.collapsed";
-function TU(e) {
+var TU = "peach.library-processing.collapsed";
+function EU(e) {
try {
- return !e || sessionStorage.getItem(wU) !== e;
+ return !e || sessionStorage.getItem(TU) !== e;
} catch {
return !0;
}
}
-function ave({ value: e, max: t }) {
+function ove({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
@@ -47435,14 +47450,14 @@ function ave({ value: e, max: t }) {
})]
});
}
-function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
- let [i, a] = (0, F.useState)(() => TU(e?.job_id)), o = (0, F.useId)(), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(null), u = !t && pH(e), d = e?.status === "failed" && !u, f = fH(e);
+function DU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
+ let [i, a] = (0, F.useState)(() => EU(e?.job_id)), o = (0, F.useId)(), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(null), u = !t && mH(e), d = e?.status === "failed" && !u, f = pH(e);
(0, F.useEffect)(() => {
- a(TU(e?.job_id)), c(!1);
+ a(EU(e?.job_id)), c(!1);
}, [e?.job_id]);
let p = () => {
try {
- i && e?.job_id ? sessionStorage.setItem(wU, e.job_id) : sessionStorage.removeItem(wU);
+ i && e?.job_id ? sessionStorage.setItem(TU, e.job_id) : sessionStorage.removeItem(TU);
} catch {}
i && c(!1), a(!i);
};
@@ -47457,14 +47472,14 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");
};
}, [n]), e?.archived && !t || !t && !f && !d && !u) return null;
- let m = t ? null : uH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
+ let m = t ? null : dH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
return /* @__PURE__ */ (0, I.jsxs)("aside", {
ref: l,
"data-processing-dock": "",
"data-processing-tone": d ? "error" : h ? "warning" : "neutral",
"aria-label": "扫描任务",
role: d ? "alert" : "status",
- className: JI("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
+ className: YI("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
@@ -47472,7 +47487,7 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- f && e?.total ? /* @__PURE__ */ (0, I.jsx)(ave, {
+ f && e?.total ? /* @__PURE__ */ (0, I.jsx)(ove, {
value: e.checked || 0,
max: e.total
}) : d || h ? /* @__PURE__ */ (0, I.jsx)(Bhe, {
@@ -47490,14 +47505,14 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}), f ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-processing-eta": "",
className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",
- children: gH(e)
+ children: _H(e)
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: GH,
+ leadingIcon: KH,
"data-processing-toggle": "",
"data-collapse-upward": "",
"aria-label": i ? "收起任务详情" : "展开任务详情",
@@ -47509,31 +47524,31 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: zB,
+ leadingIcon: BB,
"aria-label": "隐藏任务提示",
onClick: r
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(CU, {
+ /* @__PURE__ */ (0, I.jsx)(wU, {
traffic: e?.traffic,
detailsOpen: s,
onDetailsChange: c
}),
- m ? /* @__PURE__ */ (0, I.jsx)(__e, {
+ m ? /* @__PURE__ */ (0, I.jsx)(v_e, {
state: e,
slow: m
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(WH, {
+ /* @__PURE__ */ (0, I.jsx)(GH, {
id: o,
open: i,
"data-processing-body": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "pt-3",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
- className: JI("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),
+ className: YI("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),
children: [
e?.steps?.length ? /* @__PURE__ */ (0, I.jsx)("ol", {
"aria-label": "处理步骤",
@@ -47541,14 +47556,14 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
children: e.steps.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {
"data-processing-step": e.status,
"aria-current": e.status === "current" ? "step" : void 0,
- className: JI("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
+ className: YI("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
children: [
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Fhe, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}) : /* @__PURE__ */ (0, I.jsx)(Ihe, {
"aria-hidden": !0,
- className: JI("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
+ className: YI("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
/* @__PURE__ */ (0, I.jsx)(yE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {
@@ -47563,11 +47578,11 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(A_e, { state: e }))
+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(j_e, { state: e }))
}),
u ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: mH
+ children: hH
}) : null,
f && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-caption-1-regular text-text-tertiary",
@@ -47584,20 +47599,20 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2 pt-3",
children: [
- /* @__PURE__ */ (0, I.jsx)(TH, {
+ /* @__PURE__ */ (0, I.jsx)(EH, {
href: "/data-cleanup#libraryProcessing",
variant: "secondary",
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: t || d || u ? "打开扫描与采集" : "任务详情"
}),
- u ? /* @__PURE__ */ (0, I.jsx)(TH, {
- href: hH,
+ u ? /* @__PURE__ */ (0, I.jsx)(EH, {
+ href: gH,
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: "查看全部内容"
}) : null,
- f ? /* @__PURE__ */ (0, I.jsx)(IH, {
+ f ? /* @__PURE__ */ (0, I.jsx)(LH, {
state: e,
disabled: !!t
}) : null
@@ -47606,67 +47621,67 @@ function EU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
]
});
}
-function ove(e) {
- let { job: t } = LH(e);
- return /* @__PURE__ */ (0, I.jsx)(EU, {
+function sve(e) {
+ let { job: t } = RH(e);
+ return /* @__PURE__ */ (0, I.jsx)(DU, {
state: t.data,
- problem: t.isError ? t.data ? yH : sr(t.error) : ""
+ problem: t.isError ? t.data ? bH : sr(t.error) : ""
});
}
// src/react/library-processing/processing-notice-visibility.ts
-var DU = "peach.library-processing.visibility", OU = /* @__PURE__ */ new Set(), kU = "";
-function sve() {
+var OU = "peach.library-processing.visibility", kU = /* @__PURE__ */ new Set(), AU = "";
+function cve() {
try {
- return sessionStorage.getItem(DU) || "";
+ return sessionStorage.getItem(OU) || "";
} catch {
- return kU;
+ return AU;
}
}
-function cve(e) {
- return OU.add(e), () => {
- OU.delete(e);
+function lve(e) {
+ return kU.add(e), () => {
+ kU.delete(e);
};
}
-function AU(e, t) {
- kU = `${t ? "shown" : "hidden"}:${e}`;
+function jU(e, t) {
+ AU = `${t ? "shown" : "hidden"}:${e}`;
try {
- sessionStorage.setItem(DU, kU);
+ sessionStorage.setItem(OU, AU);
} catch {}
- OU.forEach((e) => e());
+ kU.forEach((e) => e());
}
-function jU(e) {
- let t = (0, F.useSyncExternalStore)(cve, sve, () => "");
+function MU(e) {
+ let t = (0, F.useSyncExternalStore)(lve, cve, () => "");
return {
hidden: t === `hidden:${e}`,
requested: t === `shown:${e}`
};
}
// src/react/library-processing/library-processing-dock.tsx
-var MU = "peach-library-processing";
-function lve({ toast: e }) {
- let { job: t, settled: n } = LH({
+var NU = "peach-library-processing";
+function uve({ toast: e }) {
+ let { job: t, settled: n } = RH({
toast: e,
mode: "notice"
- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = jU(a), c = t.isError ? i ? yH : sr(t.error) : "";
+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = MU(a), c = t.isError ? i ? bH : sr(t.error) : "";
return (0, F.useEffect)(() => {
- let e = fH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || CH(i));
- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && nH.dismiss(MU), r.current = !1) : (nH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
+ let e = pH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || wH(i));
+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && rH.dismiss(NU), r.current = !1) : (rH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(EU, {
+ children: /* @__PURE__ */ (0, I.jsx)(DU, {
state: i,
problem: c,
measure: !0,
- onHide: () => AU(a, !1)
+ onHide: () => jU(a, !1)
})
}), {
- id: MU,
+ id: NU,
toasterId: "processing",
duration: Infinity,
dismissible: !1,
closeButton: !1,
className: "processing-task-toast",
onDismiss: () => {
- AU(a, !1), r.current = !1;
+ jU(a, !1), r.current = !1;
}
}), r.current = !0);
}, [
@@ -47677,19 +47692,19 @@ function lve({ toast: e }) {
o,
s
]), (0, F.useEffect)(() => () => {
- r.current && nH.dismiss(MU), r.current = !1;
+ r.current && rH.dismiss(NU), r.current = !1;
}, []), null;
}
// src/react/network-banner.tsx
-var uve = ["network-status"], dve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function fve(e) {
+var dve = ["network-status"], fve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function pve(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function pve() {
+function mve() {
let e = Nt({
- queryKey: uve,
+ queryKey: dve,
queryFn: ({ signal: e }) => V("/api/network-status", e),
- refetchInterval: (e) => fve(e.state.data),
+ refetchInterval: (e) => pve(e.state.data),
retry: !1
}), t = document.querySelector("[data-network-banner]");
return e.data?.state !== "offline" || !t ? null : (0, It.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {
@@ -47700,72 +47715,72 @@ function pve() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, I.jsx)("p", { children: dve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: fve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
}), t);
}
// src/react/components/segmented.tsx
-function mve(e) {
- let t = TL(OH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(OB, {
+function hve(e) {
+ let t = EL(kH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(kB, {
...e,
ref: t
});
}
-function NU(e) {
- let t = TL(OH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+function PU(e) {
+ let t = EL(kH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(Jz, {
...e,
ref: t
});
}
-var PU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", FU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", hve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", IU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", LU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", gve = {
- browse: aV,
- collect: LB,
- watch: eV,
- manage: qB,
- experience: QB,
- discovery: iV,
- storage: VB,
- system: oV
-}, _ve = {
- basics: BB,
- "find-play": aV,
+var FU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", IU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", gve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", LU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", RU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", _ve = {
+ browse: oV,
+ collect: RB,
+ watch: tV,
+ manage: JB,
+ experience: $B,
+ discovery: aV,
+ storage: HB,
+ system: sV
+}, vve = {
+ basics: VB,
+ "find-play": oV,
entities: lge,
- jav: GB,
- save: LB,
- follow: iV,
- insights: IB,
- viewing: eV,
- devices: sV,
- external: HB,
- maintenance: lV,
- appearance: QB,
- playback: eV,
- content: WB,
- "search-settings": aV,
- "jav-settings": GB,
- subscriptions: iV,
- library: VB,
- downloads: HB,
- network: sV,
- "app-maintenance": lV,
+ jav: KB,
+ save: RB,
+ follow: aV,
+ insights: LB,
+ viewing: tV,
+ devices: cV,
+ external: UB,
+ maintenance: uV,
+ appearance: $B,
+ playback: tV,
+ content: GB,
+ "search-settings": oV,
+ "jav-settings": KB,
+ subscriptions: aV,
+ library: HB,
+ downloads: UB,
+ network: cV,
+ "app-maintenance": uV,
diagnostics: ege
};
-function vve({ chapter: e, className: t = "size-5" }) {
- let n = _ve[e] || BB;
+function yve({ chapter: e, className: t = "size-5" }) {
+ let n = vve[e] || VB;
return /* @__PURE__ */ (0, I.jsx)(n, {
"aria-hidden": !0,
- className: JI(t, "shrink-0")
+ className: YI(t, "shrink-0")
});
}
-function RU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
+function zU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-guide-banner": "",
"data-guide-completed": i || void 0,
- className: RH({
+ className: zH({
radius: "plain",
className: "flex flex-col gap-4"
}),
@@ -47794,8 +47809,8 @@ function RU({ icon: e, title: t, description: n, children: r, completed: i = !1
})]
});
}
-function zU({ chapter: e, progress: t, loading: n, start: r }) {
- let i = oU(t, e), a = !i && !!t.chapters[e.id];
+function BU({ chapter: e, progress: t, loading: n, start: r }) {
+ let i = sU(t, e), a = !i && !!t.chapters[e.id];
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
disabled: n,
@@ -47805,7 +47820,7 @@ function zU({ chapter: e, progress: t, loading: n, start: r }) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(vve, { chapter: e.id })
+ children: /* @__PURE__ */ (0, I.jsx)(yve, { chapter: e.id })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col gap-1",
@@ -47817,7 +47832,7 @@ function zU({ chapter: e, progress: t, loading: n, start: r }) {
children: e.summary
})]
}),
- i ? /* @__PURE__ */ (0, I.jsx)(BU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ i ? /* @__PURE__ */ (0, I.jsx)(VU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: [
a ? "继续 · " : "",
@@ -47825,17 +47840,17 @@ function zU({ chapter: e, progress: t, loading: n, start: r }) {
" 步"
]
}),
- /* @__PURE__ */ (0, I.jsx)(FB, {
+ /* @__PURE__ */ (0, I.jsx)(IB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0 text-text-secondary"
})
]
});
}
-function BU() {
+function VU() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",
- children: [/* @__PURE__ */ (0, I.jsx)(RB, {
+ children: [/* @__PURE__ */ (0, I.jsx)(zB, {
"aria-hidden": !0,
className: "size-4"
}), /* @__PURE__ */ (0, I.jsx)("span", {
@@ -47844,17 +47859,17 @@ function BU() {
})]
});
}
-function yve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
- let [s, c] = (0, F.useState)(null), l = iU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = oU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = iU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
+function bve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
+ let [s, c] = (0, F.useState)(null), l = aU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = sU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = aU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(RU, {
+ /* @__PURE__ */ (0, I.jsxs)(zU, {
completed: u,
- icon: e === "interface" ? BB : oV,
+ icon: e === "interface" ? VB : sV,
title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",
description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",
- children: [u ? /* @__PURE__ */ (0, I.jsx)(BU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [u ? /* @__PURE__ */ (0, I.jsx)(VU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "text-body-2-regular text-text-secondary",
children: [l.steps.length, " 步 · 随时可以退出"]
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -47867,26 +47882,26 @@ function yve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
})
})]
}),
- /* @__PURE__ */ (0, I.jsx)(hV, {
+ /* @__PURE__ */ (0, I.jsx)(gV, {
"aria-label": "搜索教程",
value: t,
onChange: n,
- children: /* @__PURE__ */ (0, I.jsx)(_V, {
+ children: /* @__PURE__ */ (0, I.jsx)(vV, {
type: "search",
placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",
- leadingIcon: aV
+ leadingIcon: oV
})
}),
f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-chapters",
- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {
chapter: e,
progress: i,
loading: a,
start: o
}, e.id))
- }) : /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: aV,
+ }) : /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: oV,
title: "没有匹配的教程",
size: "compact",
children: "试试功能名或设置名称。"
@@ -47904,12 +47919,12 @@ function yve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topics",
- children: I_e.filter((t) => t.kind === e).map((e) => {
- let t = gve[e.id];
+ children: L_e.filter((t) => t.kind === e).map((e) => {
+ let t = _ve[e.id];
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-guide-topic": e.id,
className: "peach-guide-topic",
- children: /* @__PURE__ */ (0, I.jsx)(hU, {
+ children: /* @__PURE__ */ (0, I.jsx)(gU, {
trailing: !0,
isOpen: s === e.id,
onOpenChange: (t) => c(t ? e.id : null),
@@ -47934,8 +47949,8 @@ function yve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}),
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topic-chapters",
- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
- chapter: iU.find((t) => t.id === e),
+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {
+ chapter: aU.find((t) => t.id === e),
progress: i,
loading: a,
start: o
@@ -47949,14 +47964,14 @@ function yve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
});
}
// src/onboarding/guide-entry.ts
-var VU = "侧栏收起时,先点左上角的导航按钮。", HU = (...e) => ({
+var HU = "侧栏收起时,先点左上角的导航按钮。", UU = (...e) => ({
path: ["侧栏", ...e],
- hint: VU
-}), UU = (e) => ({
+ hint: HU
+}), WU = (e) => ({
path: ["侧栏底部的设置", e],
- hint: VU
+ hint: HU
});
-function bve(e) {
+function xve(e) {
if (e.surface) return e.id === "external" ? { path: [
"作品卡片",
"作品详情",
@@ -47974,7 +47989,7 @@ function bve(e) {
let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];
if (t.startsWith("/settings/")) {
let e = Tf[r];
- if (e) return UU(e);
+ if (e) return WU(e);
let t = Ef[r];
if (t) return {
path: [
@@ -47982,11 +47997,11 @@ function bve(e) {
"Peach 配置",
t
],
- hint: VU
+ hint: HU
};
}
let i = new URLSearchParams(n);
- if (t === "/jav" || i.get("jav") === "1") return HU("JAV", JH.find(([e]) => e === (i.get("tab") || "library"))?.[1] || JH[0][1]);
+ if (t === "/jav" || i.get("jav") === "1") return UU("JAV", YH.find(([e]) => e === (i.get("tab") || "library"))?.[1] || YH[0][1]);
if (t === "/") {
switch (e.id) {
case "search": return {
@@ -47996,9 +48011,9 @@ function bve(e) {
case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };
case "library": return {
path: ["侧栏顶部", "媒体库选择器"],
- hint: VU
+ hint: HU
};
- case "preferences": return UU(Tf.appearance);
+ case "preferences": return WU(Tf.appearance);
case "wall": return { path: ["页面顶部", "播放墙按钮"] };
case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };
case "cards":
@@ -48020,23 +48035,23 @@ function bve(e) {
hint: "来源、时长等更多筛选位于侧栏。"
};
}
- return HU("首页");
+ return UU("首页");
}
if ([
"/review",
"/quality-goals",
"/trash"
- ].includes(t)) return HU("管理", Xf["/data-cleanup"].title, t === "/trash" ? "回收站" : Xf[t].title);
+ ].includes(t)) return UU("管理", Xf["/data-cleanup"].title, t === "/trash" ? "回收站" : Xf[t].title);
let a = Xf[t];
if (a?.nav && a.title) {
- let e = HU(a.title);
+ let e = UU(a.title);
return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;
}
- if (a?.section && a.title) return HU("管理", a.title);
+ if (a?.section && a.title) return UU("管理", a.title);
}
// src/react/onboarding/guide-popover.tsx
-function xve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
- let c = ZV(), l = bve(e);
+function Sve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
+ let c = QV(), l = xve(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "peach-guide-popover-content",
onPointerDown: (e) => e.stopPropagation(),
@@ -48047,7 +48062,7 @@ function xve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
id: "driver-popover-title",
className: "text-body-medium text-text-primary",
children: e.title
- }), /* @__PURE__ */ (0, I.jsx)(TV, {
+ }), /* @__PURE__ */ (0, I.jsx)(EV, {
label: s ? "关闭教程提示" : "结束导览",
onPress: o
})]
@@ -48073,7 +48088,7 @@ function xve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",
children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {
className: "inline-flex items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(FB, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(IB, {
className: "size-4 shrink-0 text-text-secondary",
"aria-hidden": "true"
}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
@@ -48094,15 +48109,15 @@ function xve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "text-caption-1-regular text-text-secondary",
children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"
}) : null,
- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(hU, {
+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(gU, {
summary: "更多说明",
- children: /* @__PURE__ */ (0, I.jsx)(uU, { details: e.details })
+ children: /* @__PURE__ */ (0, I.jsx)(dU, { details: e.details })
}) : null,
e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: e.scope
}) : null,
- r ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ r ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"
}) : null
@@ -48156,14 +48171,14 @@ function xve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
]
});
}
-function WU(e, t, n) {
+function GU(e, t, n) {
let r = document.createElement("div");
e.replaceChildren(r, t);
let i = (0, Lt.createRoot)(r);
- return (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(xve, { ...n }))), () => i.unmount();
+ return (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Sve, { ...n }))), () => i.unmount();
}
// src/react/onboarding/tutorial-center.tsx
-function Sve({ go: e }) {
+function Cve({ go: e }) {
let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);
(0, F.useEffect)(() => {
let e = new AbortController();
@@ -48177,7 +48192,7 @@ function Sve({ go: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(RU, {
+ /* @__PURE__ */ (0, I.jsxs)(zU, {
icon: tge,
title: "从第一份收藏开始",
description: "连接媒体目录,查看入库结果,再打开馆藏。",
@@ -48189,7 +48204,7 @@ function Sve({ go: e }) {
children: "连接媒体目录"
})]
}),
- r ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ r ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -48205,7 +48220,7 @@ function Sve({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(qB, {
+ children: /* @__PURE__ */ (0, I.jsx)(JB, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48243,7 +48258,7 @@ function Sve({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(eV, {
+ children: /* @__PURE__ */ (0, I.jsx)(tV, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48261,7 +48276,7 @@ function Sve({ go: e }) {
] })
]
}),
- /* @__PURE__ */ (0, I.jsx)(hU, {
+ /* @__PURE__ */ (0, I.jsx)(gU, {
summary: "更多接入方式",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-routes",
@@ -48270,31 +48285,31 @@ function Sve({ go: e }) {
title: "关注创作者",
description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",
path: "/subscriptions",
- icon: iV
+ icon: aV
},
{
title: "口味与记录",
description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",
path: "/taste",
- icon: IB
+ icon: LB
},
{
title: "云下载与浏览器添加",
description: "连接渠道、设置目标目录,按需要配对用户脚本。",
path: "/settings/downloads",
- icon: HB
+ icon: UB
},
{
title: "手机访问",
description: "查看访问范围、地址与密码。",
path: "/settings/network",
- icon: sV
+ icon: cV
},
...u ? [{
title: "人工复核",
description: `当前有 ${u.toLocaleString()} 条待复核资料。`,
path: "/review",
- icon: RB
+ icon: zB
}] : []
].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -48321,15 +48336,15 @@ function Sve({ go: e }) {
]
});
}
-function Cve({ actions: e }) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(z_e), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = ZV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
+function wve({ actions: e }) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(B_e), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = QV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
C.current = l;
let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {
C.current = e, u(e);
}, N = async (e = !0) => {
let t = j.current;
try {
- let n = await V_e();
+ let n = await H_e();
return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);
} catch {
return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;
@@ -48339,7 +48354,7 @@ function Cve({ actions: e }) {
let n = ++j.current;
A.current += 1, k.current = k.current.then(async () => {
try {
- let r = await H_e(e.campaign, t);
+ let r = await U_e(e.campaign, t);
M.current && n === j.current && ee(r);
} catch {
M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));
@@ -48368,7 +48383,7 @@ function Cve({ actions: e }) {
let i = !1, a = null;
return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {
i || (a = t({
- mountPopover: WU,
+ mountPopover: GU,
invitation: !0,
navigate: e.navigate,
previous: () => {},
@@ -48407,12 +48422,12 @@ function Cve({ actions: e }) {
D.current = !1;
});
document.addEventListener("input", e), document.addEventListener("change", e);
- let r = W_e((e) => {
+ let r = G_e((e) => {
(async () => {
let t = document.activeElement;
if (await k.current, !M.current || !await N() || e.invitation) return;
re(), T.current = t, g(""), c("");
- let r = iU.find((t) => t.id === e.chapter);
+ let r = aU.find((t) => t.id === e.chapter);
e.reopen ? (i(!1), te({
...C.current,
invited: !0,
@@ -48441,11 +48456,11 @@ function Cve({ actions: e }) {
g("请先关闭当前详情或对话框,再开始导览。");
return;
}
- if (t.steps.some((e) => e.surface) && r8()?.miniplayerActive()) {
+ if (t.steps.some((e) => e.surface) && i8()?.miniplayerActive()) {
g("请先关闭正在播放的小窗,再开始播放器导览。");
return;
}
- let i = r ? B_e(C.current, t) : 0;
+ let i = r ? V_e(C.current, t) : 0;
if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {
g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");
return;
@@ -48479,7 +48494,7 @@ function Cve({ actions: e }) {
}), b.current?.show(t.steps[w.current], w.current, t.steps.length);
};
b.current = r({
- mountPopover: WU,
+ mountPopover: GU,
navigate: e.navigate,
close: () => {
re(!0), o(t.kind);
@@ -48490,18 +48505,18 @@ function Cve({ actions: e }) {
},
next: async (e = !1) => {
let n = w.current + 1;
- if (te(U_e(C.current, t.id, t.steps[w.current].id, n, e), {
+ if (te(W_e(C.current, t.id, t.steps[w.current].id, n, e), {
action: "step",
chapter: t.id,
step: t.steps[w.current].id,
next: n,
skipped: e
}), n >= t.steps.length) {
- if (t.id === "basics" && oU(C.current, t) && te({
+ if (t.id === "basics" && sU(C.current, t) && te({
...C.current,
completed: !0
}, { action: "complete" }), await k.current, a !== S.current) return;
- re(!0), o(t.kind), g(oU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
+ re(!0), o(t.kind), g(sU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
} else w.current = n, l();
}
}), l();
@@ -48514,11 +48529,11 @@ function Cve({ actions: e }) {
O.current = (e, t) => {
oe(e, t);
};
- let se = R_e(location.pathname);
+ let se = z_e(location.pathname);
return (0, It.createPortal)(/* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [p && !t ? /* @__PURE__ */ (0, I.jsx)("aside", {
className: "peach-react peach-guide-invitation",
"aria-label": "教程同步状态",
- children: /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -48529,7 +48544,7 @@ function Cve({ actions: e }) {
}),
children: p
})
- }) : null, /* @__PURE__ */ (0, I.jsxs)(yV, {
+ }) : null, /* @__PURE__ */ (0, I.jsxs)(bV, {
isOpen: t,
onOpenChange: (e) => {
e || ie();
@@ -48544,18 +48559,18 @@ function Cve({ actions: e }) {
id: "guideTitle",
className: "text-title-2-medium text-text-primary",
children: "新手教程"
- }), /* @__PURE__ */ (0, I.jsx)(TV, {
+ }), /* @__PURE__ */ (0, I.jsx)(EV, {
label: "关闭新手教程",
onPress: ie
})]
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",
- children: /* @__PURE__ */ (0, I.jsx)(NU, {
+ children: /* @__PURE__ */ (0, I.jsx)(PU, {
"aria-label": "教程路径",
name: "guide-path",
orientation: "horizontal",
- className: PU,
+ className: FU,
value: a,
onChange: (e) => {
o(e), c(""), g("");
@@ -48564,9 +48579,9 @@ function Cve({ actions: e }) {
["start", "开始使用"],
["interface", "界面导览"],
["settings", "设置导览"]
- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Jz, {
+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Yz, {
value: e,
- className: FU,
+ className: IU,
children: t
}, e))
})
@@ -48577,7 +48592,7 @@ function Cve({ actions: e }) {
ref: y,
className: "peach-guide-body",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ p ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
className: "mb-4",
action: /* @__PURE__ */ (0, I.jsx)(J, {
@@ -48589,12 +48604,12 @@ function Cve({ actions: e }) {
}),
children: p
}) : null,
- h ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ h ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
className: "mb-4",
children: h
}) : null,
- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Sve, { go: ae }) : /* @__PURE__ */ (0, I.jsx)(yve, {
+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(Cve, { go: ae }) : /* @__PURE__ */ (0, I.jsx)(bve, {
kind: a,
query: s,
setQuery: c,
@@ -48612,15 +48627,15 @@ function Cve({ actions: e }) {
})] }), document.body);
}
// src/react/client-updates.tsx
-var wve = 12e4, Tve = 15e3, GU = () => document.visibilityState !== "hidden", KU = /* @__PURE__ */ new Set([
+var Tve = 12e4, Eve = 15e3, KU = () => document.visibilityState !== "hidden", qU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), qU = "/settings/maintenance#releaseUpdates";
-function Eve() {
+]), JU = "/settings/maintenance#releaseUpdates";
+function Dve() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
return typeof e?.version == "string" && typeof e?.build_id == "string" ? {
@@ -48631,23 +48646,23 @@ function Eve() {
return null;
}
}
-function JU() {
- let e = (0, F.useRef)(Eve()), [t, n] = (0, F.useState)(null);
+function YU() {
+ let e = (0, F.useRef)(Dve()), [t, n] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let t = !1, r, i, a = async () => {
- if (t || !GU()) return;
+ if (t || !KU()) return;
let o = new AbortController();
i = o;
- let s = setTimeout(() => o.abort(), Tve);
+ let s = setTimeout(() => o.abort(), Eve);
o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });
try {
let r = await V("/api/client-updates", o.signal);
!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));
} catch {} finally {
- clearTimeout(s), i === o && (i = void 0, !t && GU() && (r = setTimeout(a, wve)));
+ clearTimeout(s), i === o && (i = void 0, !t && KU() && (r = setTimeout(a, Tve)));
}
}, o = () => {
- clearTimeout(r), i?.abort(), i = void 0, GU() && a();
+ clearTimeout(r), i?.abort(), i = void 0, KU() && a();
};
return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {
t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);
@@ -48657,12 +48672,12 @@ function JU() {
refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)
};
}
-function Dve({ navigate: e }) {
- let { snapshot: t, refresh: n } = JU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
+function Ove({ navigate: e }) {
+ let { snapshot: t, refresh: n } = YU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
if (!t || !a) return null;
- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : KU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : qU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
if (!l) return null;
- let u = (s.state === "ready" || KU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
+ let u = (s.state === "ready" || qU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
l,
c.version,
c.build_id
@@ -48685,22 +48700,22 @@ function Dve({ navigate: e }) {
children: [" Peach ", u]
}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex-wrap",
- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(TH, {
+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(EH, {
variant: "secondary",
size: "small",
onClick: () => window.location.reload(),
"data-copy-key": "clientUpdates.refresh.action",
children: "刷新页面"
- }) : /* @__PURE__ */ (0, I.jsx)(TH, {
+ }) : /* @__PURE__ */ (0, I.jsx)(EH, {
variant: "secondary",
size: "small",
- href: qU,
+ href: JU,
onClick: (t) => {
- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(qU));
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(JU));
},
"data-copy-key": `clientUpdates.${l}.action`,
children: l === "preparing" ? "查看进度" : "查看更新"
- }), /* @__PURE__ */ (0, I.jsx)(TH, {
+ }), /* @__PURE__ */ (0, I.jsx)(EH, {
variant: "secondary",
size: "small",
onClick: () => i(d),
@@ -48711,8 +48726,8 @@ function Dve({ navigate: e }) {
}, d), a);
}
// src/react/router/pages/settings.tsx
-function Ove() {
- let e = (0, F.useContext)(nG), { pathname: t } = Zd();
+function kve() {
+ let e = (0, F.useContext)(aG), { pathname: t } = Zd();
return (0, F.useEffect)(() => {
e?.openSettings?.(Af(t));
}, [e, t]), (0, F.useEffect)(() => () => {
@@ -48722,7 +48737,7 @@ function Ove() {
}, [e]), null;
}
// src/junk-queue.ts
-var YU = [
+var XU = [
[
"",
"全部",
@@ -48758,40 +48773,40 @@ var YU = [
"其它",
"hard-drive"
]
-], kve = (e) => YU.find(([t]) => t === e)?.[0] ?? "";
-function XU(e) {
+], Ave = (e) => XU.find(([t]) => t === e)?.[0] ?? "";
+function ZU(e) {
let t = new URLSearchParams(e);
return {
- kind: kve(t.get("type")),
+ kind: Ave(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function ZU(e = "", t = "pending") {
+function QU(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function QU(e) {
+function $U(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: ZU("", "pending")
+ href: QU("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: ZU("", "dismissed")
+ href: QU("", "dismissed")
};
}
-var $U = (e) => e === "dismissed" ? "已排除" : "待判断", eW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function Ave({ kind: e, view: t }) {
- let n = YU.map(([n, r, i]) => `<a href="${ZU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${eW(i)}${B(r)}</a>`).join(""), r = QU(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ps($U(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${eW(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var eW = (e) => e === "dismissed" ? "已排除" : "待判断", tW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function jve({ kind: e, view: t }) {
+ let n = XU.map(([n, r, i]) => `<a href="${QU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${tW(i)}${B(r)}</a>`).join(""), r = $U(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ps(eW(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${tW(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function jve(e, t, n) {
+function Mve(e, t, n) {
(0, F.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -48805,7 +48820,7 @@ function jve(e, t, n) {
n
]);
}
-function Mve(e, t) {
+function Nve(e, t) {
let n = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e) return;
@@ -48818,33 +48833,33 @@ function Mve(e, t) {
}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
}
// src/react/boardui/components/base/select/select.tsx
-var tW = (0, F.createContext)("md");
-function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var nW = (0, F.createContext)("md");
+function rW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);
- jve(d, () => f(!1), [l, u]);
- let p = Mve(d, l);
+ Mve(d, () => f(!1), [l, u]);
+ let p = Nve(d, l);
return /* @__PURE__ */ (0, I.jsx)(gme, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: JI("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(eR, {
+ className: YI("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(tR, {
ref: l,
- className: JI("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ className: YI("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
children: [/* @__PURE__ */ (0, I.jsx)(yme, {
- className: JI("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: YI("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, I.jsx)(Sge, { className: JI("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Cge, { className: YI("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, I.jsx)(Oz, {
ref: u,
isNonModal: !0,
offset: 4,
- className: JI(Tge, UV, "p-2", n),
+ className: YI(Ege, WV, "p-2", n),
children: /* @__PURE__ */ (0, I.jsx)(Rpe, {
items: a,
- className: JI(Ege, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, I.jsx)(tW.Provider, {
+ className: YI(Dge, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, I.jsx)(nW.Provider, {
value: r,
children: i
})
@@ -48852,16 +48867,16 @@ function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function rW({ className: e, children: t, ...n }) {
- let r = (0, F.useContext)(tW);
+function iW({ className: e, children: t, ...n }) {
+ let r = (0, F.useContext)(nW);
return /* @__PURE__ */ (0, I.jsx)(Vpe, {
...n,
- className: (t) => JI(WV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => YI(GV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
// src/react/boardui/components/base/badges/chip.tsx
-var iW = YI({
+var aW = XI({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -48880,15 +48895,15 @@ var iW = YI({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function aW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function oW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
ref: r,
- className: JI(iW.base, iW.variant[e], iW.color[t], n),
+ className: YI(aW.base, aW.variant[e], aW.color[t], n),
...i
});
}
// src/react/components/art-slot.tsx
-function oW({ artwork: e, identity: t = e.html, relayout: n }) {
+function sW({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, F.useState)({
identity: t,
artwork: e
@@ -48907,7 +48922,7 @@ function oW({ artwork: e, identity: t = e.html, relayout: n }) {
});
}
// src/react/activity/downloads-panel.tsx
-var sW = "/api/downloads", cW = ["downloads"], Nve = "/api/downloads/cancel", Pve = "/api/downloads/postprocess", lW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Fve = {
+var cW = "/api/downloads", lW = ["downloads"], Pve = "/api/downloads/cancel", Fve = "/api/downloads/postprocess", uW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Ive = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -48916,21 +48931,21 @@ var sW = "/api/downloads", cW = ["downloads"], Nve = "/api/downloads/cancel", Pv
remote_done: "lime",
landed: "lime",
submitted: "neutral"
-}, uW = (e) => {
- let t = e.display_code || e.code || "", { title: n } = nL({
+}, dW = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = rL({
is_jav: !!t,
code: t,
name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name
});
return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;
-}, dW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Ive = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function Lve() {
+}, fW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Lve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function Rve() {
let e = (0, F.useId)(), t = Ft({
- queryKey: [...cW, "pages"],
+ queryKey: [...lW, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => V(`${sW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => V(`${cW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,
- refetchInterval: (e) => e.state.data?.pages.some((e) => lW(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => uW(e) === 5e3) ? 5e3 : 3e4
}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];
return !r.length && !t.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {
id: "cloudDownloads",
@@ -48942,14 +48957,14 @@ function Lve() {
className: "text-title-2-medium text-text-primary",
children: "云下载"
}),
- t.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ t.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: sr(t.error)
}) : null,
r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Rve, {
+ children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(zve, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -48957,9 +48972,9 @@ function Lve() {
t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: NB,
+ leadingIcon: PB,
className: "self-start",
- ...EV(t.isFetchingNextPage),
+ ...DV(t.isFetchingNextPage),
onClick: () => {
t.isFetching || t.fetchNextPage();
},
@@ -48968,16 +48983,16 @@ function Lve() {
]
});
}
-function Rve({ task: e, writable: t }) {
- yL();
- let n = ae(), r = EH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = dW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
+function zve({ task: e, writable: t }) {
+ bL();
+ let n = ae(), r = DH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = fW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
e.display_code || e.code ? "" : "番号未识别",
e.target,
- _L(e.submitted_at)
+ vL(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: cW });
+ n.invalidateQueries({ queryKey: lW });
}, g = () => {
- r.run("cancel", (t) => H(Nve, { id: e.id }, "POST", t), h);
+ r.run("cancel", (t) => H(Pve, { id: e.id }, "POST", t), h);
}, _ = () => {
let t = {
magnet: e.source_uri,
@@ -48987,16 +49002,16 @@ function Rve({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => H(sW, t, "POST", e), h);
+ r.run("resubmit", (e) => H(cW, t, "POST", e), h);
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
- r.run("postprocess", (t) => H(Pve, { id: e.id }, "POST", t), h);
+ r.run("postprocess", (t) => H(Fve, { id: e.id }, "POST", t), h);
};
return /* @__PURE__ */ (0, I.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: RH({
+ className: zH({
padding: "none",
className: p ? "flex flex-col border-border-error-default" : "flex flex-col"
}),
@@ -49006,14 +49021,14 @@ function Rve({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(SM) },
+ style: { "--card-ratio": String(CM) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-nopic": "",
children: "无封面"
}),
- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(sW, {
artwork: {
kind: "cover",
html: bo(u, "big")
@@ -49023,7 +49038,7 @@ function Rve({ task: e, writable: t }) {
f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-cover-link": "",
href: f,
- "aria-label": `打开作品详情:${uW(e)}`,
+ "aria-label": `打开作品详情:${dW(e)}`,
className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"
}) : null
]
@@ -49034,19 +49049,19 @@ function Rve({ task: e, writable: t }) {
className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("strong", {
className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
- title: uW(e),
+ title: dW(e),
children: f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-title-link": "",
href: f,
className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",
- children: uW(e)
- }) : uW(e)
+ children: dW(e)
+ }) : dW(e)
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(aW, {
- color: Fve[e.state] ?? "neutral",
+ children: [/* @__PURE__ */ (0, I.jsx)(oW, {
+ color: Ive[e.state] ?? "neutral",
children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(aW, {
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(oW, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
children: e.postprocess_label
}) : null]
@@ -49056,7 +49071,7 @@ function Rve({ task: e, writable: t }) {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "flex shrink-0",
- children: /* @__PURE__ */ (0, I.jsx)(yU, {
+ children: /* @__PURE__ */ (0, I.jsx)(bU, {
source: e.provider,
label: e.provider_label
})
@@ -49083,7 +49098,7 @@ function Rve({ task: e, writable: t }) {
children: [d.map((e) => en("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]
})]
}) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(VH, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(HH, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -49093,7 +49108,7 @@ function Rve({ task: e, writable: t }) {
title: e.ledger_path,
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, I.jsx)(pU, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, I.jsx)(mU, { children: r.error }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-actions": "",
className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",
@@ -49118,21 +49133,21 @@ function Rve({ task: e, writable: t }) {
e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(r.busy === "cancel"),
+ ...DV(r.busy === "cancel"),
onClick: g,
children: "取消"
}) : null,
e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(r.busy === "resubmit"),
+ ...DV(r.busy === "resubmit"),
onClick: _,
children: "重新提交"
}) : null,
e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(r.busy === "postprocess"),
+ ...DV(r.busy === "postprocess"),
onClick: y,
children: "重试入库后整理"
}) : null
@@ -49147,33 +49162,33 @@ function Rve({ task: e, writable: t }) {
id: c,
"data-download-title-full": !0,
className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",
- children: uW(e)
+ children: dW(e)
}) : null,
l || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, I.jsx)("p", {
className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || Ive(e)
+ children: l || Lve(e)
})
}) : null
]
});
}
// src/react/activity/work-code.ts
-var fW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), pW = (e, t) => !!fW(e) && fW(e) === fW(t);
+var pW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), mW = (e, t) => !!pW(e) && pW(e) === pW(t);
// src/react/activity/resource-search.tsx
-function zve({ className: e }) {
+function Bve({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Rs("") }
});
}
-function Bve(e) {
+function Vve(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Bve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = EH(), b = (0, F.useRef)(null);
+function Hve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Vve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = DH(), b = (0, F.useRef)(null);
(0, F.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -49189,7 +49204,7 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => pW(e.code, t));
+ let r = (n.items || []).find((e) => mW(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -49210,18 +49225,18 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, I.jsxs)(fU, { children: [
+ t ? /* @__PURE__ */ (0, I.jsxs)(pU, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? zve : aV,
+ leadingIcon: y.busy ? Bve : oV,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -49231,7 +49246,7 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(mU, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(nW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(hU, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(rW, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -49239,15 +49254,15 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, I.jsx)(rW, {
+ /* @__PURE__ */ (0, I.jsx)(iW, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, I.jsx)(rW, {
+ /* @__PURE__ */ (0, I.jsx)(iW, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, I.jsx)(rW, {
+ /* @__PURE__ */ (0, I.jsx)(iW, {
id: "uncensored",
children: "无码"
})
@@ -49256,32 +49271,32 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, I.jsx)(vV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(yV, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, I.jsx)(vV, {
+ }), /* @__PURE__ */ (0, I.jsx)(yV, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, I.jsx)(fU, {
+ y.busy ? /* @__PURE__ */ (0, I.jsx)(pU, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, I.jsx)(pU, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, I.jsx)(fU, {
+ y.error ? /* @__PURE__ */ (0, I.jsx)(mU, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, I.jsx)(pU, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(fU, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(pU, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(fU, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(pU, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {
@@ -49291,7 +49306,7 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, I.jsx)(fU, { children: [
+ /* @__PURE__ */ (0, I.jsx)(pU, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -49315,19 +49330,19 @@ function Vve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
});
}
// src/react/activity/cloud-download-dialog.tsx
-var Hve = {
+var Uve = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function mW({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, I.jsx)(yV, {
+function hW({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, I.jsx)(Uve, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(Wve, {
prefill: e,
close: t,
receipt: n,
@@ -49335,26 +49350,26 @@ function mW({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function Uve({ prefill: e, close: t, receipt: n, provider: r }) {
+function Wve({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Nt({
- queryKey: cW,
- queryFn: ({ signal: e }) => V(`${sW}?limit=50`, e),
- refetchInterval: (e) => lW(e.state.data)
+ queryKey: lW,
+ queryFn: ({ signal: e }) => V(`${cW}?limit=50`, e),
+ refetchInterval: (e) => uW(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, I.jsx)(nR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(rR, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: zB,
+ leadingIcon: BB,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, I.jsx)(Wve, {
+ return a ? /* @__PURE__ */ (0, I.jsx)(Gve, {
header: o,
snapshot: a,
prefill: e,
@@ -49367,7 +49382,7 @@ function Uve({ prefill: e, close: t, receipt: n, provider: r }) {
o,
/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",
- children: i.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: sr(i.error)
}) : null
@@ -49383,8 +49398,8 @@ function Uve({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = EH(), C = (0, F.useRef)(null), w = (e) => {
+function Gve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = DH(), C = (0, F.useRef)(null), w = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, I.jsxs)("form", {
@@ -49400,14 +49415,14 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => H(sW, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: cW });
- let t = Hve[e.outcome];
+ b(""), S.run("submit", (e) => H(cW, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: lW });
+ let t = Uve[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = dW(e.task);
+ let n = fW(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -49431,7 +49446,7 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, I.jsx)(fU, { children: [
+ }), _ ? /* @__PURE__ */ (0, I.jsx)(pU, { children: [
_.performers,
_.studio,
_.release_date,
@@ -49439,22 +49454,22 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Vve, {
+ /* @__PURE__ */ (0, I.jsx)(Hve, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- pW(e, _?.code) || (v(pW(e, n.code) ? n : null), f("")), m(e);
+ mW(e, _?.code) || (v(mW(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? pW(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? mW(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : pW(t?.code, n.code) ? t : null),
+ } : e : mW(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
}),
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
ref: C,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -49466,38 +49481,38 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, I.jsx)(mU, { children: "下载到" }),
- /* @__PURE__ */ (0, I.jsx)(nW, {
+ /* @__PURE__ */ (0, I.jsx)(hU, { children: "下载到" }),
+ /* @__PURE__ */ (0, I.jsx)(rW, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, I.jsx)(yU, {
+ children: /* @__PURE__ */ (0, I.jsx)(bU, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, I.jsx)(fU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(pU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
- t.available ? null : /* @__PURE__ */ (0, I.jsx)(xV, {
+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: "云下载只在允许修改数据库的设备上可用。"
}),
- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(xV, {
+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(SV, {
tone: "neutral",
children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -49505,17 +49520,17 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, I.jsx)(vV, {
+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(yV, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), pW(e, _?.code) || v(null);
+ m(e), mW(e, _?.code) || v(null);
}
}),
- y || S.error ? /* @__PURE__ */ (0, I.jsx)(pU, { children: y || S.error }) : null
+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(mU, { children: y || S.error }) : null
]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49527,7 +49542,7 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}), /* @__PURE__ */ (0, I.jsx)(J, {
type: "submit",
disabled: !d.trim() || !x,
- ...EV(S.busy === "submit"),
+ ...DV(S.busy === "submit"),
children: "提交下载"
})]
})
@@ -49535,18 +49550,18 @@ function Wve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/wants/wants.ts
-var hW = "/api/wants", gW = ["wants"], Gve = (e) => [
+var gW = "/api/wants", _W = ["wants"], Kve = (e) => [
"wants",
"follow",
e
-], Kve = [
+], qve = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], _W = (e) => V(hW, e);
-function qve(e, t) {
- U.setQueryData(gW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], vW = (e) => V(gW, e);
+function yW(e, t) {
+ U.setQueryData(_W, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -49554,27 +49569,27 @@ function qve(e, t) {
} : n)
} : n);
}
-var Jve = (e, t) => V(`${hW}?follow=${encodeURIComponent(e)}`, t), vW = (e, t) => H(hW, {
+var bW = (e, t) => V(`${gW}?follow=${encodeURIComponent(e)}`, t), xW = (e, t) => H(gW, {
action: "add",
...e
-}, "POST", t), yW = (e, t) => H(hW, {
+}, "POST", t), SW = (e, t) => H(gW, {
action: "remove",
ids: e
-}, "POST", t), bW = (e, t) => H(hW, {
+}, "POST", t), CW = (e, t) => H(gW, {
action: "reset",
ids: e
-}, "POST", t), xW = () => U.invalidateQueries({ queryKey: gW }), SW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function CW(e) {
+}, "POST", t), wW = () => U.invalidateQueries({ queryKey: _W }), TW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function EW(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
// src/react/jav/jav.ts
-var wW = (e, t = "taste", n = "desc") => [
+var DW = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function TW(e, t, n = {}) {
+function OW(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -49583,7 +49598,7 @@ function TW(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), V(`/api/jav/discoveries?${r}`, t);
}
-function EW(e, t, n) {
+function kW(e, t, n) {
let r = So({
...e,
is_jav: !0
@@ -49592,30 +49607,30 @@ function EW(e, t, n) {
let i = B(lo(e));
return bo(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");
}
-async function DW(e, t) {
+async function AW(e, t) {
e === "wants" ? await U.ensureQueryData({
- queryKey: gW,
- queryFn: () => _W(t),
+ queryKey: _W,
+ queryFn: () => vW(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await U.ensureQueryData({
- queryKey: wW("external"),
- queryFn: () => TW("external", t),
+ queryKey: DW("external"),
+ queryFn: () => OW("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
// src/react/components/board-tabs.tsx
-function OW({ value: e }) {
+function jW({ value: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var kW = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, F.useRef)(null), o = TL(a);
+var MW = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function NW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, F.useRef)(null), o = EL(a);
return (0, F.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -49624,7 +49639,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
let n = t.offsetLeft, r = n + t.offsetWidth;
n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);
})();
- }, [t]), /* @__PURE__ */ (0, I.jsx)(ZI, {
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(QI, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -49639,7 +49654,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? wV(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? TV(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
@@ -49648,7 +49663,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
"data-pill-selected": i ? "" : void 0,
"data-pill-variant": "gray",
tabIndex: i ? 0 : -1,
- className: kW,
+ className: MW,
onClick: () => {
i || r(e.value);
},
@@ -49658,7 +49673,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
});
}
// src/react/jav/jav-header.tsx
-function jW({ tab: e, navigate: t, find: n }) {
+function PW({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49672,45 +49687,45 @@ function jW({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: JH.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, I.jsx)(NW, {
+ tabs: YH.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(XH(e))
+ onChange: (e) => t(ZH(e))
})]
});
}
-function MW({ navigate: e, receipt: t }) {
+function FW({ navigate: e, receipt: t }) {
let [n, r] = (0, F.useState)(null);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jW, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PW, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, I.jsx)(mW, {
+ }), /* @__PURE__ */ (0, I.jsx)(hW, {
prefill: n,
close: () => r(null),
receipt: t
})] });
}
// src/react/router/pages/catalog.tsx
-var NW = () => lu, PW = G.navigation.seq, FW = G.navigation.openEpoch, IW = G.navigation.location.pathname, LW = {
- seq: PW,
+var IW = () => lu, LW = G.navigation.seq, RW = G.navigation.openEpoch, zW = G.navigation.location.pathname, BW = {
+ seq: LW,
claimed: !0,
- from: IW
+ from: zW
};
G.listen((e) => {
- LW = {
+ BW = {
seq: e.seq,
- claimed: e.openEpoch === FW,
- from: IW
- }, FW = e.openEpoch, IW = e.location.pathname;
+ claimed: e.openEpoch === RW,
+ from: zW
+ }, RW = e.openEpoch, zW = e.location.pathname;
});
-var RW = !1;
-function zW(e) {
+var VW = !1;
+function HW(e) {
let { seq: t, openEpoch: n, location: r } = G.navigation, i = Lf(r.pathname), a = Dp() ?? r, o = W ?? {};
return {
seq: t,
@@ -49722,7 +49737,7 @@ function zW(e) {
opened: e
};
}
-function BW(e, t, n, r) {
+function UW(e, t, n, r) {
let i = { ...W }, a = am("catalog");
if (a) return { ...a };
if (e === "/trash") return {
@@ -49734,7 +49749,7 @@ function BW(e, t, n, r) {
state: "trash",
q: ""
};
- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = pM().value;
+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = mM().value;
return {
...i,
loc: o.get("loc") ?? r.defaultLoc(),
@@ -49748,7 +49763,7 @@ function BW(e, t, n, r) {
dur_max: o.get("dur_max") || "",
orient: o.get("orient") || "",
state: Dn[e] || o.get("state") || "",
- ...Jj(o.get("sort"), o.get("dir"), s, c),
+ ...Yj(o.get("sort"), o.get("dir"), s, c),
seed: o.get("seed") || (n ? nr() : i.seed || nr()),
q: o.get("q") || "",
jav: o.get("jav") || "",
@@ -49759,14 +49774,14 @@ function BW(e, t, n, r) {
folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""
};
}
-function VW(e) {
+function WW(e) {
let t = G.navigation.seq;
im("catalog", { ...W });
let n = e(), r = () => G.navigation.seq === t, i = () => document.querySelector("#grid");
cm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => cm(r, i()));
}
-function HW(e, t) {
- let n = { ...e }, r = zW(n.opened);
+function GW(e, t) {
+ let n = { ...e }, r = HW(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -49778,39 +49793,39 @@ function HW(e, t) {
if (r.opens === n.opens) {
if (r.epoch === n.epoch && n.opened) {
if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;
- VW(() => i.load());
+ WW(() => i.load());
return;
}
- r.epoch !== n.epoch && (a = G.navigation.action === "POP" && LW.from !== "/");
+ r.epoch !== n.epoch && (a = G.navigation.action === "POP" && BW.from !== "/");
}
let { pathname: o, search: s } = G.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = XU(s);
- RW = !0, Tp(ZU(e, t), { replace: !0 });
+ let { kind: e, view: t } = ZU(s);
+ VW = !0, Tp(QU(e, t), { replace: !0 });
return;
}
- let c = RW;
- RW = !1, a &&= o === "/" && !om(), e.opened = !0, vu({ state: BW(o, s, a, i) }), VW(() => i.open(o, {
+ let c = VW;
+ VW = !1, a &&= o === "/" && !om(), e.opened = !0, vu({ state: UW(o, s, a, i) }), WW(() => i.open(o, {
entering: a,
retitle: c
}));
}
-function UW() {
- let e = (0, F.useContext)(nG), t = tG(), n = (0, F.useSyncExternalStore)(bu, NW), r = Zd(), i = (0, F.useRef)(null), a = (0, F.useRef)({
+function KW() {
+ let e = (0, F.useContext)(aG), t = iG(), n = (0, F.useSyncExternalStore)(bu, IW), r = Zd(), i = (0, F.useRef)(null), a = (0, F.useRef)({
mounted: !0,
queued: !1
});
return (0, F.useEffect)(() => {
let e = a.current;
e.mounted = !0;
- let t = zW(!Lf(G.navigation.location.pathname));
- return !t.covered && t.opens > 0 && (RW || LW.seq === PW ? t.opens = -1 : LW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
+ let t = HW(!Lf(G.navigation.location.pathname));
+ return !t.covered && t.opens > 0 && (VW || BW.seq === LW ? t.opens = -1 : BW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
e.mounted = !1;
};
}, []), (0, F.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && HW(i.current, e);
+ t.queued = !1, t.mounted && i.current && GW(i.current, e);
}));
}, [
t,
@@ -49819,7 +49834,7 @@ function UW() {
e
]), null;
}
-function WW() {
+function qW() {
let { pathname: e } = Zd();
return (0, F.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -49832,19 +49847,19 @@ function WW() {
e.inert = n[t] || !1;
});
};
- }, [e]), Lf(e) && !If(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UW, {}, e === "/junk-files" ? "/junk-files" : "/"), kn(e) ? /* @__PURE__ */ (0, I.jsx)(hG, {}) : null] });
+ }, [e]), Lf(e) && !If(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(KW, {}, e === "/junk-files" ? "/junk-files" : "/"), kn(e) ? /* @__PURE__ */ (0, I.jsx)(gG, {}) : null] });
}
-function GW() {
- let e = (0, F.useContext)(nG), t = document.getElementById("javLibraryHeader");
- return t && e ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(MW, {
+function JW() {
+ let e = (0, F.useContext)(aG), t = document.getElementById("javLibraryHeader");
+ return t && e ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(FW, {
navigate: e.navigate,
receipt: (t) => e.receipt(t)
}), t) : null;
}
// src/react/router/pages/overlay.tsx
-var KW = () => lu, qW = () => uu;
-function JW() {
- let e = (0, F.useContext)(nG), t = (0, F.useSyncExternalStore)(bu, qW), n = (0, F.useSyncExternalStore)(bu, KW);
+var YW = () => lu, XW = () => uu;
+function ZW() {
+ let e = (0, F.useContext)(aG), t = (0, F.useSyncExternalStore)(bu, XW), n = (0, F.useSyncExternalStore)(bu, YW);
return (0, F.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -49859,8 +49874,8 @@ function JW() {
e
]), null;
}
-function YW(e, t = !1) {
- let n = (0, F.useSyncExternalStore)(bu, KW), r = (0, F.useRef)(void 0);
+function QW(e, t = !1) {
+ let n = (0, F.useSyncExternalStore)(bu, YW), r = (0, F.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = G.navigation;
r.current = lu === 0 || Ep() ? "boot" : e && !t ? null : "history";
@@ -49879,11 +49894,11 @@ function YW(e, t = !1) {
}));
}, [n]);
}
-function XW() {
- let e = (0, F.useContext)(nG), t = (0, F.useRef)(e);
+function $W() {
+ let e = (0, F.useContext)(aG), t = (0, F.useRef)(e);
return (0, F.useLayoutEffect)(() => {
t.current = e;
- }, [e]), YW((t) => {
+ }, [e]), QW((t) => {
let n = G.navigation.location, { pathname: r, search: i } = kf(n.pathname) && Mf(n.state) || n, a = If(r, i);
e && a && (Hf(), t || Uf(G.navigation.location.state), e.openOverlay(a));
}, !0), (0, F.useEffect)(() => () => {
@@ -49892,8 +49907,8 @@ function XW() {
});
}, []), null;
}
-function ZW({ path: e }) {
- tG();
+function eG({ path: e }) {
+ iG();
let { location: t, seq: n, action: r } = G.navigation, i = kf(t.pathname) ? Mf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -49905,24 +49920,24 @@ function ZW({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, I.jsx)(XW, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, I.jsx)($W, {}, `${e} ${o.current.seq}`);
}
-function QW() {
- let e = (0, F.useContext)(nG);
- return YW(() => {
+function tG() {
+ let e = (0, F.useContext)(aG);
+ return QW(() => {
e?.follow?.ground();
}), null;
}
-function $W() {
- return /* @__PURE__ */ (0, I.jsx)(QW, {}, tG());
+function nG() {
+ return /* @__PURE__ */ (0, I.jsx)(tG, {}, iG());
}
// src/react/router/router.tsx
-var eG = (0, F.createContext)(0), tG = () => (0, F.useContext)(eG), nG = (0, F.createContext)(null);
-function rG({ children: e }) {
+var rG = (0, F.createContext)(0), iG = () => (0, F.useContext)(rG), aG = (0, F.createContext)(null);
+function oG({ children: e }) {
let [t, n] = (0, F.useState)(() => G.navigation);
return (0, F.useLayoutEffect)(() => (n(G.navigation), G.listen((e) => {
(0, It.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, I.jsx)(eG.Provider, {
+ })), []), /* @__PURE__ */ (0, I.jsx)(rG.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, I.jsx)(Sf, {
location: t.location,
@@ -49932,34 +49947,34 @@ function rG({ children: e }) {
})
});
}
-function iG({ target: e }) {
+function sG({ target: e }) {
let t = $d();
return (0, F.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function aG(e, t, n) {
+function cG(e, t, n) {
let r = new URL(e, window.location.href);
- N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function oG() {
- let e = (0, F.useContext)(nG), [t, n] = (0, F.useState)(cp), r = (0, F.useRef)(null);
+function lG() {
+ let e = (0, F.useContext)(aG), [t, n] = (0, F.useState)(cp), r = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => (n(cp()), lp((e, t) => {
t ? (0, It.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, F.useMemo)(() => (t) => {
- e && r.current && aG(t, e, r.current);
+ e && r.current && cG(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(iG, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(sG, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(sG, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(uG, {
entry: t,
- children: /* @__PURE__ */ (0, I.jsx)(cG, {
+ children: /* @__PURE__ */ (0, I.jsx)(dG, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var sG = class extends F.Component {
+var uG = class extends F.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -49970,48 +49985,48 @@ var sG = class extends F.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, cG = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
- return q6(e.path) ? (0, It.createPortal)(fFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, dG = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
+ return J6(e.path) ? (0, It.createPortal)(pFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function lG({ children: e }) {
+function Jve({ children: e }) {
let t = Zd();
- tG();
+ iG();
let n = Dp(), r = kf(t.pathname) && !Ep() ? Mf(t.state) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)(Cf, {
location: n ?? t,
children: [
- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(cFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(lFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
- K6.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ q6.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
- element: B6["/"].element
+ element: V6["/"].element
}, e)),
- Object.entries(lFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
+ Object.entries(uFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
element: t.element
}, e)),
Nf.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)($W, {}) : B6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(nG, {}) : V6["/"].element
}, e)),
Of.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
@@ -50027,7 +50042,7 @@ function lG({ children: e }) {
location: r ?? t,
children: [Nf.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(ZW, { path: e })
+ element: /* @__PURE__ */ (0, I.jsx)(eG, { path: e })
}, e)), /* @__PURE__ */ (0, I.jsx)(xf, {
path: "*",
element: null
@@ -50035,38 +50050,38 @@ function lG({ children: e }) {
}),
/* @__PURE__ */ (0, I.jsxs)(Cf, { children: [Of.map((e) => /* @__PURE__ */ (0, I.jsx)(xf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(Ove, {})
+ element: /* @__PURE__ */ (0, I.jsx)(kve, {})
}, e)), /* @__PURE__ */ (0, I.jsx)(xf, {
path: "*",
element: null
})] })
] });
}
-function uG({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, I.jsxs)($V, { children: [n, /* @__PURE__ */ (0, I.jsx)(nG.Provider, {
+function Yve({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, I.jsxs)(eH, { children: [n, /* @__PURE__ */ (0, I.jsx)(aG.Provider, {
value: t,
- children: /* @__PURE__ */ (0, I.jsxs)(rG, { children: [
- /* @__PURE__ */ (0, I.jsx)(oG, {}),
- /* @__PURE__ */ (0, I.jsx)(GW, {}),
+ children: /* @__PURE__ */ (0, I.jsxs)(oG, { children: [
+ /* @__PURE__ */ (0, I.jsx)(lG, {}),
/* @__PURE__ */ (0, I.jsx)(JW, {}),
- r && t ? /* @__PURE__ */ (0, I.jsx)(lve, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(pve, {}) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(Dve, { navigate: t.navigate }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(Cve, { actions: t }) : null,
- /* @__PURE__ */ (0, I.jsx)(lG, { children: e })
+ /* @__PURE__ */ (0, I.jsx)(ZW, {}),
+ r && t ? /* @__PURE__ */ (0, I.jsx)(uve, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(mve, {}) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Ove, { navigate: t.navigate }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(wve, { actions: t }) : null,
+ /* @__PURE__ */ (0, I.jsx)(Jve, { children: e })
] })
})] });
}
-var Yve = { onCaughtError: (e) => {
+var Xve = { onCaughtError: (e) => {
globalThis.reportError?.(e);
-} }, dG = {
+} }, fG = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function fG(e, t = "", n = "") {
+function pG(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -50078,14 +50093,14 @@ function fG(e, t = "", n = "") {
queryFn: ({ signal: e }) => V(`/api/folders?${r}`, e)
};
}
-function pG(e, t) {
+function mG(e, t) {
let n = new URLSearchParams(e.search);
for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);
return e.pathname + (n.size ? `?${n}` : "");
}
// src/react/catalog-folders/folder-rule-dialog.tsx
-function Xve({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, F.useContext)(nG), a = EH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
+function Zve({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, F.useContext)(aG), a = DH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -50114,7 +50129,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, I.jsx)(yV, {
+ return g ? null : /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: !0,
onOpenChange: (e) => {
!e && !w && r();
@@ -50128,7 +50143,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, I.jsx)(nR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(rR, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -50136,7 +50151,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",
children: e.path
})]
- }), /* @__PURE__ */ (0, I.jsx)(TV, {
+ }), /* @__PURE__ */ (0, I.jsx)(EV, {
label: "关闭目录用途",
onPress: () => {
w || r();
@@ -50148,20 +50163,20 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(fV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(nW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(pV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(rW, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(dG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: Object.entries(fG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(iW, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(vV, {
+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(yV, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -50172,7 +50187,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: w,
isRequired: !0
}),
- /* @__PURE__ */ (0, I.jsx)(XV, {
+ /* @__PURE__ */ (0, I.jsx)(ZV, {
isSelected: u,
isDisabled: w,
onChange: (e) => {
@@ -50180,7 +50195,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, I.jsx)(XV, {
+ /* @__PURE__ */ (0, I.jsx)(ZV, {
isSelected: f,
isDisabled: w,
onChange: (e) => {
@@ -50217,9 +50232,9 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
children: e.name
}, e.id))
}) : null,
- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "warning",
- extra: /* @__PURE__ */ (0, I.jsx)(hU, {
+ extra: /* @__PURE__ */ (0, I.jsx)(gU, {
summary: "查看归属冲突",
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "mt-2 flex flex-col gap-2",
@@ -50237,7 +50252,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
}) : null
]
}) : null,
- a.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ a.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: a.error
}) : null
@@ -50252,7 +50267,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
onClick: () => {
w || C();
},
- ...EV(a.busy === "remove"),
+ ...DV(a.busy === "remove"),
children: "移除规则"
}) : null,
/* @__PURE__ */ (0, I.jsx)(J, {
@@ -50264,13 +50279,13 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
}),
m ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
- ...EV(a.busy === "save"),
+ ...DV(a.busy === "save"),
onClick: S,
children: T("save", "正在保存") || "保存目录用途"
}) : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
disabled: o !== "category" && !c.trim(),
- ...EV(a.busy === "preview"),
+ ...DV(a.busy === "preview"),
onClick: () => {
x();
},
@@ -50283,7 +50298,7 @@ function Xve({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function Zve(e, t) {
+function Qve(e, t) {
(0, F.useLayoutEffect)(() => {
if (!e) return;
let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {
@@ -50306,34 +50321,34 @@ function Zve(e, t) {
}, [e, t]);
}
// src/react/catalog-folders/catalog-folders-page.tsx
-function mG() {
- return Xd() ? /* @__PURE__ */ (0, I.jsx)(Qve, {}) : null;
+function hG() {
+ return Xd() ? /* @__PURE__ */ (0, I.jsx)($ve, {}) : null;
}
-function Qve() {
- let e = Zd(), t = (0, F.useContext)(nG);
+function $ve() {
+ let e = Zd(), t = (0, F.useContext)(aG);
if (!kn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
- return /* @__PURE__ */ (0, I.jsx)(SL, {
+ return /* @__PURE__ */ (0, I.jsx)(CL, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
- icon: KB,
- onClick: () => t?.navigate(pG(e, r ? {
+ icon: qB,
+ onClick: () => t?.navigate(mG(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function $ve({ children: e, enabled: t }) {
- return Xd() ? /* @__PURE__ */ (0, I.jsx)(eye, {
+function eye({ children: e, enabled: t }) {
+ return Xd() ? /* @__PURE__ */ (0, I.jsx)(tye, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });
}
-function eye({ children: e, enabled: t }) {
+function tye({ children: e, enabled: t }) {
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = Zd(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "entity-folder-workspace",
@@ -50353,7 +50368,7 @@ function eye({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, I.jsx)(hG, {
+ n && i ? /* @__PURE__ */ (0, I.jsx)(gG, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -50361,14 +50376,14 @@ function eye({ children: e, enabled: t }) {
]
});
}
-function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = Zd(), i = (0, F.useContext)(nG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function gG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = Zd(), i = (0, F.useContext)(aG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- Zve(o, e);
+ Qve(o, e);
let c = a.get("folder") || "", l = Nt({
- ...fG(s, c),
+ ...pG(s, c),
enabled: o
}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");
if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {
@@ -50382,11 +50397,11 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
d(!1), p(!1);
}, [c, o]), !o || !m || !h || !i) return null;
let g = (e) => {
- d(!1), i.navigate(pG(r, {
+ d(!1), i.navigate(mG(r, {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(nye, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(rye, {
scope: s,
selected: c,
current: _,
@@ -50403,21 +50418,21 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, I.jsx)(SL, {
+ children: /* @__PURE__ */ (0, I.jsx)(CL, {
"aria-label": "打开文件夹目录",
icon: rge,
size: "small",
onClick: () => d(!0)
})
}),
- /* @__PURE__ */ (0, I.jsxs)(wge, {
+ /* @__PURE__ */ (0, I.jsxs)(Tge, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, I.jsx)(VV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(HV, {
current: !c,
onClick: () => g(""),
- icon: KB,
+ icon: qB,
children: "全部文件夹"
- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(VV, {
+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(HV, {
current: t === _.ancestors.length - 1,
onClick: () => g(e.id),
children: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -50427,7 +50442,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, I.jsx)(SL, {
+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(CL, {
"aria-label": "设置目录用途",
icon: Khe,
size: "small",
@@ -50435,7 +50450,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}) : null
]
}),
- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -50447,7 +50462,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}),
children: sr(l.error)
}) : null,
- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(xV, {
+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(SV, {
tone: "warning",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -50459,14 +50474,14 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}) : null,
_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, I.jsx)(XV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(ZV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate(pG(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(mG(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${dG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${fG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -50476,13 +50491,13 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-children",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))
}) : null,
- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(tye, {
+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(nye, {
nodes: _.children,
go: g
}, c) : null
]
}), h),
- /* @__PURE__ */ (0, I.jsxs)(yV, {
+ /* @__PURE__ */ (0, I.jsxs)(bV, {
isOpen: u,
onOpenChange: d,
width: "form",
@@ -50492,7 +50507,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, I.jsx)(TV, {
+ }), /* @__PURE__ */ (0, I.jsx)(EV, {
label: "关闭文件夹目录",
onPress: () => d(!1)
})]
@@ -50501,7 +50516,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Xve, {
+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(Zve, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -50509,7 +50524,7 @@ function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function tye({ nodes: e, go: t }) {
+function nye({ nodes: e, go: t }) {
let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-2",
@@ -50520,7 +50535,7 @@ function tye({ nodes: e, go: t }) {
children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: KB,
+ leadingIcon: qB,
onClick: () => t(e.id),
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
@@ -50537,28 +50552,28 @@ function tye({ nodes: e, go: t }) {
}) : null]
});
}
-function nye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Nt(fG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Nt({
- ...fG(e, "", u),
+function rye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+ let a = Nt(pG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Nt({
+ ...pG(e, "", u),
enabled: !!u.trim()
- }), f = ZV();
+ }), f = QV();
(0, F.useEffect)(() => {
n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));
}, [n?.ancestors]);
- let p = [...o].map(String), m = jt({ queries: p.map((t) => fG(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = jt({ queries: p.map((t) => pG(e, t)) }), h = /* @__PURE__ */ new Map();
m.forEach((e, t) => {
e.data && h.set(p[t], e.data.children);
}), n?.selected && h.set(n.selected.id, n.children);
let g = (e) => {
let t = h.get(e.id);
- return /* @__PURE__ */ (0, I.jsx)(KV, {
+ return /* @__PURE__ */ (0, I.jsx)(qV, {
id: e.id,
label: e.name,
- icon: KB,
- expandedIcon: JB,
+ icon: qB,
+ expandedIcon: YB,
iconClassName: "size-(--icon-inline)",
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(KV, {
+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(qV, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -50574,15 +50589,15 @@ function nye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
"aria-label": "文件夹导航",
className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",
children: [
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
- leadingIcon: aV,
+ leadingIcon: oV,
value: c,
onChange: l,
size: "small"
}),
- v ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ v ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -50617,20 +50632,20 @@ function nye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
"aria-busy": "true",
className: "h-8 skeleton-sheen",
"aria-label": "正在查找文件夹"
- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: sr(d.error)
}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: KB,
+ leadingIcon: qB,
onClick: () => {
l(""), r(e.id);
},
children: e.name
- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(SV, {
+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(CV, {
size: "compact",
- icon: aV,
+ icon: oV,
title: "没有匹配的文件夹",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -50639,7 +50654,7 @@ function nye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}),
children: "换个目录名称试试。"
})
- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Dge, {
+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Oge, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: o,
@@ -50647,11 +50662,11 @@ function nye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
selectedKeys: new Set(t ? [t] : []),
onSelectionChange: _,
children: a.data?.roots.map(g)
- }) : /* @__PURE__ */ (0, I.jsx)(SV, {
+ }) : /* @__PURE__ */ (0, I.jsx)(CV, {
size: "compact",
- icon: KB,
+ icon: qB,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -50664,58 +50679,58 @@ function nye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/catalog-grid/catalog-view.ts
-var gG = "peach.catalog-view.v1", _G = /* @__PURE__ */ new Set(), vG = "cards";
-function yG() {
+var _G = "peach.catalog-view.v1", vG = /* @__PURE__ */ new Set(), yG = "cards";
+function bG() {
try {
- return localStorage.getItem(gG) === "list" ? "list" : "cards";
+ return localStorage.getItem(_G) === "list" ? "list" : "cards";
} catch {
- return vG;
+ return yG;
}
}
-function rye(e) {
- vG = e === "list" ? "list" : "cards";
+function iye(e) {
+ yG = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(gG, vG);
+ localStorage.setItem(_G, yG);
} catch {}
- _G.forEach((e) => e());
+ vG.forEach((e) => e());
}
-function iye(e) {
- _G.add(e);
+function aye(e) {
+ vG.add(e);
let t = (t) => {
- (t.key === gG || t.key === null) && e();
+ (t.key === _G || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- _G.delete(e), removeEventListener("storage", t);
+ vG.delete(e), removeEventListener("storage", t);
};
}
-var bG = () => (0, F.useSyncExternalStore)(iye, yG, () => "cards");
+var xG = () => (0, F.useSyncExternalStore)(aye, bG, () => "cards");
// src/react/catalog-grid/catalog-view-toggle.tsx
-function xG() {
- let e = bG();
- return /* @__PURE__ */ (0, I.jsxs)(qz, {
+function SG() {
+ let e = xG();
+ return /* @__PURE__ */ (0, I.jsxs)(Jz, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: rye,
+ onChange: iye,
"data-entity-layout": "",
- className: IU,
- children: [/* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: LU,
+ children: [/* @__PURE__ */ (0, I.jsx)(Yz, {
value: "cards",
"aria-label": "卡片",
- className: LU,
+ className: RU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "卡片",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, I.jsx)(ZB, {
+ children: /* @__PURE__ */ (0, I.jsx)(QB, {
"aria-hidden": "true",
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(Jz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Yz, {
value: "list",
"aria-label": "列表",
- className: LU,
+ className: RU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "列表",
@@ -50729,7 +50744,7 @@ function xG() {
});
}
// src/react/components/icon-swap.tsx
-function SG({ a: e, b: t, state: n, className: r }) {
+function CG({ a: e, b: t, state: n, className: r }) {
let { isFocusVisible: i } = PC();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
@@ -50746,114 +50761,114 @@ function SG({ a: e, b: t, state: n, className: r }) {
})]
});
}
-function CG({ className: e }) {
- return /* @__PURE__ */ (0, I.jsx)(SG, {
+function wG({ className: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(CG, {
a: khe,
b: Ohe,
className: e
});
}
// src/react/follow-feed/follow-marks.ts
-var wG = (e) => typeof e == "string" ? e : "", TG = (e) => e.aliases;
-function EG(e, t = "") {
+var TG = (e) => typeof e == "string" ? e : "", EG = (e) => e.aliases;
+function DG(e, t = "") {
let n = Ki(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function DG(e, t = "") {
+function OG(e, t = "") {
let n = B(ai(t || e)), r = Ki(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var OG = (e) => wG(e.title).trim() || "未命名内容", kG = (e, t) => ii(e, TG(t));
-function AG(e) {
+var kG = (e) => TG(e.title).trim() || "未命名内容", AG = (e, t) => ii(e, EG(t));
+function jG(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";
- let n = t[0], r = wG(n.entity_name);
+ let n = t[0], r = TG(n.entity_name);
return sn("creator", r, n.entity_id), r;
}
-function jG(e, t) {
+function MG(e, t) {
let { src: n, fallback: r } = oi(e), i = ai(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;
let a = r ? ` data-fallbacks="${B(r)}"` : "";
return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;
}
-function MG(e, t, n) {
- let r = TG(n), i = e.credit, a = i?.poster;
+function NG(e, t, n) {
+ let r = EG(n), i = e.credit, a = i?.poster;
if (!a) {
let n = ii(t, r);
return {
- author: n || wG(e.author) || wG(e.source_label) || "创作者未取得",
- avatar: jG(t, n),
+ author: n || TG(e.author) || TG(e.source_label) || "创作者未取得",
+ avatar: MG(t, n),
credited: "",
- entityName: AG(t)
+ entityName: jG(t)
};
}
let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && ii(c, r) || a;
return {
author: l,
- avatar: jG(c, l),
+ avatar: MG(c, l),
credited: i.credited || "",
- entityName: AG(c)
+ entityName: jG(c)
};
}
-function NG(e, t = e.primary) {
+function PG(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = wG(e.primary.version);
+ let i = TG(e.primary.version);
i && n.push(r("version", B(i)));
- let a = wG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = TG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function PG(e, t = e.primary) {
+function FG(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => EG(e, t) || `<span>${B(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => DG(e, t) || `<span>${B(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function FG(e, t) {
- let n = wG(e.media_error);
+function IG(e, t) {
+ let n = TG(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var aye = 864e5, oye = (e, t) => {
+var oye = 864e5, sye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > aye;
+ return Number.isFinite(n) && n - t > oye;
};
-function IG(e, t) {
- let n = wG(e.published_at);
+function LG(e, t) {
+ let n = TG(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = xr(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: oye(n, t) ? " · 晚于现在" : ""
+ suffix: sye(n, t) ? " · 晚于现在" : ""
};
}
-function LG(e, t = Date.now()) {
- let n = IG(e, t);
+function RG(e, t = Date.now()) {
+ let n = LG(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function sye(e, t = Date.now()) {
- let n = IG(e, t);
+function cye(e, t = Date.now()) {
+ let n = LG(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var RG = /* @__PURE__ */ new Set(), zG = [], BG = null;
-function VG() {
- if (BG = null, !zG.length) return;
- let e = zG.splice(0, 200);
+var zG = /* @__PURE__ */ new Set(), BG = [], VG = null;
+function HG() {
+ if (VG = null, !BG.length) return;
+ let e = BG.splice(0, 200);
Cn("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), zG.length && (BG = setTimeout(VG, 800));
+ }).catch(() => {}), BG.length && (VG = setTimeout(HG, 800));
}
-function cye(e, t, n, r) {
+function lye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- RG.has(i) || (RG.add(i), zG.push(t === null ? {
+ zG.has(i) || (zG.add(i), BG.push(t === null ? {
item: e,
width: n,
height: r
@@ -50862,25 +50877,25 @@ function cye(e, t, n, r) {
width: n,
height: r,
media: t
- }), BG ||= setTimeout(VG, 800));
+ }), VG ||= setTimeout(HG, 800));
}
// src/react/entity-filter/entity-filter.ts
-var lye = (e) => e === "videos", HG = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var uye = (e) => e === "videos", UG = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), uye = wV("shuffle"), dye = wV("arrow-up"), fye = wV("arrow-down");
-function pye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = lye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), dye = TV("shuffle"), fye = TV("arrow-up"), pye = TV("arrow-down");
+function mye(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = uye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = ML(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = ML(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = ML(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = NL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = NL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = NL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, F.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {
+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, I.jsx)(DL, {
+ }), /* @__PURE__ */ (0, I.jsx)(OL, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -50909,19 +50924,19 @@ function pye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(_ye, {
+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vye, {
keys: n,
view: t,
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null] }) : null,
- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(hye, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(UG, {}) : null] }) : null,
+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(gye, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, I.jsx)(HG, {})] }) : null,
+ }), /* @__PURE__ */ (0, I.jsx)(UG, {})] }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -50942,11 +50957,11 @@ function pye(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(UG, {}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(kL, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -50955,17 +50970,17 @@ function pye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(gye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(_ye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, I.jsx)(vye, { ...e })
+ bottom: /* @__PURE__ */ (0, I.jsx)(yye, { ...e })
})] });
}
-var mye = [[
+var hye = [[
"videos",
"视频",
"play",
@@ -50976,7 +50991,7 @@ var mye = [[
"pics",
"image"
]];
-function hye({ head: e, row: t, glide: n, onMedia: r }) {
+function gye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
role: "group",
@@ -50984,7 +50999,7 @@ function hye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: mye.map(([t, i, a, o]) => {
+ children: hye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51002,7 +51017,7 @@ function hye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function gye({ head: e, actions: t }) {
+function _ye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51012,10 +51027,10 @@ function gye({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: EG(n) }
+ dangerouslySetInnerHTML: { __html: DG(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(HG, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(UG, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(kL, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -51028,7 +51043,7 @@ function gye({ head: e, actions: t }) {
}, e.k))
] });
}
-function _ye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function vye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -51076,7 +51091,7 @@ function _ye({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function UG({ items: e, hidden: t, actions: n }) {
+function WG({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -51096,7 +51111,7 @@ function UG({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function vye(e) {
+function yye(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -51108,30 +51123,30 @@ function vye(e) {
dangerouslySetInnerHTML: { __html: z("chevron-left") }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(yye, {
+ /* @__PURE__ */ (0, I.jsx)(bye, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, I.jsx)(zV, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(bye, {
+ /* @__PURE__ */ (0, I.jsx)(BV, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(xye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Sye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Cye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(xye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Sye, {
head: e.online,
actions: o
}) : null
] });
}
-function yye({ text: e, busy: t }) {
+function bye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(xL, {
text: t ? void 0 : e,
busy: t,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51142,22 +51157,22 @@ function yye({ text: e, busy: t }) {
})
});
}
-function WG({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+function GG({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, I.jsx)(Jz, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: IU,
+ className: LU,
children: r.map(([e, t, n]) => {
- let r = wV(n);
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ let r = TV(n);
+ return /* @__PURE__ */ (0, I.jsx)(Yz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: LU,
+ className: RU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -51167,38 +51182,38 @@ function WG({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function GG({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, I.jsx)(EL, {
+function KG({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, I.jsx)(DL, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: uye,
+ icon: dye,
onPress: e
});
}
-function bye({ head: e, actions: t }) {
- let n = bG();
+function xye({ head: e, actions: t }) {
+ let n = xG();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(GG, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(WG, {
+ /* @__PURE__ */ (0, I.jsx)(KG, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(GG, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, I.jsx)(xG, {}),
- /* @__PURE__ */ (0, I.jsx)(mG, {}),
- /* @__PURE__ */ (0, I.jsx)(KG, {
+ /* @__PURE__ */ (0, I.jsx)(SG, {}),
+ /* @__PURE__ */ (0, I.jsx)(hG, {}),
+ /* @__PURE__ */ (0, I.jsx)(qG, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function KG({ sorts: e, onSort: t }) {
+function qG({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -51206,20 +51221,20 @@ function KG({ sorts: e, onSort: t }) {
"aria-pressed": e.pressed,
"aria-label": e.ariaLabel || void 0,
onClick: () => t(e.key),
- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(SG, {
- a: dye,
- b: fye,
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(CG, {
+ a: fye,
+ b: pye,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
}, e.key)) });
}
-function xye({ head: e, actions: t }) {
+function Sye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(GG, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, {
+ /* @__PURE__ */ (0, I.jsx)(KG, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(GG, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -51239,27 +51254,27 @@ function xye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: z("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, I.jsx)(KG, {
+ /* @__PURE__ */ (0, I.jsx)(qG, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function Sye({ head: e, actions: t, helpers: n }) {
+function Cye({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, F.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(KG, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, I.jsx)(WG, {
+ /* @__PURE__ */ (0, I.jsx)(GG, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -51274,8 +51289,8 @@ function Sye({ head: e, actions: t, helpers: n }) {
});
}
// src/react/catalog-filter/catalog-filter.ts
-var Cye = "peach.catalog.tiers.v1";
-function qG() {
+var wye = "peach.catalog.tiers.v1";
+function JG() {
try {
let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");
return {
@@ -51289,40 +51304,40 @@ function qG() {
};
}
}
-function wye(e) {
+function Tye(e) {
try {
let t = JSON.stringify({
performers: e.performers,
studios: e.studios
});
- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Cye, t);
+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(wye, t);
} catch {}
}
// src/react/catalog-filter/catalog-filter-page.tsx
-function Tye(e) {
- let t = !e.tiers, n = Mye(e.comboHost);
+function Eye(e) {
+ let t = !e.tiers, n = Nye(e.comboHost);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(UG, {
+ n ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(WG, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, I.jsx)(Oye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Eye, { ...e })
+ /* @__PURE__ */ (0, I.jsx)(kye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Dye, { ...e })
]
});
}
-function Eye(e) {
- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = ML(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Dye(e) {
+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = NL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, F.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = YG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = XG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, F.useLayoutEffect)(() => {
if (d) {
l(!1);
@@ -51346,7 +51361,7 @@ function Eye(e) {
e.sorts
]), (0, F.useLayoutEffect)(() => {
Xs(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, I.jsx)(DL, {
+ }, [f]), /* @__PURE__ */ (0, I.jsx)(OL, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -51390,23 +51405,23 @@ function Eye(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Dye, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(YG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Oye, {
tag: n,
pending: e.tiersPending,
onPress: t.toggleTag
}, n.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Aye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(jye, { ...e })
});
}
-function Dye({ tag: e, pending: t, onPress: n }) {
- return /* @__PURE__ */ (0, I.jsxs)(OL, {
+function Oye({ tag: e, pending: t, onPress: n }) {
+ return /* @__PURE__ */ (0, I.jsxs)(kL, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
onPress: () => n(e.k),
- children: [/* @__PURE__ */ (0, I.jsx)(bL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(xL, {
text: e.label,
busy: t
}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51415,15 +51430,15 @@ function Dye({ tag: e, pending: t, onPress: n }) {
})]
});
}
-function Oye(e) {
- yL();
+function kye(e) {
+ bL();
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = YG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = YG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? qG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = XG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = XG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? JG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
return (0, F.useEffect)(() => {
- i || wye({
+ i || Tye({
performers: f,
studios: p
});
@@ -51444,7 +51459,7 @@ function Oye(e) {
children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: o,
"data-catalog-tier": "performers",
- children: a ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(YG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -51455,7 +51470,7 @@ function Oye(e) {
dangerouslySetInnerHTML: { __html: n.ringHtml }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-name": "",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(xL, {
text: en("performer", n.name),
busy: e.tiersPending
})
@@ -51464,13 +51479,13 @@ function Oye(e) {
}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-catalog-tier": "studios",
- children: a ? /* @__PURE__ */ (0, I.jsx)(JG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(YG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": n.name,
onClick: () => t.openEntity("studio", n.name),
- children: [/* @__PURE__ */ (0, I.jsx)(kye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Aye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(xL, {
text: n.name,
busy: e.tiersPending
})]
@@ -51478,7 +51493,7 @@ function Oye(e) {
}) : null]
});
}
-function kye({ studio: e }) {
+function Aye({ studio: e }) {
let [t, n] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-mark": "",
@@ -51496,7 +51511,7 @@ function kye({ studio: e }) {
}) : e.fallback
});
}
-function JG({ kind: e }) {
+function YG({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -51512,43 +51527,43 @@ function JG({ kind: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Aye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = bG(), [o, s] = (0, F.useState)(!1);
+function jye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+ let a = xG(), [o, s] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, I.jsx)(jye, { count: e }), /* @__PURE__ */ (0, I.jsx)(zV, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, I.jsx)(Mye, { count: e }), /* @__PURE__ */ (0, I.jsx)(BV, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(GG, {
+ /* @__PURE__ */ (0, I.jsx)(KG, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(WG, {
+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(GG, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, I.jsx)(xG, {}),
- /* @__PURE__ */ (0, I.jsx)(mG, {}),
- /* @__PURE__ */ (0, I.jsx)(KG, {
+ /* @__PURE__ */ (0, I.jsx)(SG, {}),
+ /* @__PURE__ */ (0, I.jsx)(hG, {}),
+ /* @__PURE__ */ (0, I.jsx)(qG, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function jye({ count: e }) {
+function Mye({ count: e }) {
let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-readout": "",
"data-count-readout": "",
role: "status",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(xL, {
text: t,
busy: e === null,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51559,7 +51574,7 @@ function jye({ count: e }) {
})
});
}
-function Mye(e) {
+function Nye(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -51569,7 +51584,7 @@ function Mye(e) {
};
}, [e]), t;
}
-function YG(e, t, n, r, i) {
+function XG(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -51612,8 +51627,8 @@ function YG(e, t, n, r, i) {
}), l.slice(0, c.limit);
}
// src/react/components/grid-reveal.tsx
-var XG = "100% 0px";
-function Nye(e, t) {
+var ZG = "100% 0px";
+function Pye(e, t) {
let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
a.current && lc(a.current);
@@ -51639,7 +51654,7 @@ function Nye(e, t) {
fading: n === "fade"
};
}
-function ZG({ message: e, onRetry: t }) {
+function QG({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -51652,7 +51667,7 @@ function ZG({ message: e, onRetry: t }) {
});
}
// src/react/components/skeleton-content.tsx
-function QG({ pending: e, skeletonHtml: t, children: n }) {
+function $G({ pending: e, skeletonHtml: t, children: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();
return (0, F.useLayoutEffect)(() => {
e || (r.current = n);
@@ -51676,63 +51691,63 @@ function QG({ pending: e, skeletonHtml: t, children: n }) {
});
}
// src/library-catalog.ts
-var $G = "peach.library-colors.v1", eK = null, tK = /* @__PURE__ */ new Set();
-function Pye() {
+var eK = "peach.library-colors.v1", tK = null, nK = /* @__PURE__ */ new Set();
+function Fye() {
try {
- let e = JSON.parse(localStorage.getItem($G) || "{}");
+ let e = JSON.parse(localStorage.getItem(eK) || "{}");
return e && typeof e == "object" ? e : {};
} catch {
return {};
}
}
-function nK(e) {
- eK = e;
+function rK(e) {
+ tK = e;
try {
- localStorage.setItem($G, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
+ localStorage.setItem(eK, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
} catch {}
- tK.forEach((t) => t(e));
+ nK.forEach((t) => t(e));
}
-function rK() {
- return eK;
+function iK() {
+ return tK;
}
-function Fye(e) {
- return tK.add(e), () => {
- tK.delete(e);
+function Iye(e) {
+ return nK.add(e), () => {
+ nK.delete(e);
};
}
// src/react/components/library-tint.ts
-var iK = /* @__PURE__ */ new Map(), aK = !1, oK = /* @__PURE__ */ new Set();
-function Iye(e) {
+var aK = /* @__PURE__ */ new Map(), oK = !1, sK = /* @__PURE__ */ new Set();
+function Lye(e) {
let t = document.createElement("span");
t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);
let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();
return t.remove(), n;
}
-function sK(e) {
- iK = e;
+function cK(e) {
+ aK = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...iK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Iye(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...aK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Lye(e.color)}}`).join("\n");
}
-function cK(e) {
- sK(e), oK.forEach((e) => e());
+function lK(e) {
+ cK(e), sK.forEach((e) => e());
}
-var lK = (e) => new Map(e.map((e) => [e.id, {
+var uK = (e) => new Map(e.map((e) => [e.id, {
id: e.id,
name: e.name,
icon: hs[e.icon || ""] || e.icon || "database",
location: e.roots?.[0]?.location || "",
color: e.color || ""
-}])), uK = !1;
-function Lye() {
- if (uK) return;
- uK = !0, Fye((e) => cK(lK(e)));
- let e = rK();
+}])), dK = !1;
+function Rye() {
+ if (dK) return;
+ dK = !0, Iye((e) => lK(uK(e)));
+ let e = iK();
if (e) {
- sK(lK(e));
+ cK(uK(e));
return;
}
- let t = Object.entries(Pye()).filter(([, e]) => e);
- t.length && sK(new Map(t.map(([e, t]) => [e, {
+ let t = Object.entries(Fye()).filter(([, e]) => e);
+ t.length && cK(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
icon: "database",
@@ -51740,64 +51755,64 @@ function Lye() {
color: t
}])));
}
-function Rye() {
- aK || rK() || (aK = !0, V("/api/libraries").then((e) => nK(e.libraries || [])).catch(() => {
- aK = !1;
+function zye() {
+ oK || iK() || (oK = !0, V("/api/libraries").then((e) => rK(e.libraries || [])).catch(() => {
+ oK = !1;
}));
}
-function zye(e, t) {
- let n = iK.get(e) ?? {
+function Bye(e, t) {
+ let n = aK.get(e) ?? {
id: e,
name: "",
icon: "database",
location: "",
color: ""
};
- cK(new Map([...iK, [e, {
+ lK(new Map([...aK, [e, {
...n,
color: t
}]]));
}
-function Bye(e) {
- return oK.add(e), () => {
- oK.delete(e);
+function Vye(e) {
+ return sK.add(e), () => {
+ sK.delete(e);
};
}
-function dK({ names: e = !1 } = {}) {
- return Lye(), e && Rye(), (0, F.useSyncExternalStore)(Bye, () => iK, () => iK);
+function fK({ names: e = !1 } = {}) {
+ return Rye(), e && zye(), (0, F.useSyncExternalStore)(Vye, () => aK, () => aK);
}
// src/react/components/row-click.ts
-var Vye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
-function fK(e, t) {
+var Hye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
+function pK(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Vye);
+ let r = n.closest(Hye);
return !r || !t.contains(r) || r === t;
}
-function pK(e) {
+function mK(e) {
e.shiftKey && e.preventDefault();
}
// src/react/components/media-card.tsx
-var mK = 9 / 16, hK = "未命名视频";
-function gK({ name: e }) {
+var hK = 9 / 16, gK = "未命名视频";
+function _K({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var Hye = {
+var Uye = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Uye = {
+}, Wye = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function Wye(e) {
+function Gye(e) {
if (Number(e.duration) < 0) return {
key: "unavailable",
label: "探查错误"
@@ -51825,16 +51840,16 @@ function Wye(e) {
label: "尚未探查"
};
}
-function _K({ item: e }) {
+function vK({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && Uye[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && Wye[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function vK({ item: e, actions: t }) {
+function yK({ item: e, actions: t }) {
let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51853,10 +51868,10 @@ function vK({ item: e, actions: t }) {
children: i
}) : null] });
}
-function yK(e, t, n) {
- return t === "short" ? mK : MM(n);
+function bK(e, t, n) {
+ return t === "short" ? hK : NM(n);
}
-function bK(e) {
+function xK(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Oo(e), s = i[0] || "", c = po(e);
return {
avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -51888,7 +51903,7 @@ function bK(e) {
"data-entity-kind": "performer",
"data-entity-name": s,
title: en("performer", s),
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: en("performer", s) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: en("performer", s) })]
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -51898,16 +51913,16 @@ function bK(e) {
"data-entity-kind": t,
"data-entity-name": n,
title: en(t, n),
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: en(t, n) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: en(t, n) })]
}) : /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
})
};
}
-function Gye() {
+function Kye() {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -51926,7 +51941,7 @@ function Gye() {
})]
});
}
-function Kye({ item: e, actions: t, on: n, onChange: r }) {
+function qye({ item: e, actions: t, on: n, onChange: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-later": "",
@@ -51941,11 +51956,11 @@ function Kye({ item: e, actions: t, on: n, onChange: r }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: n ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: n ? "check" : "bookmark-plus" })
})
});
}
-function qye({ reason: e }) {
+function Jye({ reason: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
ref: t,
@@ -51959,15 +51974,15 @@ function qye({ reason: e }) {
e.stopPropagation(), r(!0);
},
children: e
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Oz, {
triggerRef: t,
isOpen: n,
onOpenChange: r,
placement: "top",
offset: 8,
containerPadding: 12,
- className: UV,
- children: /* @__PURE__ */ (0, I.jsx)(Bz, {
+ className: WV,
+ children: /* @__PURE__ */ (0, I.jsx)(Vz, {
"data-media-reason-dialog": "",
"aria-label": "推荐理由",
className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -51975,18 +51990,18 @@ function qye({ reason: e }) {
})
})] });
}
-function xK(e, t) {
+function SK(e, t) {
let n = e?.querySelector("video.hv");
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
- yL();
- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = dK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
+function Yye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
+ bL();
+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = fK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
_.current = e;
let v = (0, F.useCallback)((e) => {
let t = _.current;
u.current && u.current !== e && Al(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Ml(e, t);
- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = yK(e, t, n), w = S ? n.size : "small", T = C === mK && !!e.is_jav, E = T ? To(e, !1) : Co(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Co(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || hK, A = o.titleHtml(e, O).trim() || B(hK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Wye(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = bK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = bK(e, t, n), w = S ? n.size : "small", T = C === hK && !!e.is_jav, E = T ? To(e, !1) : Co(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Co(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || gK, A = o.titleHtml(e, O).trim() || B(gK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Gye(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = xK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
let n = t.target;
if (n.closest("[data-media-reason-dialog]")) return;
let r = u.current;
@@ -52013,10 +52028,10 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
l && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);
}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
- "data-pic-portrait": C === mK ? "" : void 0,
+ "data-pic-portrait": C === hK ? "" : void 0,
style: { "--card-ratio": String(C) },
children: [
- E.html ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ E.html ? /* @__PURE__ */ (0, I.jsx)(sW, {
artwork: E,
identity: D,
relayout: (e) => Sl(e, w)
@@ -52030,11 +52045,11 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-group": "",
@@ -52050,7 +52065,7 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,
children: ee ? ee.label : Kn(M)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(vK, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(yK, {
item: e,
actions: s
}) : null,
@@ -52066,22 +52081,22 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, I.jsx)(Gye, {}),
+ /* @__PURE__ */ (0, I.jsx)(Kye, {}),
p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-status": "",
children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "later",
title: "稍后看",
"aria-label": "稍后看",
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "bookmark" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "bookmark" })
}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "flagged",
title: `已标记:${g.join("、")}`,
"aria-label": `已标记:${g.join("、")}`,
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "heart" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "heart" })
}) : null]
}) : null,
- i ? null : /* @__PURE__ */ (0, I.jsx)(Kye, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(qye, {
item: e,
actions: s,
on: p,
@@ -52096,27 +52111,27 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), xK(u.current, -a);
+ e.stopPropagation(), SK(u.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), xK(u.current, a);
+ e.stopPropagation(), SK(u.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "expand" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "expand" })
})
]
})
@@ -52136,7 +52151,7 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: re,
- onMouseDown: pK,
+ onMouseDown: mK,
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52178,15 +52193,15 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-release": "",
dateTime: e.release_date,
title: e.release_date,
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "calendar" }), e.release_date]
}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "hard-drive" }), Number(j) > 0 ? Jn(Number(j)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "hard-drive" }), Number(j) > 0 ? Jn(Number(j)) : "大小未知"]
})]
})
]
}),
- t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(qye, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
+ t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(Jye, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-tags": "",
children: ne.map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52196,15 +52211,15 @@ function Jye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(_K, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(vK, { item: e })
]
})]
})
]
});
}
-function Yye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Hye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function Xye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Uye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, I.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -52216,14 +52231,14 @@ function Yye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: pK,
+ onMouseDown: mK,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -52235,13 +52250,13 @@ function Yye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, I.jsx)(vK, {
+ n ? null : /* @__PURE__ */ (0, I.jsx)(yK, {
item: e,
actions: i
})
@@ -52252,7 +52267,7 @@ function Yye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(gK, { name: u })
+ children: /* @__PURE__ */ (0, I.jsx)(_K, { name: u })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-text": "",
children: [
@@ -52280,29 +52295,29 @@ function Yye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, I.jsx)(_K, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(vK, { item: e })
]
})]
})]
});
}
-function Xye(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(Yye, { ...e }) : /* @__PURE__ */ (0, I.jsx)(Jye, { ...e });
+function Zye(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(Xye, { ...e }) : /* @__PURE__ */ (0, I.jsx)(Yye, { ...e });
}
-var SK = (0, F.memo)(Xye), Zye = 1100, Qye = 340, $ye = 5e3;
-function ebe(e, t, n) {
+var CK = (0, F.memo)(Zye), Qye = 1100, $ye = 340, ebe = 5e3;
+function tbe(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, $ye);
+ }, s = () => o(!1), c = setTimeout(s, ebe);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function CK({ load: e, canFlip: t, referrerPolicy: n }) {
+function wK({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({
live: !1,
generation: 0,
@@ -52344,11 +52359,11 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => ebe(t, e, n)));
+ let s = await Promise.all(a.map((t) => tbe(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, Zye);
+ p(), e.cycle = setInterval(p, Qye);
}));
};
return (0, F.useEffect)(() => d, [d]), {
@@ -52357,7 +52372,7 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Qye, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f($ye, () => {
e.armed = null, m();
});
},
@@ -52367,8 +52382,8 @@ function CK({ load: e, canFlip: t, referrerPolicy: n }) {
};
}
// src/react/components/mix-card.tsx
-var wK = wV("play");
-function tbe({ src: e }) {
+var TK = TV("play");
+function nbe({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
"data-mix-poster": "",
@@ -52381,8 +52396,8 @@ function tbe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var TK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function nbe({ faces: e, fallback: t, onOpenEntity: n }) {
+var EK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function rbe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {
@@ -52390,18 +52405,18 @@ function nbe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${TK} cursor-pointer outline-none`,
+ className: `${EK} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ho(e.name, e, Ya(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${TK} mt-0.5`,
+ className: `${EK} mt-0.5`,
children: t
});
}
-function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = CK({
+function DK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = wK({
load: i,
canFlip: a
}), x = (0, F.useRef)(b.onPointerLeave);
@@ -52428,11 +52443,11 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ f?.html ? /* @__PURE__ */ (0, I.jsx)(sW, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, I.jsx)(tbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, I.jsx)(nbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -52462,7 +52477,7 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, I.jsx)(wK, {
+ children: [/* @__PURE__ */ (0, I.jsx)(TK, {
"aria-hidden": !0,
className: "size-(--icon-inline)"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -52475,8 +52490,8 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, I.jsx)(wK, {})
- }) : /* @__PURE__ */ (0, I.jsx)(nbe, {
+ children: /* @__PURE__ */ (0, I.jsx)(TK, {})
+ }) : /* @__PURE__ */ (0, I.jsx)(rbe, {
faces: o,
fallback: Qn(e),
onOpenEntity: s
@@ -52499,7 +52514,7 @@ function EK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
});
}
// src/react/video-wall/folia/blockReflows.ts
-var rbe = [
+var ibe = [
[
[
{
@@ -56060,7 +56075,7 @@ var rbe = [
}
]
]
-], DK = [
+], OK = [
[
{
x: 0,
@@ -56357,89 +56372,89 @@ var rbe = [
rows: 2
}
]
-], OK = (e) => e.map((e) => ({
+], kK = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), kK = (e) => e.map((e) => ({
+})), AK = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), AK = [
+})), jK = [
(e) => e,
- OK,
kK,
- (e) => OK(kK(e))
-], jK = DK.flatMap((e) => AK.map((t) => t(e))), ibe = rbe.flatMap((e) => AK.map((t) => e.map(t)));
-jK.length;
-var abe = (e, t) => {
+ AK,
+ (e) => kK(AK(e))
+], MK = OK.flatMap((e) => jK.map((t) => t(e))), abe = ibe.flatMap((e) => jK.map((t) => e.map(t)));
+MK.length;
+var obe = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
-}, MK = (e, t) => {
- let n = DK.length;
- return ((e + t * 2) % n + n) % n * AK.length + abe(e, t) % AK.length;
-}, obe = (e, t) => jK[MK(e, t)], sbe = (e, t, n) => n < 0 || n >= 12 ? null : ibe[MK(e, t)][n], NK = 103.36, PK = 6.08, FK = 12 * NK, IK = 8 * NK, LK = 12, RK = (e, t) => (e % t + t) % t, cbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
-function zK(e, t) {
- let n = Math.max(1, Math.ceil(e / LK)), r = t ? 3 : Math.min(3, n);
+}, NK = (e, t) => {
+ let n = OK.length;
+ return ((e + t * 2) % n + n) % n * jK.length + obe(e, t) % jK.length;
+}, sbe = (e, t) => MK[NK(e, t)], cbe = (e, t, n) => n < 0 || n >= 12 ? null : abe[NK(e, t)][n], PK = 103.36, FK = 6.08, IK = 12 * PK, LK = 8 * PK, RK = 12, zK = (e, t) => (e % t + t) % t, lbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
+function BK(e, t) {
+ let n = Math.max(1, Math.ceil(e / RK)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * FK,
- height: Math.ceil(n / r) * IK
+ width: r * IK,
+ height: Math.ceil(n / r) * LK
};
}
-function BK(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = obe(e, t)[n];
+function VK(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = sbe(e, t)[n];
return {
- x: e * FK + r * NK,
- y: t * IK + i * NK,
- width: a * NK - PK,
- height: o * NK - PK
+ x: e * IK + r * PK,
+ y: t * LK + i * PK,
+ width: a * PK - FK,
+ height: o * PK - FK
};
}
-function lbe(e) {
+function ube(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function VK(e, t, n) {
+function HK(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= LK) return null;
- let o = zK(e, t), s = o.height / IK;
+ ].every(Number.isInteger) || a < 0 || a >= RK) return null;
+ let o = BK(e, t), s = o.height / LK;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : RK(r, o.columns), l = ((t ? i : RK(i, s)) * o.columns + c) * LK + a;
+ let c = t ? r : zK(r, o.columns), l = ((t ? i : zK(i, s)) * o.columns + c) * RK + a;
return t && l >= e ? null : {
- ...BK(r, i, a),
+ ...VK(r, i, a),
index: l % e,
key: n
};
}
-function ube(e, t) {
+function dbe(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / LK);
- return VK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % LK}`);
+ let n = Math.floor(t / RK);
+ return HK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % RK}`);
}
-function HK(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = sbe(r, i, a);
+function UK(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = cbe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * FK + e.x * NK,
- y: i * IK + e.y * NK,
- width: e.cols * NK - PK,
- height: e.rows * NK - PK
+ x: r * IK + e.x * PK,
+ y: i * LK + e.y * PK,
+ width: e.cols * PK - FK,
+ height: e.rows * PK - FK
}]));
}
-function dbe(e) {
+function fbe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / LK), i = BK(e % 3, Math.floor(e / 3), r % LK);
+ let e = Math.floor(r / RK), i = VK(e % 3, Math.floor(e / 3), r % RK);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * FK - PK : t,
+ width: e >= 36 ? 3 * IK - FK : t,
height: n
};
}
-function fbe(e, t, n, r) {
+function pbe(e, t, n, r) {
if (!r) return e;
let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));
return {
@@ -56448,22 +56463,22 @@ function fbe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function pbe(e, t, n, r) {
+function mbe(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = zK(e, t), s = o.height / IK, c = [];
- for (let n = Math.floor(a.y / IK); n <= Math.floor((a.y + a.height) / IK); n += 1) for (let r = Math.floor(a.x / FK); r <= Math.floor((a.x + a.width) / FK); r += 1) {
+ }, o = BK(e, t), s = o.height / LK, c = [];
+ for (let n = Math.floor(a.y / LK); n <= Math.floor((a.y + a.height) / LK); n += 1) for (let r = Math.floor(a.x / IK); r <= Math.floor((a.x + a.width) / IK); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : RK(r, o.columns), l = t ? n : RK(n, s);
- for (let s = 0; s < LK; s += 1) {
- let u = (l * o.columns + i) * LK + s;
+ let i = t ? r : zK(r, o.columns), l = t ? n : zK(n, s);
+ for (let s = 0; s < RK; s += 1) {
+ let u = (l * o.columns + i) * RK + s;
if (t && u >= e) continue;
- let d = BK(r, n, s);
- cbe(d, a) && c.push({
+ let d = VK(r, n, s);
+ lbe(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -56472,7 +56487,7 @@ function pbe(e, t, n, r) {
}
return c;
}
-var mbe = class {
+var hbe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -56484,7 +56499,7 @@ var mbe = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : VK(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : HK(t, !1, e);
return r ? {
...r,
index: n
@@ -56514,7 +56529,7 @@ var mbe = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * FK,
+ x: (e + 2) * IK,
y: 0
};
}
@@ -56527,10 +56542,10 @@ var mbe = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / FK)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / IK)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, UK = [
+}, WK = [
"q",
"performer",
"series",
@@ -56545,16 +56560,16 @@ var mbe = class {
"dur_max",
"region"
];
-function hbe(e = {}) {
- return UK.some((t) => !!e[t]);
+function gbe(e = {}) {
+ return WK.some((t) => !!e[t]);
}
// src/react/video-wall/use-wall-camera.ts
-var WK = {
+var GK = {
x: 16,
y: 16,
scale: 1
};
-function gbe(e, t, n = WK, r = !1) {
+function _be(e, t, n = GK, r = !1) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({
width: 0,
height: 0
@@ -56574,7 +56589,7 @@ function gbe(e, t, n = WK, r = !1) {
let f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, F.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = fbe(e, o.current, dbe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = pbe(e, o.current, fbe(r), c && !f && !n);
s.current = p;
let m = window.devicePixelRatio || 1;
a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));
@@ -56674,7 +56689,7 @@ function gbe(e, t, n = WK, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...WK }, !0);
+ g(), _({ ...GK }, !0);
},
pan: (e, t) => {
g(), _({
@@ -56735,16 +56750,16 @@ function gbe(e, t, n = WK, r = !1) {
};
}
// src/react/video-wall/wall-motion.ts
-var _be = {
+var vbe = {
type: "spring",
stiffness: 300,
damping: 34
-}, vbe = {
+}, ybe = {
delay: .14,
duration: .24
};
// src/react/video-wall/use-wall-playback.ts
-function ybe(e, t, n) {
+function bbe(e, t, n) {
let [r, i] = (0, F.useState)({
paused: !0,
time: 0,
@@ -56785,8 +56800,8 @@ function ybe(e, t, n) {
};
}
// src/react/video-wall/wall-controls.tsx
-function bbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
- let b = tS(), x = ybe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function xbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
+ let b = tS(), x = bbe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
if (!(C || a && !s)) try {
t === e.id ? await x.toggle() : await f();
} catch (e) {
@@ -56803,7 +56818,7 @@ function bbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : vbe,
+ transition: b ? { duration: 0 } : ybe,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -56811,7 +56826,7 @@ function bbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
type: "button",
"data-wall-play": "",
"data-wall-pause": w ? void 0 : "",
- ...EV(C),
+ ...DV(C),
"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",
title: w ? "播放" : "暂停",
onClick: () => void T(),
@@ -56861,7 +56876,7 @@ function bbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
- ...EV(d),
+ ...DV(d),
"aria-label": u ? "移出稍后看" : "稍后看",
title: "稍后看",
"aria-pressed": u,
@@ -56907,7 +56922,7 @@ function bbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
});
}
// src/react/components/mix-queue.tsx
-function GK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function KK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -56943,7 +56958,7 @@ function GK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function KK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function qK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -56966,7 +56981,7 @@ function KK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var xbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
+var Sbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -56975,28 +56990,28 @@ var xbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
]
});
// src/react/video-wall/wall-queue.tsx
-function Sbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function Cbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, I.jsx)(GK, {
+ children: /* @__PURE__ */ (0, I.jsx)(KK, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(KK, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(qK, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? JP(e.part_label) : "",
+ e.part_label ? YP(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, I.jsx)(oW, { artwork: Co(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, I.jsx)(sW, { artwork: Co(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [
e.edition_label,
- e.part_label ? JP(e.part_label) : "",
+ e.part_label ? YP(e.part_label) : "",
Kn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -57004,7 +57019,7 @@ function Sbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
});
}
// src/react/video-wall/wall-route.ts
-function Cbe(e = `${location.pathname}${location.search}`, t = {}) {
+function wbe(e = `${location.pathname}${location.search}`, t = {}) {
let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {
performers: "performer",
creators: "creator",
@@ -57019,17 +57034,17 @@ function Cbe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function qK(e = `${location.pathname}${location.search}`) {
+function JK(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of UK) t.delete(e);
+ for (let e of WK) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function JK() {
+function YK() {
let e = new URLSearchParams(G.navigation.location.search).get("returnTo") || "/";
G.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
// src/react/video-wall/video-wall.tsx
-var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var XK = /* @__PURE__ */ new Map(), ZK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = Co(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -57042,7 +57057,7 @@ var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, I.jsx)(oW, {
+ children: /* @__PURE__ */ (0, I.jsx)(sW, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && cl(e, r);
@@ -57050,27 +57065,27 @@ var YK = /* @__PURE__ */ new Map(), XK = (0, F.memo)(function({ item: e, image:
})
});
});
-function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
+function Tbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, F.useState)(() => {
- let e = YK.get(f);
+ let e = XK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, F.useState)(() => m?.exploration || new mbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
+ }), [h] = (0, F.useState)(() => m?.exploration || new hbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
kind: "editions",
seedId: w.edition_group.seed_id
} : w?.part_group ? {
kind: "parts",
seedId: w.part_group.seed_id
} : null, ee = Nt({
- queryKey: DP(M || {
+ queryKey: OP(M || {
kind: "parts",
seedId: 0
}),
enabled: !!M,
- queryFn: ({ signal: e }) => IP(M, {
+ queryFn: ({ signal: e }) => LP(M, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === zP(N, O || w?.id || null)) || w, P = gbe(e.length, t && !!e.length, m?.camera || {
+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === BP(N, O || w?.id || null)) || w, P = _be(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
@@ -57108,17 +57123,17 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Ae = () => {
- Oe.current && (YK.delete(f), YK.set(f, {
+ Oe.current && (XK.delete(f), XK.set(f, {
...ke.current,
camera: P.snapshot(),
exploration: h
- }), YK.size > 8 && YK.delete(YK.keys().next().value));
+ }), XK.size > 8 && XK.delete(XK.keys().next().value));
};
(0, F.useLayoutEffect)(Ae);
- let je = pbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Me = i ? je.map((e) => ({
+ let je = mbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Me = i ? je.map((e) => ({
...e,
index: -1
- })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? VK(e.length, !0, E) : h.tile(E, e.length)), Pe = Ne ? HK(e.length, t, Ne) : /* @__PURE__ */ new Map();
+ })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? HK(e.length, !0, E) : h.tile(E, e.length)), Pe = Ne ? UK(e.length, t, Ne) : /* @__PURE__ */ new Map();
Ne && !Me.some((e) => e.key === Ne.key) && Me.push(Ne);
let Fe = (e = !1) => {
C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);
@@ -57157,7 +57172,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
w?.id !== n.id && Fe(!1), Ee.current = {
key: r.key,
id: n.id
- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), be(!1), P.reveal(HK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), be(!1), P.reveal(UK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Re = () => {
te && y.current && (Ae(), Fe(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));
}, ze = async (e = te) => {
@@ -57179,7 +57194,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && de(!1);
}
}, Be = () => {
- let e = BP(N || null, oe || 0);
+ let e = VP(N || null, oe || 0);
e && (k(e.id), ze(e));
};
(0, F.useEffect)(() => {
@@ -57201,7 +57216,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (P.view.size.width / 2 - r.x) / r.scale,
y: (P.view.size.height / 2 - r.y) / r.scale
- }, o = t ? ube(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? dbe(e.length, i) : h.nearest(e.length, i, a);
o && (Le(n, o), le(n.id));
}, We = async () => {
if (!(r || g.current)) {
@@ -57293,7 +57308,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(XK, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZK, {
item: w,
image: we,
big: !0
@@ -57301,7 +57316,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, I.jsx)(XK, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZK, {
item: w,
image: we,
big: !0
@@ -57330,7 +57345,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Ye.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Je(Ye).startsWith(Ye.code) ? Je(Ye).slice(Ye.code.length).trim() : Je(Ye) }) : null,
/* @__PURE__ */ (0, I.jsx)("span", { children: Ye.performers?.join(" · ") || Ye.creator || "未归属" }),
- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? JP(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? YP(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -57347,7 +57362,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-play-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(xV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: fe || yn(ee.error)
}), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -57357,7 +57372,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(bbe, {
+ /* @__PURE__ */ (0, I.jsx)(xbe, {
item: Ye,
playing: oe,
frame: b,
@@ -57379,7 +57394,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Be,
error: pe
}),
- A ? /* @__PURE__ */ (0, I.jsx)(Sbe, {
+ A ? /* @__PURE__ */ (0, I.jsx)(Cbe, {
items: Ve,
activeId: Ye.id,
kind: N?.kind || "wall",
@@ -57395,7 +57410,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Se,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Ie() : ye ? be(!1) : JK());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Ie() : ye ? be(!1) : YK());
},
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -57403,7 +57418,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: JK,
+ onClick: YK,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -57421,7 +57436,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- onClick: () => G.push(qK()),
+ onClick: () => G.push(JK()),
children: "清除筛选"
})]
}) : null,
@@ -57447,18 +57462,18 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, I.jsxs)(NU, {
+ /* @__PURE__ */ (0, I.jsxs)(PU, {
"aria-label": "播放墙图片",
value: we,
onChange: Te,
- className: PU,
- children: [/* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: FU,
+ children: [/* @__PURE__ */ (0, I.jsx)(Yz, {
value: "cover",
- className: FU,
+ className: IU,
children: "封面"
- }), /* @__PURE__ */ (0, I.jsx)(Jz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Yz, {
value: "thumbnail",
- className: FU,
+ className: IU,
children: "缩略图"
})]
}),
@@ -57551,7 +57566,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: ne ? { duration: 0 } : {
- layout: _be,
+ layout: vbe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -57584,7 +57599,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Le(n, t, !1));
},
children: r ? Xe : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(XK, {
+ /* @__PURE__ */ (0, I.jsx)(ZK, {
item: n,
image: we,
ratio: i.width / i.height
@@ -57622,7 +57637,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(xV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: a
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -57649,7 +57664,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: /* @__PURE__ */ (0, I.jsx)(KG, {
busy: r,
onPress: () => void Ke()
})
@@ -57659,20 +57674,20 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: /* @__PURE__ */ (0, I.jsxs)(J, {
size: "small",
variant: "secondary",
- ...EV(r),
+ ...DV(r),
onClick: () => void We(),
children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs() } }) : null, "载入更多"]
})
}) : null,
me ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(xV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: me
}), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- ...EV(r),
+ ...DV(r),
onClick: () => void We(),
children: "立即重试"
})]
@@ -57695,7 +57710,7 @@ function wbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return (0, It.createPortal)(Ze, xe);
}
// src/catalog-onboarding.ts
-var ZK = [
+var QK = [
"loc",
"creator",
"performer",
@@ -57714,19 +57729,19 @@ var ZK = [
"jav",
"thumb"
];
-function Tbe(e = typeof location > "u" ? "/" : location.href) {
+function Ebe(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
- ...ZK,
+ ...QK,
"q",
"category",
"cat"
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function Ebe(e, t) {
+async function Dbe(e, t) {
let n = new URLSearchParams();
- for (let t of ZK) e[t] && n.set(t, e[t]);
+ for (let t of QK) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -57737,9 +57752,9 @@ async function Ebe(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function QK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function $K({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
- if (t || n) return Hs("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? B(Tbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
+ if (t || n) return Hs("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? B(Ebe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -57757,28 +57772,28 @@ function QK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
return Hs("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });
}
// src/react/video-wall/wall-empty.ts
-function Dbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
- return e ? r || QK() : t ? Hs("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Hs("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${qK()}">清除筛选</a>` });
+function Obe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+ return e ? r || $K() : t ? Hs("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Hs("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${JK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
-function $K({ label: e, maintenance: t = !1, children: n }) {
- let r = OH("hover");
+function eq({ label: e, maintenance: t = !1, children: n }) {
+ let r = kH("hover");
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
role: "group",
"aria-label": e,
"data-processing-maintenance": t || void 0,
- className: JI("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),
+ className: YI("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),
children: n
});
}
-function eq({ option: e, metadataOnly: t, onRun: n }) {
+function tq({ option: e, metadataOnly: t, onRun: n }) {
let r = t && e.command.stage === "previews", i = r || e.disabled;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
disabled: i,
title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: JI(WV, i ? "cursor-not-allowed opacity-50" : GV, "text-body-2-medium"),
+ className: YI(GV, i ? "cursor-not-allowed opacity-50" : KV, "text-body-2-medium"),
onClick: () => n(e.command),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -57789,12 +57804,12 @@ function eq({ option: e, metadataOnly: t, onRun: n }) {
})
});
}
-function Obe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function kbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");
(0, F.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
try {
- let o = await n_e(e, t.signal, a);
+ let o = await r_e(e, t.signal, a);
if (!o.traffic) throw Error("服务端未提供流量预估");
if (t.signal.aborted) return;
c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {
@@ -57819,7 +57834,7 @@ function Obe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex justify-center",
- children: /* @__PURE__ */ (0, I.jsx)(FH, {
+ children: /* @__PURE__ */ (0, I.jsx)(IH, {
value: a,
busy: i,
onChange: (e) => {
@@ -57827,7 +57842,7 @@ function Obe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}
})
}),
- s ? /* @__PURE__ */ (0, I.jsx)(CU, {
+ s ? /* @__PURE__ */ (0, I.jsx)(wU, {
traffic: s,
initial: !0
}) : null,
@@ -57839,7 +57854,7 @@ function Obe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
]
});
}
-function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
+function nq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);
(0, F.useEffect)(() => () => l.current?.close(), []);
let [p, m] = (0, F.useState)(!1), h = {
@@ -57887,7 +57902,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
description: "为已入库的本地视频生成九宫格",
command: { stage: "previews" }
}
- ], v = e || t, y = e ? EV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {
+ ], v = e || t, y = e ? DV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {
if (e) return;
if (t) {
s?.();
@@ -57922,7 +57937,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(Obe, {
+ u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(kbe, {
command: u.command,
dialog: u.dialog,
speed: i,
@@ -57931,11 +57946,11 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
f.current = e;
}
}), u.host) : null,
- u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(TH, {
+ u ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(EH, {
href: "/settings/library",
size: "small",
variant: "primary",
- trailingIcon: PB,
+ trailingIcon: FB,
disabled: v,
onClick: (e) => {
u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();
@@ -57953,7 +57968,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}), /* @__PURE__ */ (0, I.jsx)(J, {
ref: c,
iconOnly: !0,
- leadingIcon: NB,
+ leadingIcon: PB,
"aria-label": "更多同步方式",
"aria-haspopup": "dialog",
"aria-expanded": p,
@@ -57963,27 +57978,27 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Dz, {
+ /* @__PURE__ */ (0, I.jsx)(Oz, {
triggerRef: c,
isOpen: p,
onOpenChange: m,
placement: "bottom end",
offset: 4,
- className: UV,
- children: /* @__PURE__ */ (0, I.jsxs)(Bz, {
+ className: WV,
+ children: /* @__PURE__ */ (0, I.jsxs)(Vz, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
- children: [n ? /* @__PURE__ */ (0, I.jsxs)($K, {
+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(eq, {
label: "日常同步",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "px-2 py-1 text-caption-1-medium text-text-secondary",
children: "日常同步"
- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(eq, {
+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(tq, {
option: e,
metadataOnly: r,
onRun: b
}, e.label))]
- }) : null, /* @__PURE__ */ (0, I.jsxs)($K, {
+ }) : null, /* @__PURE__ */ (0, I.jsxs)(eq, {
label: n ? "全库维护" : "补全方式",
maintenance: n,
children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -57995,7 +58010,7 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
className: "text-caption-1-regular text-text-secondary",
children: "检查全部文件,复用已有资料和预览"
})]
- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(eq, {
+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(tq, {
option: e,
metadataOnly: r,
onRun: b
@@ -58006,48 +58021,48 @@ function tq({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
] });
}
// src/react/library-processing/library-completion.tsx
-function nq(e, t) {
+function rq(e, t) {
return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Co(e, "small", !1, t).html).map((e) => e.id))];
}
-function rq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, I.jsx)(kbe, {
+function iq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Abe, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function kbe({ assetIds: e, onComplete: t, className: n }) {
+function Abe({ assetIds: e, onComplete: t, className: n }) {
let r = Nt({
- queryKey: lH,
- queryFn: ({ signal: e }) => _H(e),
- refetchInterval: (e) => bH(e.state.data, !0)
+ queryKey: uH,
+ queryFn: ({ signal: e }) => vH(e),
+ refetchInterval: (e) => xH(e.state.data, !0)
}), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = Pt({
- mutationFn: (t) => H(cH, {
+ mutationFn: (t) => H(lH, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- a(e.job_id || null), U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });
+ a(e.job_id || null), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });
}
}), u = r.data;
(0, F.useEffect)(() => {
- u && i && u.job_id === i && !fH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
+ u && i && u.job_id === i && !pH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
}, [
u,
i,
t
]);
- let d = l.isPending || fH(u), f = l.error ? sr(l.error) : r.error ? yH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${fH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
+ let d = l.isPending || pH(u), f = l.error ? sr(l.error) : r.error ? bH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${pH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
return /* @__PURE__ */ (0, I.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
- className: JI("@container", n),
- children: /* @__PURE__ */ (0, I.jsxs)(xV, {
+ className: YI("@container", n),
+ children: /* @__PURE__ */ (0, I.jsxs)(SV, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, I.jsx)(tq, {
+ children: /* @__PURE__ */ (0, I.jsx)(nq, {
busy: d,
metadataOnly: u?.metadata_only,
onRun: (e) => {
@@ -58058,10 +58073,10 @@ function kbe({ assetIds: e, onComplete: t, className: n }) {
children: [
p,
" ",
- /* @__PURE__ */ (0, I.jsx)(TH, {
+ /* @__PURE__ */ (0, I.jsx)(EH, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: f ? "打开扫描与采集" : "查看处理详情"
})
]
@@ -58069,31 +58084,31 @@ function kbe({ assetIds: e, onComplete: t, className: n }) {
});
}
// node_modules/@tanstack/react-table/dist/FlexRender.js
-function Abe(e) {
- return jbe(e) || typeof e == "function" || Mbe(e);
-}
function jbe(e) {
+ return Mbe(e) || typeof e == "function" || Nbe(e);
+}
+function Mbe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Mbe(e) {
+function Nbe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function iq(e, t) {
- return e == null ? null : Abe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
+function aq(e, t) {
+ return e == null ? null : jbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
}
-function Nbe(e) {
+function Pbe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? iq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : iq(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? aq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : aq(n.cell, t.getContext());
}
- return "header" in e && e.header ? iq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? iq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? aq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? aq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function Pbe({ update: e, notify: t, unwatched: n }) {
+function Fbe({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -58210,7 +58225,7 @@ function Pbe({ update: e, notify: t, unwatched: n }) {
}
}
// node_modules/@tanstack/store/dist/atom.js
-function Fbe(e, t, n) {
+function Ibe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -58218,38 +58233,38 @@ function Fbe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var aq = [], oq = 0, { link: sq, unlink: Ibe, propagate: Lbe, checkDirty: cq, shallowPropagate: lq } = /* @__PURE__ */ Pbe({
+var oq = [], sq = 0, { link: cq, unlink: Lbe, propagate: Rbe, checkDirty: lq, shallowPropagate: uq } = /* @__PURE__ */ Fbe({
update(e) {
return e._update();
},
notify(e) {
- aq[dq++] = e, e.flags &= -3;
+ oq[fq++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, mq(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, hq(e));
}
-}), uq = 0, dq = 0, fq, pq = 0;
-function Rbe(e) {
+}), dq = 0, fq = 0, pq, mq = 0;
+function zbe(e) {
try {
- ++pq, e();
+ ++mq, e();
} finally {
- --pq || hq();
+ --mq || gq();
}
}
-function mq(e) {
+function hq(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = Ibe(n, e);
+ for (; n !== void 0;) n = Lbe(n, e);
}
-function hq() {
- if (!(pq > 0)) {
- for (; uq < dq;) {
- let e = aq[uq];
- aq[uq++] = void 0, e.notify();
+function gq() {
+ if (!(mq > 0)) {
+ for (; dq < fq;) {
+ let e = oq[dq];
+ oq[dq++] = void 0, e.notify();
}
- uq = 0, dq = 0;
+ dq = 0, fq = 0;
}
}
-function zbe(e, t) {
+function Bbe(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -58258,53 +58273,53 @@ function zbe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return fq !== void 0 && sq(i, fq, oq), i._snapshot;
+ return pq !== void 0 && cq(i, pq, sq), i._snapshot;
},
subscribe(e) {
- let t = Fbe(e), n = { current: !1 }, r = Bbe(() => {
- i.get(), n.current ? (fq = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = Ibe(e), n = { current: !1 }, r = Vbe(() => {
+ i.get(), n.current ? (pq = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = fq, o = t?.compare ?? Object.is;
- if (n) fq = i, ++oq, i.depsTail = void 0;
+ let a = pq, o = t?.compare ?? Object.is;
+ if (n) pq = i, ++sq, i.depsTail = void 0;
else if (e === void 0) return !1;
n && (i.flags = 5);
try {
let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;
return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;
} finally {
- fq = a, n && (i.flags &= -5), mq(i);
+ pq = a, n && (i.flags &= -5), hq(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && cq(i.deps, i)) {
+ if (e & 16 || e & 32 && lq(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && lq(e);
+ e !== void 0 && uq(e);
}
} else e & 32 && (i.flags = e & -33);
- return fq !== void 0 && sq(i, fq, oq), i._snapshot;
+ return pq !== void 0 && cq(i, pq, sq), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (Lbe(e), lq(e), hq());
+ e !== void 0 && (Rbe(e), uq(e), gq());
}
}, i;
}
-function Bbe(e) {
+function Vbe(e) {
let t = () => {
- let t = fq;
- fq = n, ++oq, n.depsTail = void 0, n.flags = 6;
+ let t = pq;
+ pq = n, ++sq, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- fq = t, n.flags &= -5, mq(n);
+ pq = t, n.flags &= -5, hq(n);
}
}, n = {
deps: void 0,
@@ -58314,16 +58329,16 @@ function Bbe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && cq(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && lq(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, mq(this);
+ this.flags = 0, this.depsTail = void 0, hq(this);
}
};
return t(), n;
}
// node_modules/@tanstack/store/dist/shallow.js
-function gq(e, t) {
+function _q(e, t) {
if (Object.is(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
if (e instanceof Map && t instanceof Map) {
@@ -58337,16 +58352,16 @@ function gq(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = _q(e);
- if (n.length !== _q(t).length) return !1;
+ let n = vq(e);
+ if (n.length !== vq(t).length) return !1;
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;
return !0;
}
-function _q(e) {
+function vq(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Vbe = /* @__PURE__ */ o(((e) => {
+var Hbe = /* @__PURE__ */ o(((e) => {
var t = A(), n = dw();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -58391,33 +58406,33 @@ var Vbe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), vq = /* @__PURE__ */ o(((e, t) => {
- t.exports = Vbe();
-})), Hbe = vq();
-function Ube(e, t) {
+})), yq = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Hbe();
+})), Ube = yq();
+function Wbe(e, t) {
return e === t;
}
-function yq(e, t = (e) => e, n) {
- let r = n?.compare ?? Ube, i = (0, F.useCallback)((t) => {
+function bq(e, t = (e) => e, n) {
+ let r = n?.compare ?? Wbe, i = (0, F.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);
- return (0, Hbe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, Ube.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
-function Wbe(e) {
- let t = yq(e.source, e.selector, { compare: gq });
+function Gbe(e) {
+ let t = bq(e.source, e.selector, { compare: _q });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function Gbe(e) {
+function Kbe(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
} }), "set" in e && (t.setState = e.set.bind(e)), t;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function Kbe(e) {
+function qbe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -58447,7 +58462,7 @@ function Kbe(e) {
}
};
}
-function qbe(e, t = Object.is) {
+function Jbe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -58460,28 +58475,28 @@ function qbe(e, t = Object.is) {
};
}
// node_modules/@tanstack/react-table/dist/reactivity.js
-function Jbe() {
- return Kbe({
- createAtom: zbe,
- batch: Rbe
+function Ybe() {
+ return qbe({
+ createAtom: Bbe,
+ batch: zbe
});
}
// node_modules/@tanstack/table-core/dist/utils.js
-function bq(e, t) {
+function xq(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function xq(e) {
- if (Array.isArray(e)) return e.map(xq);
+function Sq(e) {
+ if (Array.isArray(e)) return e.map(Sq);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? Cq() : {}, r = Object.keys(e);
+ let n = t === null ? wq() : {}, r = Object.keys(e);
for (let t = 0; t < r.length; t++) {
let i = r[t];
Object.defineProperty(n, i, {
configurable: !0,
enumerable: !0,
- value: xq(e[i]),
+ value: Sq(e[i]),
writable: !0
});
}
@@ -58489,7 +58504,7 @@ function xq(e) {
}
return e;
}
-function Sq(e, t) {
+function Cq(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -58497,53 +58512,53 @@ function Sq(e, t) {
}
return e;
}
-function Cq() {
+function wq() {
return Object.create(null);
}
-function wq(e, t) {
+function Tq(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function Tq(e, t) {
+function Eq(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => bq(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => xq(n, e));
};
}
-function Eq(e) {
+function Dq(e) {
if (typeof e != "object" || !e) return !1;
if (Array.isArray(e)) return !0;
let t = Object.getPrototypeOf(e);
return t === Object.prototype || t === null;
}
-function Dq(e) {
+function Oq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var Ybe = 3;
-function Xbe(e, t) {
- return Oq(e, t, Ybe);
+var Xbe = 3;
+function Zbe(e, t) {
+ return kq(e, t, Xbe);
}
-function Oq(e, t, n) {
+function kq(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !Eq(e) || !Eq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = Dq(e), i = Dq(t);
+ if (n <= 0 || !Dq(e) || !Dq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = Oq(e), i = Oq(t);
if (r.length !== i.length) return !1;
let a = e, o = t;
for (let e = 0; e < r.length; e++) {
let i = r[e];
- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !Oq(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !kq(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function kq(e, t, n, r = Xbe) {
+function Aq(e, t, n, r = Zbe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = bq(n, e);
+ let t = xq(n, e);
return r(e, t) ? e : t;
});
}
-function Zbe(e) {
+function Qbe(e) {
return e instanceof Function;
}
-function Qbe(e, t) {
+function $be(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -58553,7 +58568,7 @@ function Qbe(e, t) {
};
return r(e), n;
}
-var $be = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var exe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -58567,23 +58582,23 @@ var $be = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function Aq(e) {
+function jq(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function jq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function Mq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
let o = { onAfterUpdate: r ? () => {
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
} : void 0 };
- return $be({
+ return exe({
...a,
...o
});
}
-function Mq(e, t = "_") {
+function Nq(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -58591,10 +58606,10 @@ function Mq(e, t = "_") {
parentName: n
};
}
-function Nq(e, t, n) {
+function Pq(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = Mq(r);
- t[n] = a ? jq({
+ let { fnKey: n, fnName: o } = Nq(r);
+ t[n] = a ? Mq({
memoDeps: a,
fn: i,
fnName: o,
@@ -58603,15 +58618,15 @@ function Nq(e, t, n) {
}) : i;
}
}
-function Pq(e, t, n, r) {
+function Fq(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = Mq(i);
+ let { fnKey: r, fnName: s } = Nq(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = jq({
+ this[i] = Mq({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -58627,17 +58642,17 @@ function Pq(e, t, n, r) {
};
}
}
-function Fq(e, t, n, ...r) {
+function Iq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function exe(e) {
+function txe(e) {
return e.row.getValue(e.column.id);
}
-function txe(e) {
+function nxe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function nxe(e) {
+function rxe(e) {
return {
table: e.table,
column: e.column,
@@ -58648,18 +58663,18 @@ function nxe(e) {
};
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var rxe = { assignCellPrototype: (e, t) => {
- Pq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => exe(e) },
- cell_renderValue: { fn: (e) => txe(e) },
+var ixe = { assignCellPrototype: (e, t) => {
+ Fq("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => txe(e) },
+ cell_renderValue: { fn: (e) => nxe(e) },
cell_getContext: {
- fn: (e) => nxe(e),
+ fn: (e) => rxe(e),
memoDeps: (e) => [e]
}
});
} };
// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function ixe(e) {
+function axe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -58667,7 +58682,7 @@ function ixe(e) {
}
return e._columnPrototype;
}
-function axe(e, t, n, r) {
+function oxe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -58687,53 +58702,53 @@ function axe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = ixe(e), u = Object.create(l);
+ let l = axe(e), u = Object.create(l);
u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;
let d = e._columnInstanceInitFns;
for (let e = 0; e < d.length; e++) d[e](u);
return u;
}
// node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function Iq(e) {
+function Lq(e) {
return e.getIsVisible?.() ?? !0;
}
-function oxe(e) {
+function sxe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function Lq(e, t) {
+function Rq(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function Rq(e, t, n, r) {
+function zq(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function zq(e, t) {
+function Bq(e, t) {
return e._expandRows?.(t) ?? t;
}
-function sxe(e) {
+function cxe(e) {
e.autoResetExpanded?.();
}
-function Bq(e) {
+function Vq(e) {
e.autoResetPageIndex?.();
}
-function cxe(e) {
+function lxe(e) {
e.autoResetSorting?.();
}
-function lxe(e) {
+function uxe(e) {
e.autoResetCellSelection?.();
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function uxe(e) {
+function dxe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function dxe(e) {
+function fxe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return Lq(e.table, t);
+ return Rq(e.table, t);
}
return [e];
}
-function fxe(e) {
+function pxe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -58744,53 +58759,53 @@ function fxe(e) {
...e.options.defaultColumn
};
}
-function Vq(e, t, n, r = 0) {
+function Hq(e, t, n, r = 0) {
let i = Array(t.length);
for (let a = 0; a < t.length; a++) {
if (!(a in t)) continue;
- let o = t[a], s = axe(e, o, r, n), c = o;
- s.columns = c.columns ? Vq(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = oxe(e, o, r, n), c = o;
+ s.columns = c.columns ? Hq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function pxe(e) {
- return Vq(e, e.options.columns);
-}
function mxe(e) {
- return e.getAllColumns().flatMap((e) => e.getFlatColumns());
+ return Hq(e, e.options.columns);
}
function hxe(e) {
- let t = Cq(), n = e.getAllFlatColumns();
+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());
+}
+function gxe(e) {
+ let t = wq(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function gxe(e) {
- return Lq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
-}
function _xe(e) {
- let t = Cq(), n = e.getAllLeafColumns();
+ return Rq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+}
+function vxe(e) {
+ let t = wq(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function vxe(e, t) {
+function yxe(e, t) {
return e.getAllFlatColumnsById()[t];
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var yxe = {
+var bxe = {
assignColumnPrototype: (e, t) => {
- Pq("coreColumnsFeature", e, t, {
+ Fq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => uxe(e),
+ fn: (e) => dxe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => dxe(e),
+ fn: (e) => fxe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -58801,25 +58816,25 @@ var yxe = {
});
},
constructTableAPIs: (e) => {
- Nq("coreColumnsFeature", e, {
+ Pq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => fxe(e),
+ fn: () => pxe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => pxe(e),
+ fn: () => mxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => mxe(e),
+ fn: () => hxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => hxe(e),
+ fn: () => gxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => gxe(e),
+ fn: () => _xe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -58828,15 +58843,15 @@ var yxe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => _xe(e),
+ fn: () => vxe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => vxe(e, t) }
+ table_getColumn: { fn: (t) => yxe(e, t) }
});
}
};
// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function bxe(e) {
+function xxe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -58844,38 +58859,38 @@ function bxe(e) {
}
return e._headerPrototype;
}
-function Hq(e, t, n) {
- let r = bxe(e), i = Object.create(r);
+function Uq(e, t, n) {
+ let r = xxe(e), i = Object.create(r);
i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];
let a = e._headerInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
return i;
}
// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function Uq(e, t = 1) {
+function Wq(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- Iq(i) && i.columns.length && (n = Math.max(n, Uq(i.columns, t + 1)));
+ Lq(i) && i.columns.length && (n = Math.max(n, Wq(i.columns, t + 1)));
}
return n;
}
-function xxe(e, t) {
+function Sxe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function Sxe(e, t, n, r) {
+function Cxe(e, t, n, r) {
let i = e ?? "";
return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;
}
-function Cxe(e, t) {
+function wxe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function Wq(e, t, n, r, i, a) {
+function Gq(e, t, n, r, i, a) {
let o = {
depth: t,
- id: xxe(r, t),
+ id: Sxe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -58883,10 +58898,10 @@ function Wq(e, t, n, r, i, a) {
let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;
if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);
else {
- let e = Hq(n, u, {
- id: Sxe(r, t, u.id, a.id),
+ let e = Uq(n, u, {
+ id: Cxe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(Cxe(s, u)) : void 0,
+ placeholderId: d ? String(wxe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -58895,18 +58910,18 @@ function Wq(e, t, n, r, i, a) {
o.headers.push(a), a.headerGroup = o;
}
for (let e = 0; e < a.length; e++) a[e](o);
- i.push(o), t > 0 && Wq(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && Gq(s, t - 1, n, r, i, a);
}
-function Gq(e) {
+function Kq(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!Iq(n.column)) continue;
+ if (!Lq(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- Gq(n.subHeaders);
+ Kq(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- Iq(t.column) && (r += t.colSpan);
+ Lq(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -58916,37 +58931,37 @@ function Gq(e) {
} else n.rowSpan = 1;
}
}
-function wxe(e, t, n, r) {
- let i = Uq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = Hq(n, t[e], {
+function Txe(e, t, n, r) {
+ let i = Wq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Uq(n, t[e], {
depth: i,
index: e
}));
- return Wq(s, i - 1, n, r, a, o), a.reverse(), Gq(a[0]?.headers ?? []), a;
+ return Gq(s, i - 1, n, r, a, o), a.reverse(), Kq(a[0]?.headers ?? []), a;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function Kq(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) Kq(e.subHeaders[n], t);
+function qq(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) qq(e.subHeaders[n], t);
t.push(e);
}
-function Txe(e) {
+function Exe(e) {
let t = [];
- return Kq(e, t), t;
+ return qq(e, t), t;
}
-function Exe(e) {
+function Dxe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function Dxe(e) {
- return wxe(e.getAllColumns(), Rq(e, oxe(e), (e) => e.id), e);
-}
function Oxe(e) {
- return [...e.getHeaderGroups()].reverse();
+ return Txe(e.getAllColumns(), zq(e, sxe(e), (e) => e.id), e);
}
function kxe(e) {
+ return [...e.getHeaderGroups()].reverse();
+}
+function Axe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -58954,7 +58969,7 @@ function kxe(e) {
}
return n;
}
-function Axe(e) {
+function jxe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -58963,23 +58978,23 @@ function Axe(e) {
return n;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var jxe = {
+var Mxe = {
assignHeaderPrototype: (e, t) => {
- Pq("coreHeadersFeature", e, t, {
+ Fq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => Txe(e),
+ fn: (e) => Exe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => Exe(e),
+ fn: (e) => Dxe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- Nq("coreHeadersFeature", e, {
+ Pq("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => Dxe(e),
+ fn: () => Oxe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -58990,22 +59005,22 @@ var jxe = {
]
},
table_getFooterGroups: {
- fn: () => Oxe(e),
+ fn: () => kxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => kxe(e),
+ fn: () => Axe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => Axe(e),
+ fn: () => jxe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function Mxe(e) {
+function Nxe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -59013,98 +59028,98 @@ function Mxe(e) {
}
return e._rowPrototype;
}
-var Nxe = (e, t, n, r, i, a, o) => {
- let s = Mxe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = Cq(), c._valuesCache = Cq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var Pxe = (e, t, n, r, i, a, o) => {
+ let s = Nxe(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = wq(), c._valuesCache = wq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
let l = e._rowInstanceInitFns;
for (let e = 0; e < l.length; e++) l[e](c);
return c;
};
// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function Pxe() {
- return (e) => jq({
+function Fxe() {
+ return (e) => Mq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => Fxe(e, e.options.data),
- onAfterUpdate: Aq(() => {
- sxe(e), Bq(e), cxe(e), lxe(e);
+ fn: () => Ixe(e, e.options.data),
+ onAfterUpdate: jq(() => {
+ cxe(e), Vq(e), lxe(e), uxe(e);
})
});
}
-function qq(e, t, n, r = 0, i) {
+function Jq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = Nxe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = qq(e, t, c.originalSubRows, r + 1, c)));
+ let s = n[o], c = Pxe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Jq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function Fxe(e, t) {
+function Ixe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: Cq()
+ rowsById: wq()
};
- return n.rows = qq(e, n, t), n;
+ return n.rows = Jq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function Ixe(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Pxe()(e)), e._rowModels.coreRowModel();
-}
function Lxe(e) {
- return e.getCoreRowModel();
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Fxe()(e)), e._rowModels.coreRowModel();
}
function Rxe(e) {
- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
+ return e.getCoreRowModel();
}
function zxe(e) {
- return e.getFilteredRowModel();
+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
}
function Bxe(e) {
- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
+ return e.getFilteredRowModel();
}
function Vxe(e) {
- return e.getGroupedRowModel();
+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
}
function Hxe(e) {
- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
+ return e.getGroupedRowModel();
}
function Uxe(e) {
- return e.getSortedRowModel();
+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
}
function Wxe(e) {
- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
+ return e.getSortedRowModel();
}
function Gxe(e) {
- return e.getExpandedRowModel();
+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
}
function Kxe(e) {
- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();
+ return e.getExpandedRowModel();
}
function qxe(e) {
+ return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();
+}
+function Jxe(e) {
return e.getPaginatedRowModel();
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var Jxe = { constructTableAPIs: (e) => {
- Nq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => Ixe(e) },
- table_getPreFilteredRowModel: { fn: () => Lxe(e) },
- table_getFilteredRowModel: { fn: () => Rxe(e) },
- table_getPreGroupedRowModel: { fn: () => zxe(e) },
- table_getGroupedRowModel: { fn: () => Bxe(e) },
- table_getPreSortedRowModel: { fn: () => Vxe(e) },
- table_getSortedRowModel: { fn: () => Hxe(e) },
- table_getPreExpandedRowModel: { fn: () => Uxe(e) },
- table_getExpandedRowModel: { fn: () => Wxe(e) },
- table_getPrePaginatedRowModel: { fn: () => Gxe(e) },
- table_getPaginatedRowModel: { fn: () => Kxe(e) },
- table_getRowModel: { fn: () => qxe(e) }
+var Yxe = { constructTableAPIs: (e) => {
+ Pq("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => Lxe(e) },
+ table_getPreFilteredRowModel: { fn: () => Rxe(e) },
+ table_getFilteredRowModel: { fn: () => zxe(e) },
+ table_getPreGroupedRowModel: { fn: () => Bxe(e) },
+ table_getGroupedRowModel: { fn: () => Vxe(e) },
+ table_getPreSortedRowModel: { fn: () => Hxe(e) },
+ table_getSortedRowModel: { fn: () => Uxe(e) },
+ table_getPreExpandedRowModel: { fn: () => Wxe(e) },
+ table_getExpandedRowModel: { fn: () => Gxe(e) },
+ table_getPrePaginatedRowModel: { fn: () => Kxe(e) },
+ table_getPaginatedRowModel: { fn: () => qxe(e) },
+ table_getRowModel: { fn: () => Jxe(e) }
});
} };
// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function Yxe(e) {
+function Xxe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -59112,48 +59127,48 @@ function Yxe(e) {
}
return e._cellPrototype;
}
-function Xxe(e, t, n) {
- let r = Yxe(n), i = Object.create(r);
+function Zxe(e, t, n) {
+ let r = Xxe(n), i = Object.create(r);
i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;
let a = n._cellInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
return i;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function Zxe(e) {
+function Qxe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function Qxe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? zq(e, t).rows : t.rows;
+function $xe(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Bq(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function $xe(e, t) {
- if (wq(e._valuesCache, t)) return e._valuesCache[t];
+function eSe(e, t) {
+ if (Tq(e._valuesCache, t)) return e._valuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];
}
-function eSe(e, t) {
- if (wq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function tSe(e, t) {
+ if (Tq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);
}
-function tSe(e, t) {
+function nSe(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function nSe(e) {
- return Qbe(e.subRows, (e) => e.subRows);
-}
function rSe(e) {
+ return $be(e.subRows, (e) => e.subRows);
+}
+function iSe(e) {
let t = e.getCoreRowModel().flatRows, n = 0;
for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);
return n;
}
-function iSe(e) {
+function aSe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function aSe(e) {
+function oSe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -59162,77 +59177,77 @@ function aSe(e) {
}
return t.reverse();
}
-function oSe(e) {
+function sSe(e) {
let t = e.table.getAllLeafColumns(), n = e._cellsCache;
n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();
let r = Array(t.length);
for (let i = 0; i < t.length; i++) {
let a = t[i], o = n.get(a);
- o || (o = Xxe(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = Zxe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function sSe(e) {
- let t = Cq(), n = e.getAllCells();
+function cSe(e) {
+ let t = wq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function cSe(e, t, n, r) {
+function lSe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function lSe(e, t, n) {
+function uSe(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var uSe = {
+var dSe = {
assignRowPrototype: (e, t) => {
- Pq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => Zxe(e) },
+ Fq("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => Qxe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => sSe(e),
+ fn: (e) => cSe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => oSe(e),
+ fn: (e) => sSe(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => nSe(e),
+ fn: (e) => rSe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => iSe(e) },
- row_getParentRows: { fn: (e) => aSe(e) },
- row_getUniqueValues: { fn: (e, t) => eSe(e, t) },
- row_getValue: { fn: (e, t) => $xe(e, t) },
- row_renderValue: { fn: (e, t) => tSe(e, t) }
+ row_getParentRow: { fn: (e) => aSe(e) },
+ row_getParentRows: { fn: (e) => oSe(e) },
+ row_getUniqueValues: { fn: (e, t) => tSe(e, t) },
+ row_getValue: { fn: (e, t) => eSe(e, t) },
+ row_renderValue: { fn: (e, t) => nSe(e, t) }
});
},
constructTableAPIs: (e) => {
- Nq("coreRowsFeature", e, {
+ Pq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => Qxe(e),
+ fn: () => $xe(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => cSe(t, e, n, r) },
- table_getRow: { fn: (t, n) => lSe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => lSe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => uSe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => rSe(e),
+ fn: () => iSe(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function Jq(e, t, n = (e, t) => e === t) {
+function Yq(e, t, n = (e, t) => e === t) {
let r = t === void 0 ? e.options.state : t;
e._reactivity.batch(() => {
if (r) for (let t in r) {
@@ -59243,13 +59258,13 @@ function Jq(e, t, n = (e, t) => e === t) {
}
});
}
-function Yq(e, t, n = (e, t) => e === t) {
+function Xq(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- Jq(e, t, n), e._reactivity.commit?.();
+ Yq(e, t, n), e._reactivity.commit?.();
});
}
-function dSe(e) {
- let t = xq(e.initialState);
+function fSe(e) {
+ let t = Sq(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -59260,7 +59275,7 @@ function dSe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function fSe(e, t) {
+function pSe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -59292,26 +59307,26 @@ function fSe(e, t) {
}
});
}
-function Xq(e, t, n) {
- let r = fSe(e, bq(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Yq(e, r.state ?? null);
+function Zq(e, t, n) {
+ let r = pSe(e, xq(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Xq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var pSe = {
- coreCellsFeature: rxe,
- coreColumnsFeature: yxe,
- coreHeadersFeature: jxe,
- coreRowModelsFeature: Jxe,
- coreRowsFeature: uSe,
+var mSe = {
+ coreCellsFeature: ixe,
+ coreColumnsFeature: bxe,
+ coreHeadersFeature: Mxe,
+ coreRowModelsFeature: Yxe,
+ coreRowsFeature: dSe,
coreTablesFeature: { constructTableAPIs: (e) => {
- Nq("coreTablesFeature", e, {
- table_reset: { fn: () => dSe(e) },
- table_setOptions: { fn: (t) => Xq(e, t) }
+ Pq("coreTablesFeature", e, {
+ table_reset: { fn: () => fSe(e) },
+ table_setOptions: { fn: (t) => Zq(e, t) }
});
} }
};
// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function Zq() {
+function Qq() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -59326,21 +59341,21 @@ function Zq() {
};
}
// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function Qq(e) {
+function $q(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function mSe(e, t = {}) {
+function hSe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), xq(t);
+ }), Sq(t);
}
-function hSe(e) {
+function gSe(e) {
let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {
_cellInstanceInitFns: [],
_columnInstanceInitFns: [],
_features: {
- ...pSe,
+ ...mSe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -59378,7 +59393,7 @@ function hSe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = mSe(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = hSe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -59386,14 +59401,14 @@ function hSe(e) {
let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();
if (t) return r;
let i = e.state;
- if (i && wq(i, n)) {
+ if (i && Tq(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- Jq(v), v.store = Gbe(t.createReadonlyAtom(() => {
+ Yq(v), v.store = Kbe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -59401,7 +59416,7 @@ function hSe(e) {
}
return e;
}, {
- compare: gq,
+ compare: _q,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -59411,107 +59426,107 @@ function hSe(e) {
return v;
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function gSe() {
- return Cq();
+function _Se() {
+ return wq();
}
-function $q(e, t) {
- tJ(e) && rJ(e.table, (n) => {
- let r = Object.assign(Cq(), n), i = t ?? !Fq(e, "getIsVisible", eJ), a = e.getLeafColumns();
+function eJ(e, t) {
+ nJ(e) && iJ(e.table, (n) => {
+ let r = Object.assign(wq(), n), i = t ?? !Iq(e, "getIsVisible", tJ), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- tJ(t) && (r[t.id] = i);
+ nJ(t) && (r[t.id] = i);
}
return r;
});
}
-function eJ(e) {
+function tJ(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => Fq(e, "getIsVisible", eJ)) : (wq(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => Iq(e, "getIsVisible", tJ)) : (Tq(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function tJ(e) {
+function nJ(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function _Se(e) {
+function vSe(e) {
return (t) => {
- $q(e, t.target.checked);
+ eJ(e, t.target.checked);
};
}
-function vSe(e) {
+function ySe(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- Fq(r.column, "getIsVisible", eJ) && n.push(r);
+ Iq(r.column, "getIsVisible", tJ) && n.push(r);
}
- return Rq(e.table, n, (e) => e.column.id, () => Fq(e, "getVisibleCellsByColumnId", nJ));
+ return zq(e.table, n, (e) => e.column.id, () => Iq(e, "getVisibleCellsByColumnId", rJ));
}
-function nJ(e) {
- let t = Cq(), n = e.getAllCells();
+function rJ(e) {
+ let t = wq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- Fq(r.column, "getIsVisible", eJ) && (t[r.column.id] = r);
+ Iq(r.column, "getIsVisible", tJ) && (t[r.column.id] = r);
}
return t;
}
-function ySe(e) {
- return e.getAllFlatColumns().filter((e) => Fq(e, "getIsVisible", eJ));
-}
function bSe(e) {
- return e.getAllLeafColumns().filter((e) => Fq(e, "getIsVisible", eJ));
-}
-function rJ(e, t) {
- kq(e, "columnVisibility", t);
+ return e.getAllFlatColumns().filter((e) => Iq(e, "getIsVisible", tJ));
}
-function xSe(e, t) {
- rJ(e, t ? Cq() : Object.assign(Cq(), xq(e.initialState.columnVisibility ?? {})));
+function xSe(e) {
+ return e.getAllLeafColumns().filter((e) => Iq(e, "getIsVisible", tJ));
}
function iJ(e, t) {
- t ??= !aJ(e);
- let n = Cq(), r = e.getAllLeafColumns();
+ Aq(e, "columnVisibility", t);
+}
+function SSe(e, t) {
+ iJ(e, t ? wq() : Object.assign(wq(), Sq(e.initialState.columnVisibility ?? {})));
+}
+function aJ(e, t) {
+ t ??= !oJ(e);
+ let n = wq(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !tJ(i);
+ n[i.id] = t || !nJ(i);
}
- rJ(e, n);
+ iJ(e, n);
}
-function aJ(e) {
- return !e.getAllLeafColumns().some((e) => !Fq(e, "getIsVisible", eJ));
-}
-function SSe(e) {
- return e.getAllLeafColumns().some((e) => Fq(e, "getIsVisible", eJ));
+function oJ(e) {
+ return !e.getAllLeafColumns().some((e) => !Iq(e, "getIsVisible", tJ));
}
function CSe(e) {
+ return e.getAllLeafColumns().some((e) => Iq(e, "getIsVisible", tJ));
+}
+function wSe(e) {
return (t) => {
- iJ(e, t.target.checked);
+ aJ(e, t.target.checked);
};
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var oJ = {
+var sJ = {
getInitialState: (e) => ({
- columnVisibility: gSe(),
+ columnVisibility: _Se(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: Tq("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: Eq("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- Pq("columnVisibilityFeature", e, t, {
+ Fq("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => eJ(e),
+ fn: (e) => tJ(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => tJ(e) },
- column_getToggleVisibilityHandler: { fn: (e) => _Se(e) },
- column_toggleVisibility: { fn: (e, t) => $q(e, t) }
+ column_getCanHide: { fn: (e) => nJ(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => vSe(e) },
+ column_toggleVisibility: { fn: (e, t) => eJ(e, t) }
});
},
assignRowPrototype: (e, t) => {
- Pq("columnVisibilityFeature", e, t, {
+ Fq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => vSe(e),
+ fn: (e) => ySe(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -59519,15 +59534,15 @@ var oJ = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => nJ(e),
+ fn: (e) => rJ(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- Nq("columnVisibilityFeature", e, {
+ Pq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => ySe(e),
+ fn: () => bSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59537,7 +59552,7 @@ var oJ = {
]
},
table_getVisibleLeafColumns: {
- fn: () => bSe(e),
+ fn: () => xSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59546,51 +59561,51 @@ var oJ = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => rJ(e, t) },
- table_resetColumnVisibility: { fn: (t) => xSe(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => iJ(e, t) },
- table_getIsAllColumnsVisible: { fn: () => aJ(e) },
- table_getIsSomeColumnsVisible: { fn: () => SSe(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => CSe(e) }
+ table_setColumnVisibility: { fn: (t) => iJ(e, t) },
+ table_resetColumnVisibility: { fn: (t) => SSe(e, t) },
+ table_toggleAllColumnsVisible: { fn: (t) => aJ(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => oJ(e) },
+ table_getIsSomeColumnsVisible: { fn: () => CSe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => wSe(e) }
});
}
-}, sJ = 0, cJ = 10;
-function lJ() {
+}, cJ = 0, lJ = 10;
+function uJ() {
return {
- pageIndex: sJ,
- pageSize: cJ
+ pageIndex: cJ,
+ pageSize: lJ
};
}
-function wSe(e) {
+function TSe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? sJ) === sJ) return;
- fJ(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? cJ) === cJ) return;
+ pJ(e, !0);
}
}
-function uJ(e, t) {
- kq(e, "pagination", t);
+function dJ(e, t) {
+ Aq(e, "pagination", t);
}
-function TSe(e, t) {
- uJ(e, t ? lJ() : xq(e.initialState.pagination ?? lJ()));
+function ESe(e, t) {
+ dJ(e, t ? uJ() : Sq(e.initialState.pagination ?? uJ()));
}
-function dJ(e, t) {
- uJ(e, (n) => {
- let r = bq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function fJ(e, t) {
+ dJ(e, (n) => {
+ let r = xq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
};
});
}
-function fJ(e, t) {
- dJ(e, t ? sJ : e.initialState.pagination?.pageIndex ?? sJ);
+function pJ(e, t) {
+ fJ(e, t ? cJ : e.initialState.pagination?.pageIndex ?? cJ);
}
-function ESe(e, t) {
- pJ(e, t ? cJ : e.initialState.pagination?.pageSize ?? cJ);
+function DSe(e, t) {
+ mJ(e, t ? lJ : e.initialState.pagination?.pageSize ?? lJ);
}
-function pJ(e, t) {
- uJ(e, (e) => {
- let n = Math.max(1, bq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function mJ(e, t) {
+ dJ(e, (e) => {
+ let n = Math.max(1, xq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -59598,231 +59613,231 @@ function pJ(e, t) {
};
});
}
-function DSe(e) {
- let t = mJ(e), n = [];
- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
-}
function OSe(e) {
- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
+ let t = hJ(e), n = [];
+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
function kSe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? sJ, n = mJ(e);
- return n === -1 || n !== 0 && t < n - 1;
+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
function ASe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? sJ, n = mJ(e);
- return Number.isFinite(n) && n > 0 && t < n - 1;
+ let t = e.atoms.pagination?.get()?.pageIndex ?? cJ, n = hJ(e);
+ return n === -1 || n !== 0 && t < n - 1;
}
function jSe(e) {
- return dJ(e, (e) => e - 1);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? cJ, n = hJ(e);
+ return Number.isFinite(n) && n > 0 && t < n - 1;
}
function MSe(e) {
- return dJ(e, (e) => e + 1);
+ return fJ(e, (e) => e - 1);
}
function NSe(e) {
- return dJ(e, 0);
+ return fJ(e, (e) => e + 1);
}
function PSe(e) {
- let t = mJ(e);
- if (!(!Number.isFinite(t) || t <= 0)) return dJ(e, t - 1);
+ return fJ(e, 0);
}
-function mJ(e) {
+function FSe(e) {
+ let t = hJ(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return fJ(e, t - 1);
+}
+function hJ(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = hJ(e), r = e.atoms.pagination?.get()?.pageSize ?? cJ;
+ let n = gJ(e), r = e.atoms.pagination?.get()?.pageSize ?? lJ;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function hJ(e) {
+function gJ(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var gJ = {
+var _J = {
getInitialState: (e) => ({
...e,
pagination: {
- ...lJ(),
+ ...uJ(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: Tq("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: Eq("pagination", e) }),
constructTableAPIs: (e) => {
- Nq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => wSe(e) },
- table_setPagination: { fn: (t) => uJ(e, t) },
- table_resetPagination: { fn: (t) => TSe(e, t) },
- table_setPageIndex: { fn: (t) => dJ(e, t) },
- table_resetPageIndex: { fn: (t) => fJ(e, t) },
- table_setPageSize: { fn: (t) => pJ(e, t) },
- table_getPageCount: { fn: () => mJ(e) },
- table_resetPageSize: { fn: (t) => ESe(e, t) },
- table_getPageOptions: { fn: () => DSe(e) },
- table_getCanPreviousPage: { fn: () => OSe(e) },
- table_getCanNextPage: { fn: () => kSe(e) },
- table_getCanLastPage: { fn: () => ASe(e) },
- table_previousPage: { fn: () => jSe(e) },
- table_nextPage: { fn: () => MSe(e) },
- table_firstPage: { fn: () => NSe(e) },
- table_lastPage: { fn: () => PSe(e) },
- table_getRowCount: { fn: () => hJ(e) }
+ Pq("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => TSe(e) },
+ table_setPagination: { fn: (t) => dJ(e, t) },
+ table_resetPagination: { fn: (t) => ESe(e, t) },
+ table_setPageIndex: { fn: (t) => fJ(e, t) },
+ table_resetPageIndex: { fn: (t) => pJ(e, t) },
+ table_setPageSize: { fn: (t) => mJ(e, t) },
+ table_getPageCount: { fn: () => hJ(e) },
+ table_resetPageSize: { fn: (t) => DSe(e, t) },
+ table_getPageOptions: { fn: () => OSe(e) },
+ table_getCanPreviousPage: { fn: () => kSe(e) },
+ table_getCanNextPage: { fn: () => ASe(e) },
+ table_getCanLastPage: { fn: () => jSe(e) },
+ table_previousPage: { fn: () => MSe(e) },
+ table_nextPage: { fn: () => NSe(e) },
+ table_firstPage: { fn: () => PSe(e) },
+ table_lastPage: { fn: () => FSe(e) },
+ table_getRowCount: { fn: () => gJ(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function FSe() {
- return Cq();
+function ISe() {
+ return wq();
}
-function _J(e, t) {
+function vJ(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function ISe(e, t) {
- e._lastSelectedRowId = null, _J(e, t ? Cq() : Object.assign(Cq(), xq(e.initialState.rowSelection ?? {})));
+function LSe(e, t) {
+ e._lastSelectedRowId = null, vJ(e, t ? wq() : Object.assign(wq(), Sq(e.initialState.rowSelection ?? {})));
}
-function vJ(e, t, n) {
- e._lastSelectedRowId = null, _J(e, (r) => {
- if (t = t === void 0 ? !Fq(e, "getIsAllRowsSelected", xJ) : t, n?.deselectAll && !t) return Cq();
- let i = Object.assign(Cq(), r), a = e.getPreGroupedRowModel().flatRows;
+function yJ(e, t, n) {
+ e._lastSelectedRowId = null, vJ(e, (r) => {
+ if (t = t === void 0 ? !Iq(e, "getIsAllRowsSelected", SJ) : t, n?.deselectAll && !t) return wq();
+ let i = Object.assign(wq(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- jJ(t, e) && (i[t.id] = !0);
+ MJ(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- DJ(e) && delete i[e.id];
+ OJ(e) && delete i[e.id];
});
return i;
});
}
-function yJ(e, t, n) {
- e._lastSelectedRowId = null, _J(e, (r) => {
- let i = t === void 0 ? !Fq(e, "getIsAllPageRowsSelected", SJ) : t;
- if (n?.deselectAll && !i) return Cq();
- let a = Object.assign(Cq(), r);
+function bJ(e, t, n) {
+ e._lastSelectedRowId = null, vJ(e, (r) => {
+ let i = t === void 0 ? !Iq(e, "getIsAllPageRowsSelected", CJ) : t;
+ if (n?.deselectAll && !i) return wq();
+ let a = Object.assign(wq(), r);
return e.getRowModel().rows.forEach((t) => {
- AJ(a, t.id, i, !0, e, !0);
+ jJ(a, t.id, i, !0, e, !0);
}), a;
});
}
-function LSe(e) {
+function RSe(e) {
return e.getCoreRowModel();
}
-function RSe(e) {
+function zSe(e) {
let t = e.getCoreRowModel();
- return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {
+ return Iq(e, "getIsSomeRowsSelected", wJ) ? FJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: Cq()
+ rowsById: wq()
};
}
-function zSe(e) {
+function BSe(e) {
let t = e.getFilteredRowModel();
- return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {
+ return Iq(e, "getIsSomeRowsSelected", wJ) ? FJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: Cq()
+ rowsById: wq()
};
}
-function BSe(e) {
+function VSe(e) {
let t = e.getSortedRowModel();
- return Fq(e, "getIsSomeRowsSelected", CJ) ? PJ(t, e) : {
+ return Iq(e, "getIsSomeRowsSelected", wJ) ? FJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: Cq()
+ rowsById: wq()
};
}
-function bJ(e) {
+function xJ(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function xJ(e) {
+function SJ(e) {
let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);
if (r) {
let e = /* @__PURE__ */ new Map();
- t.some((t) => !FJ(t, n) && jJ(t, e)) && (r = !1);
+ t.some((t) => !IJ(t, n) && MJ(t, e)) && (r = !1);
}
return r;
}
-function SJ(e) {
+function CJ(e) {
let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;
for (let e = 0; e < t.length; e++) {
let a = t[e];
- if (FJ(a, n)) !i && jJ(a, r) && (i = !0);
- else if (jJ(a, r)) return !1;
+ if (IJ(a, n)) !i && MJ(a, r) && (i = !0);
+ else if (MJ(a, r)) return !1;
}
return i;
}
-function CJ(e) {
- return Fq(e, "getSelectedRowIds", bJ).length > 0;
-}
-function VSe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => DJ(e)).some((e) => TJ(e) || Fq(e, "getIsSomeSelected", EJ));
+function wJ(e) {
+ return Iq(e, "getSelectedRowIds", xJ).length > 0;
}
function HSe(e) {
- return (t) => {
- vJ(e, t.target.checked);
- };
+ return e.getPaginatedRowModel().flatRows.filter((e) => OJ(e)).some((e) => EJ(e) || Iq(e, "getIsSomeSelected", DJ));
}
function USe(e) {
return (t) => {
yJ(e, t.target.checked);
};
}
-function wJ(e, t, n) {
- let r = TJ(e);
- _J(e.table, (i) => {
+function WSe(e) {
+ return (t) => {
+ bJ(e, t.target.checked);
+ };
+}
+function TJ(e, t, n) {
+ let r = EJ(e);
+ vJ(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(Cq(), i);
- return AJ(a, e.id, t, (n?.selectChildren ?? !0) && kJ(e), e.table), !t && n?.deselectParents && MJ(a, e), a;
+ let a = Object.assign(wq(), i);
+ return jJ(a, e.id, t, (n?.selectChildren ?? !0) && AJ(e), e.table), !t && n?.deselectParents && NJ(a, e), a;
});
}
-function TJ(e) {
- return FJ(e, e.table.atoms.rowSelection?.get() ?? {});
-}
function EJ(e) {
- return IJ(e) === "some";
-}
-function WSe(e) {
- return IJ(e) === "all";
+ return IJ(e, e.table.atoms.rowSelection?.get() ?? {});
}
function DJ(e) {
+ return LJ(e) === "some";
+}
+function GSe(e) {
+ return LJ(e) === "all";
+}
+function OJ(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function OJ(e) {
+function kJ(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function kJ(e) {
+function AJ(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function GSe(e, t) {
- let n = DJ(e);
+function KSe(e, t) {
+ let n = OJ(e);
return (r) => {
if (!n) return;
let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;
- a.options.enableRowRangeSelection !== !1 && s !== null && kJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && KSe(e, s, o, t) || wJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && AJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && qSe(e, s, o, t) || TJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function KSe(e, t, n, r) {
+function qSe(e, t, n, r) {
let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];
if (!s) return !1;
let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];
- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !kJ(s) || !kJ(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !AJ(s) || !AJ(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return _J(a, (e) => {
- let t = Object.assign(Cq(), e);
+ return vJ(a, (e) => {
+ let t = Object.assign(wq(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- DJ(s) && kJ(s) && (AJ(t, s.id, n, i, a), !n && r?.deselectParents && MJ(t, s));
+ OJ(s) && AJ(s) && (jJ(t, s.id, n, i, a), !n && r?.deselectParents && NJ(t, s));
}
return t;
}), !0;
}
-function AJ(e, t, n, r, i, a) {
+function jJ(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (kJ(o) || Object.keys(e).forEach((t) => delete e[t]), DJ(o) && (e[t] = !0)) : (!a || DJ(o)) && delete e[t], r && o.subRows.length && OJ(o) && o.subRows.forEach((t) => AJ(e, t.id, n, r, i, a));
+ n ? (AJ(o) || Object.keys(e).forEach((t) => delete e[t]), OJ(o) && (e[t] = !0)) : (!a || OJ(o)) && delete e[t], r && o.subRows.length && kJ(o) && o.subRows.forEach((t) => jJ(e, t.id, n, r, i, a));
}
-function jJ(e, t) {
- if (!DJ(e)) return !1;
+function MJ(e, t) {
+ if (!OJ(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -59838,7 +59853,7 @@ function jJ(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!OJ(r)) {
+ if (!kJ(r)) {
s = !1;
break;
}
@@ -59846,50 +59861,50 @@ function jJ(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function MJ(e, t) {
+function NJ(e, t) {
let n = t.table.getCoreRowModel().rowsById, r = t.parentId;
for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;
}
-function NJ(e, t, n, r) {
+function PJ(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = FJ(o, t);
+ let o = e[a], s = IJ(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = NJ(o.subRows, t, n, r);
+ let e = PJ(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- Sq(t, o), t.subRows = e, i.push(t);
+ Cq(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function PJ(e, t) {
- let n = [], r = Cq(), i = t.atoms.rowSelection?.get() ?? {};
+function FJ(e, t) {
+ let n = [], r = wq(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: NJ(e.rows, i, n, r),
+ rows: PJ(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function FJ(e, t) {
- return !!(wq(t, e.id) && t[e.id]);
+function IJ(e, t) {
+ return !!(Tq(t, e.id) && t[e.id]);
}
-function IJ(e) {
+function LJ(e) {
if (!e.subRows.length) return !1;
let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;
for (let a = 0; a < e.subRows.length; a++) {
let o = e.subRows[a];
if (n && !r) break;
- if (DJ(o) && (i = !0, FJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = IJ(o);
+ if (OJ(o) && (i = !0, IJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = LJ(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
return i ? r ? "all" : n ? "some" : !1 : !1;
}
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var LJ = {
+var RJ = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -59897,11 +59912,11 @@ var LJ = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: FSe(),
+ rowSelection: ISe(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: Tq("rowSelection", e),
+ onRowSelectionChange: Eq("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -59912,11 +59927,11 @@ var LJ = {
}
}),
assignRowPrototype: (e, t) => {
- Pq("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => wJ(e, t, n) },
- row_getIsSelected: { fn: (e) => TJ(e) },
+ Fq("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => TJ(e, t, n) },
+ row_getIsSelected: { fn: (e) => EJ(e) },
row_getIsSomeSelected: {
- fn: (e) => EJ(e),
+ fn: (e) => DJ(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -59924,44 +59939,44 @@ var LJ = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => WSe(e),
+ fn: (e) => GSe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => DJ(e) },
- row_getCanSelectSubRows: { fn: (e) => OJ(e) },
- row_getCanMultiSelect: { fn: (e) => kJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => GSe(e, t) }
+ row_getCanSelect: { fn: (e) => OJ(e) },
+ row_getCanSelectSubRows: { fn: (e) => kJ(e) },
+ row_getCanMultiSelect: { fn: (e) => AJ(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => KSe(e, t) }
});
},
constructTableAPIs: (e) => {
- Nq("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => _J(e, t) },
- table_resetRowSelection: { fn: (t) => ISe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => vJ(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => yJ(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => LSe(e) },
+ Pq("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => vJ(e, t) },
+ table_resetRowSelection: { fn: (t) => LSe(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => yJ(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => bJ(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => RSe(e) },
table_getSelectedRowModel: {
- fn: () => RSe(e),
+ fn: () => zSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => zSe(e),
+ fn: () => BSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => BSe(e),
+ fn: () => VSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => bJ(e),
+ fn: () => xJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => xJ(e),
+ fn: () => SJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -59970,7 +59985,7 @@ var LJ = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => SJ(e),
+ fn: () => CJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -59979,48 +59994,48 @@ var LJ = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => CJ(e),
+ fn: () => wJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => VSe(e),
+ fn: () => HSe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => HSe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => USe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => USe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => WSe(e) }
});
}
-}, qSe = /([0-9]+)/gm;
+}, JSe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function JSe(e) {
+function YSe(e) {
let t = Object.assign((e, n, r) => {
let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;
return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);
}, e);
return t;
}
-var RJ = /* @__PURE__ */ JSe({ sort: (e, t) => YSe(e, t) });
-function YSe(e, t) {
+var zJ = /* @__PURE__ */ YSe({ sort: (e, t) => XSe(e, t) });
+function XSe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function XSe() {
+function ZSe() {
return [];
}
-function zJ(e, t) {
- kq(e, "sorting", t);
-}
function BJ(e, t) {
- zJ(e, t ? [] : xq(e.initialState.sorting ?? []));
+ Aq(e, "sorting", t);
}
-function ZSe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && BJ(e);
+function VJ(e, t) {
+ BJ(e, t ? [] : Sq(e.initialState.sorting ?? []));
+}
+function QSe(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && VJ(e);
}
-function VJ(e) {
+function HJ(e) {
let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;
for (let t = 0; t < n.length; t++) {
let a = n[t].getValue(e.id);
@@ -60028,7 +60043,7 @@ function VJ(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(qSe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(JSe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -60037,9 +60052,9 @@ function VJ(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return RJ;
+ return zJ;
}
-function HJ(e) {
+function UJ(e) {
let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);
for (let n = 0; n < t.length; n++) {
let r = t[n].getValue(e.id);
@@ -60047,14 +60062,14 @@ function HJ(e) {
}
return "desc";
}
-function UJ(e) {
+function WJ(e) {
let t = e.table._rowModelFns.sortFns;
- return Zbe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? VJ(e) : t?.[e.columnDef.sortFn] ?? RJ;
+ return Qbe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? HJ(e) : t?.[e.columnDef.sortFn] ?? zJ;
}
-function WJ(e, t, n) {
- let r = KJ(e, n && JJ(e)), i = t !== void 0;
- zJ(e.table, (a) => {
- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && JJ(e) && n);
+function GJ(e, t, n) {
+ let r = qJ(e, n && YJ(e)), i = t !== void 0;
+ BJ(e.table, (a) => {
+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && YJ(e) && n);
return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {
id: e.id,
desc: u
@@ -60070,40 +60085,40 @@ function WJ(e, t, n) {
}], c;
});
}
-function GJ(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? HJ(e) === "desc" ? "desc" : "asc";
+function KJ(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? UJ(e) === "desc" ? "desc" : "asc";
}
-function KJ(e, t) {
- let n = GJ(e), r = YJ(e);
+function qJ(e, t) {
+ let n = KJ(e), r = XJ(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function qJ(e) {
+function JJ(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function JJ(e) {
+function YJ(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function YJ(e) {
+function XJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function QSe(e) {
- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
-}
function $Se(e) {
- zJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+ return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
function eCe(e) {
- let t = qJ(e);
+ BJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+}
+function tCe(e) {
+ let t = JJ(e);
return (n) => {
- t && WJ(e, void 0, JJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && GJ(e, void 0, YJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var XJ = {
+var ZJ = {
getInitialState(e) {
return {
- sorting: XSe(),
+ sorting: ZSe(),
...e
};
},
@@ -60116,58 +60131,58 @@ var XJ = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: Tq("sorting", e),
+ onSortingChange: Eq("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- Pq("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => VJ(e) },
- column_getAutoSortDir: { fn: (e) => HJ(e) },
- column_getSortFn: { fn: (e) => UJ(e) },
- column_toggleSorting: { fn: (e, t, n) => WJ(e, t, n) },
- column_getFirstSortDir: { fn: (e) => GJ(e) },
- column_getNextSortingOrder: { fn: (e, t) => KJ(e, t) },
- column_getCanSort: { fn: (e) => qJ(e) },
- column_getCanMultiSort: { fn: (e) => JJ(e) },
- column_getIsSorted: { fn: (e) => YJ(e) },
- column_getSortIndex: { fn: (e) => QSe(e) },
- column_clearSorting: { fn: (e) => $Se(e) },
- column_getToggleSortingHandler: { fn: (e) => eCe(e) }
+ Fq("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => HJ(e) },
+ column_getAutoSortDir: { fn: (e) => UJ(e) },
+ column_getSortFn: { fn: (e) => WJ(e) },
+ column_toggleSorting: { fn: (e, t, n) => GJ(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => KJ(e) },
+ column_getNextSortingOrder: { fn: (e, t) => qJ(e, t) },
+ column_getCanSort: { fn: (e) => JJ(e) },
+ column_getCanMultiSort: { fn: (e) => YJ(e) },
+ column_getIsSorted: { fn: (e) => XJ(e) },
+ column_getSortIndex: { fn: (e) => $Se(e) },
+ column_clearSorting: { fn: (e) => eCe(e) },
+ column_getToggleSortingHandler: { fn: (e) => tCe(e) }
});
},
constructTableAPIs(e) {
- Nq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => ZSe(e) },
- table_setSorting: { fn: (t) => zJ(e, t) },
- table_resetSorting: { fn: (t) => BJ(e, t) }
+ Pq("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => QSe(e) },
+ table_setSorting: { fn: (t) => BJ(e, t) },
+ table_resetSorting: { fn: (t) => VJ(e, t) }
});
}
-}, tCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
-function ZJ(e, t) {
+}, nCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
+function QJ(e, t) {
let [{ table: n, rootSource: r }] = (0, F.useState)(() => {
- let t = hSe({
+ let t = gSe({
...e,
features: {
- coreReactivityFeature: Jbe(),
+ coreReactivityFeature: Ybe(),
...e.features
}
});
- return t.Subscribe = ((e) => Wbe({
+ return t.Subscribe = ((e) => Gbe({
...e,
source: e.source ?? t.store
- })), t.FlexRender = Nbe, {
+ })), t.FlexRender = Pbe, {
table: t,
- rootSource: qbe(t.store, gq)
+ rootSource: Jbe(t.store, _q)
};
}), i = n;
- Xq(i, (t) => ({
+ Zq(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = yq(r, t, { compare: gq });
- return tCe(() => {
- r.markCommitted(o), Yq(i, a ?? null, gq);
+ let a = i.options.state, o = r.get(), s = bq(r, t, { compare: _q });
+ return nCe(() => {
+ r.markCommitted(o), Xq(i, a ?? null, _q);
}), (0, F.useMemo)(() => ({
...n,
options: e,
@@ -60179,18 +60194,18 @@ function ZJ(e, t) {
]);
}
// src/react/boardui/components/base/table/table.tsx
-function QJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function $J({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
- className: JI("w-full overflow-x-auto", n),
+ className: YI("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, I.jsx)(zme, {
ref: r,
...i,
- className: JI("bui-table", e === "sm" && "bui-table-sm", t)
+ className: YI("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility.v1", nCe = {
+var eY = "peach.catalog-column-widths.v1", tY = "peach.catalog-column-visibility.v1", rCe = {
select: {
width: 48,
min: 48,
@@ -60256,13 +60271,13 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility
min: 144,
max: 560
}
-}, rCe = {
+}, iCe = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
-}, iCe = {
+}, aCe = {
select: "选择",
name: "作品",
dur: "时长",
@@ -60276,7 +60291,7 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility
release: "发行时间",
code: "番号",
tags: "标签"
-}, tY = [
+}, nY = [
"select",
"name",
"tags",
@@ -60292,13 +60307,13 @@ var $J = "peach.catalog-column-widths.v1", eY = "peach.catalog-column-visibility
"release"
].map((e) => ({
id: e,
- label: iCe[e],
- ...nCe[e],
+ label: aCe[e],
+ ...rCe[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: rCe[e] !== !1
+ visible: iCe[e] !== !1
}));
-function nY(e) {
+function rY(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60306,9 +60321,9 @@ function nY(e) {
return {};
}
}
-function aCe() {
- let e = nY($J), t = nY(eY);
- return tY.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
+function oCe() {
+ let e = rY(eY), t = rY(tY);
+ return nY.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);
return {
id: t.id,
@@ -60319,37 +60334,37 @@ function aCe() {
});
}
// src/react/library-processing/completion-row.ts
-var rY = "peach.catalog.completion-row";
-function iY() {
+var iY = "peach.catalog.completion-row";
+function aY() {
try {
- return localStorage.getItem(rY) === "1";
+ return localStorage.getItem(iY) === "1";
} catch {
return !1;
}
}
-function oCe(e) {
+function sCe(e) {
try {
- e ? localStorage.setItem(rY, "1") : localStorage.removeItem(rY);
+ e ? localStorage.setItem(iY, "1") : localStorage.removeItem(iY);
} catch {}
}
-var sCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var cCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
-function aY(e) {
+function oY(e) {
return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";
}
-function cCe(e) {
- let t = aCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${aY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (iY() ? sCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;
+function lCe(e) {
+ let t = oCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${oY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (aY() ? cCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;
}
-function oY(e, t) {
- return yG() === "list" ? cCe(e) : tc(e, {
+function sY(e, t) {
+ return bG() === "list" ? lCe(e) : tc(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
});
}
// src/react/components/data-table-frame.tsx
-function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
+function cY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let e = i.current?.querySelector(".overflow-x-auto") ?? null;
@@ -60363,7 +60378,7 @@ function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && fK(e, r) && n(r.dataset.key);
+ r && pK(e, r) && n(r.dataset.key);
} : void 0,
children: r ? /* @__PURE__ */ (0, I.jsx)(Lme, {
className: "relative min-w-0",
@@ -60374,8 +60389,8 @@ function sY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
});
}
// src/react/components/select.tsx
-function cY({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, I.jsx)(nW, {
+function lY({ prefix: e, renderValue: t, size: n, ...r }) {
+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(rW, {
...r,
size: n,
renderValue: t
@@ -60385,14 +60400,14 @@ function cY({ prefix: e, renderValue: t, size: n, ...r }) {
className: `shrink-0 text-text-tertiary ${i}`,
children: e
}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });
- return /* @__PURE__ */ (0, I.jsx)(nW, {
+ return /* @__PURE__ */ (0, I.jsx)(rW, {
...r,
size: n,
renderValue: a
});
}
// src/react/components/table-pagination.tsx
-function lY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function uY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {
"aria-label": r,
"data-pagination-layout": "",
@@ -60431,11 +60446,11 @@ function lY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
});
}
// src/react/components/table-controls.tsx
-function uY({ label: e, options: t, sorting: n, onChange: r }) {
+function dY({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsxs)(cY, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(lY, {
"aria-label": `${e}排序`,
prefix: "排序",
selectedKey: i?.id ?? "default",
@@ -60445,10 +60460,10 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, I.jsx)(rW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(iW, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
id: e.id,
children: e.label
}, e.id))]
@@ -60456,7 +60471,7 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: CG,
+ leadingIcon: wG,
"data-icon-state": i?.desc ? "b" : "a",
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
@@ -60468,7 +60483,7 @@ function uY({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
+function fY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
10,
20,
50,
@@ -60483,7 +60498,7 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(cY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(lY, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -60493,11 +60508,11 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
pageSize: Number(e)
});
},
- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
- }), /* @__PURE__ */ (0, I.jsx)(lY, {
+ }), /* @__PURE__ */ (0, I.jsx)(uY, {
label: `${e}分页`,
page: c + 1,
pages: s,
@@ -60510,7 +60525,7 @@ function dY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
});
}
// src/react/components/table-column-preferences.ts
-function fY(e) {
+function pY(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60518,17 +60533,17 @@ function fY(e) {
return {};
}
}
-function pY(e, t) {
+function mY(e, t) {
try {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function lCe(e, t) {
+function uCe(e, t) {
let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {
let r = e[t];
return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];
})), [r, i] = (0, F.useState)(() => {
- let r = fY(e);
+ let r = pY(e);
for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];
return n(r);
});
@@ -60545,7 +60560,7 @@ function lCe(e, t) {
...r,
...Object.fromEntries(t)
});
- i(a), pY(e, a);
+ i(a), mY(e, a);
},
reset: () => {
i(n({}));
@@ -60555,26 +60570,26 @@ function lCe(e, t) {
}
};
}
-function uCe(e, t, n, r = {}) {
+function dCe(e, t, n, r = {}) {
let i = (e) => ({
...r,
...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))
- }), [a, o] = (0, F.useState)(() => i(fY(e)));
+ }), [a, o] = (0, F.useState)(() => i(pY(e)));
return {
visibility: a,
change: (t) => {
let n = i(typeof t == "function" ? t(a) : t);
- o(n), pY(e, n);
+ o(n), mY(e, n);
}
};
}
-function mY(e, t, n) {
+function hY(e, t, n) {
let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {
width: e.width ?? 180,
min: e.min ?? 96,
max: e.max ?? (e.flex ? 2e3 : 800),
flex: e.flex
- }])), [t]), i = lCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = uCe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");
+ }])), [t]), i = uCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = dCe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");
return {
...i,
...a,
@@ -60593,15 +60608,15 @@ function mY(e, t, n) {
};
}
// src/react/catalog-grid/catalog-column-widths.ts
-function dCe() {
- return mY("catalog", tY, {
- widths: $J,
- visibility: eY
+function fCe() {
+ return hY("catalog", nY, {
+ widths: eY,
+ visibility: tY
});
}
// src/react/components/rating-stars.tsx
-var hY = wV("star");
-function gY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
+var gY = TV("star");
+function _Y({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
let i = Math.max(0, Math.min(5, e)), a = Math.round(i);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-stars": "",
@@ -60624,25 +60639,25 @@ function gY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
onClick: () => {
n || t(e);
},
- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(hY, {})
+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Rs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(gY, {})
}, e) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-rate": e,
"data-on": String(i >= e),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, I.jsx)(hY, {}), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(gY, {}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-fill": "",
style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },
- children: /* @__PURE__ */ (0, I.jsx)(hY, {})
+ children: /* @__PURE__ */ (0, I.jsx)(gY, {})
})]
})
}, e))
});
}
// src/react/catalog-grid/catalog-table-controls.tsx
-function fCe({ item: e, actions: t }) {
- let { rating: n } = e, r = EH(), i = (0, F.useRef)(0), a = wP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- xP(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {
+function pCe({ item: e, actions: t }) {
+ let { rating: n } = e, r = DH(), i = (0, F.useRef)(0), a = TP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ SP(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -60654,11 +60669,11 @@ function fCe({ item: e, actions: t }) {
role: "group",
"aria-label": o,
title: o,
- children: [/* @__PURE__ */ (0, I.jsx)(gY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(_Y, {
value: a,
onRate: c,
busyStar: r.busy ? Number(r.busy) : void 0
- }), r.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -60671,7 +60686,7 @@ function fCe({ item: e, actions: t }) {
}) : null]
});
}
-function _Y(e) {
+function vY(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -60686,11 +60701,11 @@ function _Y(e) {
});
}
// src/react/components/selection-actions.tsx
-function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
+function yY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
- className: JI("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
+ className: YI("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
size: "small",
@@ -60698,10 +60713,10 @@ function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
className: t === "inline" ? "shrink-0" : "w-full",
onClick: e.onPress,
children: e.label
- }, e.label) : /* @__PURE__ */ (0, I.jsx)(TH, {
+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(EH, {
size: "small",
href: e.href,
- trailingIcon: PB,
+ trailingIcon: FB,
className: t === "inline" ? "shrink-0" : "w-full",
disabled: e.disabled,
onClick: r,
@@ -60710,15 +60725,15 @@ function vY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
});
}
// src/react/components/selection-popover.tsx
-function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(vY, {
+function bY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(yY, {
actions: a,
layout: o,
onNavigate: () => u(!1)
}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {
"data-selection-options": "",
className: "flex min-w-0 flex-col gap-1",
- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(XV, {
+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(ZV, {
isSelected: e.selected,
className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",
isDisabled: e.disabled,
@@ -60738,14 +60753,14 @@ function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
"aria-label": t,
onClick: () => u(!0),
children: t
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Oz, {
triggerRef: c,
isOpen: l,
onOpenChange: u,
placement: "bottom end",
offset: 4,
- className: JI(UV, "w-max overscroll-contain"),
- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(kH, {
+ className: YI(WV, "w-max overscroll-contain"),
+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(AH, {
"aria-label": e,
"data-selection-placement": t ?? "bottom",
className: "flex w-max max-w-full flex-col gap-2 outline-none",
@@ -60754,13 +60769,13 @@ function yY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
})] });
}
// src/react/components/table-column-controls.tsx
-function bY({ preferences: e, label: t = "表格" }) {
+function xY({ preferences: e, label: t = "表格" }) {
let n = e.columns.filter((e) => !e.required);
return /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": `${t}列设置`,
className: "flex flex-none gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(yY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(bY, {
label: `${t}显示列`,
triggerLabel: "显示列",
actionLayout: "fullWidth",
@@ -60788,39 +60803,39 @@ function bY({ preferences: e, label: t = "表格" }) {
})]
});
}
-function xY({ preferences: e, id: t }) {
+function SY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Jme, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
-function SY(e, t) {
+function CY(e, t) {
let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;
return {
all: n.length > 0 && r === n.length,
some: r > 0 && r < n.length
};
}
-function CY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
- let { all: i, some: a } = SY(e, n);
- return /* @__PURE__ */ (0, I.jsx)(XV, {
+function wY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
+ let { all: i, some: a } = CY(e, n);
+ return /* @__PURE__ */ (0, I.jsx)(ZV, {
slot: null,
"aria-label": t,
isDisabled: r,
isSelected: i,
isIndeterminate: a,
onChange: () => {
- let t = !SY(e, n).all;
+ let t = !CY(e, n).all;
n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);
}
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var pCe = Qq({
- rowSortingFeature: XJ,
- rowSelectionFeature: LJ,
- rowPaginationFeature: gJ,
- columnVisibilityFeature: oJ
-}), mCe = [
+var mCe = $q({
+ rowSortingFeature: ZJ,
+ rowSelectionFeature: RJ,
+ rowPaginationFeature: _J,
+ columnVisibilityFeature: sJ
+}), hCe = [
{
id: "name",
label: "名称"
@@ -60857,12 +60872,12 @@ var pCe = Qq({
id: "played",
label: "观看时间"
}
-], wY = /* @__PURE__ */ new Map();
-function hCe(e) {
- let t = dCe(), n = dK(), r = _P(e.filters || {}, !1), [i] = (0, F.useState)(() => {
+], TY = /* @__PURE__ */ new Map();
+function gCe(e) {
+ let t = fCe(), n = fK(), r = vP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
let t = new URLSearchParams(r);
return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;
- }), [a, o] = (0, F.useState)(() => wY.get(i) || {
+ }), [a, o] = (0, F.useState)(() => TY.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -60870,7 +60885,7 @@ function hCe(e) {
}
}), { sorting: s, pagination: c } = a;
(0, F.useEffect)(() => {
- wY.set(i, a);
+ TY.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = Nt({
queryKey: [
@@ -60896,9 +60911,9 @@ function hCe(e) {
let i = new URLSearchParams(r);
return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), V(`/api/items?${i}`, t);
}
- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : nq(f, e.layout.javImage), [h] = (0, F.useState)(iY);
+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : rq(f, e.layout.javImage), [h] = (0, F.useState)(aY);
(0, F.useEffect)(() => {
- d.data && !d.isPlaceholderData && oCe(m.length > 0);
+ d.data && !d.isPlaceholderData && sCe(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -60930,19 +60945,19 @@ function hCe(e) {
p,
c.pageIndex
]);
- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = ZJ({
- features: pCe,
+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = QJ({
+ features: mCe,
columns: (0, F.useMemo)(() => {
- let t = Zq();
+ let t = Qq();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(CY, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(wY, {
table: e,
label: "全选本页作品",
disabled: d.isPlaceholderData
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(XV, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(ZV, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: d.isPlaceholderData,
@@ -60954,7 +60969,7 @@ function hCe(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(gCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(_Ce, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -61011,7 +61026,7 @@ function hCe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(fCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(pCe, {
item: t.original,
actions: e.actions
})
@@ -61032,13 +61047,13 @@ function hCe(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => _Y(e.original.last_played)
+ cell: ({ row: e }) => vY(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => _Y(e.original.first_seen)
+ cell: ({ row: e }) => vY(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -61098,9 +61113,9 @@ function hCe(e) {
"aria-label": "作品列表工具栏",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(bY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(uY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(xY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(dY, {
label: "作品列表",
- options: mCe,
+ options: hCe,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -61110,21 +61125,21 @@ function hCe(e) {
"data-completion-skeleton": "",
"aria-hidden": "true",
className: "skeleton-sheen"
- }) : null : /* @__PURE__ */ (0, I.jsx)(rq, {
+ }) : null : /* @__PURE__ */ (0, I.jsx)(iq, {
className: "",
assetIds: m
}),
- d.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ d.isError ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, I.jsx)(sY, {
+ /* @__PURE__ */ (0, I.jsx)(cY, {
follow: !0,
preferences: t,
onRowClick: e.selectMode ? (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
} : void 0,
- children: /* @__PURE__ */ (0, I.jsxs)(QJ, {
+ children: /* @__PURE__ */ (0, I.jsxs)($J, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -61135,48 +61150,48 @@ function hCe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, I.jsxs)(hB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(gB, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(gB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(_B, {
id: e.id,
isRowHeader: e.id === "name",
allowsSorting: e.column.getCanSort(),
...t.columnProps(e.id),
children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [iq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [aq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(BV, {})
+ children: /* @__PURE__ */ (0, I.jsx)(VV, {})
}) : null]
- }), /* @__PURE__ */ (0, I.jsx)(xY, {
+ }), /* @__PURE__ */ (0, I.jsx)(SY, {
preferences: t,
id: e.id
})] })
- }, e.id)), /* @__PURE__ */ (0, I.jsx)(gB, {
+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(_B, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
width: t.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, I.jsx)(yB, {
+ })] }), /* @__PURE__ */ (0, I.jsx)(bB, {
renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",
- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(SB, {
+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(CB, {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(wB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: aY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(wB, { "data-table-space": "" })]
- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(SB, {
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: oY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]
+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(CB, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,
"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(wB, { children: iq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(wB, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(TB, { children: aq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(TB, { "data-table-space": "" })]
}, e.id))
})]
})
}),
- d.data ? /* @__PURE__ */ (0, I.jsx)(dY, {
+ d.data ? /* @__PURE__ */ (0, I.jsx)(fY, {
label: "作品列表",
total: p,
pagination: c,
@@ -61187,10 +61202,10 @@ function hCe(e) {
]
});
}
-function gCe({ item: e, props: t, disabled: n }) {
+function _Ce({ item: e, props: t, disabled: n }) {
let r = Co(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";
- yL();
- let { avatar: l, who: u } = bK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = dK({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {
+ bL();
+ let { avatar: l, who: u } = xK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = fK({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
@@ -61215,7 +61230,7 @@ function gCe({ item: e, props: t, disabled: n }) {
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-picture": "",
children: [
- r.html ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ r.html ? /* @__PURE__ */ (0, I.jsx)(sW, {
artwork: r,
relayout: (e) => Sl(e, "small")
}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),
@@ -61270,7 +61285,7 @@ function gCe({ item: e, props: t, disabled: n }) {
children: [p?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-library": "",
title: `媒体库:${p.name}`,
- children: [/* @__PURE__ */ (0, I.jsx)(gU, { mark: p.icon }), p.name]
+ children: [/* @__PURE__ */ (0, I.jsx)(_U, { mark: p.icon }), p.name]
}) : null, u]
})]
})
@@ -61278,22 +61293,22 @@ function gCe({ item: e, props: t, disabled: n }) {
});
}
// src/react/catalog-grid/catalog-grid-page.tsx
-function TY(e) {
- let t = bG();
- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(vCe, { ...e });
- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${_P(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(hCe, { ...e }, n);
+function EY(e) {
+ let t = xG();
+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(yCe, { ...e });
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${vP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(gCe, { ...e }, n);
let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;
- return /* @__PURE__ */ (0, I.jsx)(yCe, { ...e }, r);
+ return /* @__PURE__ */ (0, I.jsx)(bCe, { ...e }, r);
}
-function _Ce({ name: e }) {
+function vCe({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function EY({ children: e, selectMode: t }) {
+function DY({ children: e, selectMode: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = n.current;
@@ -61309,8 +61324,8 @@ function EY({ children: e, selectMode: t }) {
children: e
});
}
-function vCe(e) {
- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(SK, {
+function yCe(e) {
+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(CK, {
item: i,
variant: r,
layout: e.layout,
@@ -61324,13 +61339,13 @@ function vCe(e) {
return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-next-row": "",
children: i
- }) : /* @__PURE__ */ (0, I.jsx)(EY, {
+ }) : /* @__PURE__ */ (0, I.jsx)(DY, {
selectMode: e.selectMode,
children: i
});
}
-function yCe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? bue(e) : yue(e), [s] = (0, F.useState)(() => e.wall ? vP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? vP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
+function bCe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? yue(e) : vue(e), [s] = (0, F.useState)(() => e.wall ? yP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? yP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -61356,7 +61371,7 @@ function yCe(e) {
u.isPlaceholderData,
e.revision
]);
- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Sue(u.data?.pages || [], {
+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => xue(u.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -61366,7 +61381,7 @@ function yCe(e) {
e.mix,
a,
r.javImage
- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || hbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && lbe(e.item) ? [e.item] : []), y = a ? [] : nq(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = bCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || gbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && ube(e.item) ? [e.item] : []), y = a ? [] : rq(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = xCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
(0, F.useLayoutEffect)(() => {
if (!u.data || u.isPlaceholderData) return;
let t = !0;
@@ -61394,12 +61409,12 @@ function yCe(e) {
let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {
let e = await u.fetchNextPage();
if (e.isFetchNextPageError) throw e.error;
- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(SCe, {
+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(CCe, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(SK, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(CK, {
item: i.item,
grouped: e.groupCollapse !== !1,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
@@ -61411,8 +61426,8 @@ function yCe(e) {
actions: n,
onOpen: a ? w : C
}, i.item.id), O = () => {
- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(wbe, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${_P(e.filters || {}, !!e.excludeVertical)}`,
+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Tbe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${vP(e.filters || {}, !!e.excludeVertical)}`,
items: v,
finite: g,
hasMore: !!u.hasNextPage,
@@ -61420,7 +61435,7 @@ function yCe(e) {
loading: u.isPending || !u.data && u.isFetching,
error: !u.data && !u.isPending ? yn(u.error) : "",
retry: () => void u.refetch(),
- emptyHtml: u.data && !v.length ? Dbe({
+ emptyHtml: u.data && !v.length ? Obe({
libraryEmpty: !!u.data.pages[0]?.libraryEmpty,
matches: h,
hasMore: !!u.hasNextPage,
@@ -61435,7 +61450,7 @@ function yCe(e) {
javImage: r.javImage
}, g ? "finite" : "explore");
if (u.isPending) return null;
- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(ZG, {
+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(u.error),
onRetry: () => void u.refetch()
});
@@ -61452,12 +61467,12 @@ function yCe(e) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Tue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(EY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(xCe, {
+ children: wue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(DY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(SCe, {
cut: t.strip,
props: e,
onOpen: T
}) : null] }, t.start))
- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(DY, {
+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(OY, {
entity: i,
load: E,
enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1
@@ -61467,14 +61482,14 @@ function yCe(e) {
ref: b,
"data-media-body": "",
"aria-busy": u.isFetching && !u.isFetchingNextPage,
- children: [/* @__PURE__ */ (0, I.jsx)(rq, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(QG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(iq, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)($G, {
pending: u.isPending,
skeletonHtml: e.skeletonHtml,
children: O()
})]
});
}
-function DY({ entity: e, load: t, enabled: n, children: r }) {
+function OY({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({
busy: !1,
error: ""
@@ -61516,7 +61531,7 @@ function DY({ entity: e, load: t, enabled: n, children: r }) {
if (!e) return;
let t = new IntersectionObserver((e) => {
e.some((e) => e.isIntersecting) && d(!1);
- }, { rootMargin: XG });
+ }, { rootMargin: ZG });
return a.current = t, t.observe(e), () => {
t.disconnect(), a.current = null;
};
@@ -61539,18 +61554,18 @@ function DY({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!c.error,
onClick: () => void d(!0),
dangerouslySetInnerHTML: { __html: Bs(zs) }
- }), c.error ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: c.error,
onRetry: () => void d(!0)
}) : null] });
}
-function bCe(e, t, n, r, i) {
- let a = ["catalog-short-layout", _P(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
+function xCe(e, t, n, r, i) {
+ let a = ["catalog-short-layout", vP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
let t = e.restoreNavigation ? U.getQueryData(a) : void 0, n = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
};
- return t && yP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
+ return t && bP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
stamp: o,
cuts: t?.cuts || [],
offset: t?.offset || 0,
@@ -61576,7 +61591,7 @@ function bCe(e, t, n, r, i) {
let r = new AbortController();
p.controllers.push(r);
let i = n - 1;
- V(`/api/items?${wue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
+ V(`/api/items?${Cue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
if (c.current !== p || r.signal.aborted) return;
let t = e.items || [];
t.length ? f({
@@ -61590,9 +61605,9 @@ function bCe(e, t, n, r, i) {
}, [t, p]), (0, F.useLayoutEffect)(() => {
if (!d || d.stamp !== o) return;
f(null);
- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Cue(n.length - t, h, l);
+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Sue(n.length - t, h, l);
if (!g.length) return;
- let _ = yP(d.items, p.groups, e.groupCollapse !== !1);
+ let _ = bP(d.items, p.groups, e.groupCollapse !== !1);
if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;
let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {
at: v,
@@ -61609,7 +61624,7 @@ function bCe(e, t, n, r, i) {
});
}, [d]), m;
}
-function xCe({ cut: e, props: t, onOpen: n }) {
+function SCe({ cut: e, props: t, onOpen: n }) {
let r = (0, F.useRef)(null), { wireDrag: i } = t;
return (0, F.useEffect)(() => {
r.current && i(r.current);
@@ -61625,12 +61640,12 @@ function xCe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, I.jsx)(_Ce, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(vCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(SK, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(CK, {
item: e,
variant: "short",
layout: t.layout,
@@ -61645,17 +61660,17 @@ function xCe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function OY(e, t, n) {
+function kY(e, t, n) {
return wo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function SCe({ seed: e, layout: t, helpers: n, actions: r }) {
+function CCe({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);
a.current = t;
let o = Ao(e, n.tagLabel), s = (0, F.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => bP(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), OY(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = OY(e, t, !1);
- return /* @__PURE__ */ (0, I.jsx)(EK, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => xP(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), kY(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = kY(e, t, !1);
+ return /* @__PURE__ */ (0, I.jsx)(DK, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -61665,12 +61680,12 @@ function SCe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : OY(e, {
+ artworkIdentity: c === "small" ? l.html : kY(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Sl(e, c),
- ratio: yK(e, "grid", t),
+ ratio: bK(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -61681,37 +61696,37 @@ function SCe({ seed: e, layout: t, helpers: n, actions: r }) {
});
}
// src/react/media-sources.ts
-async function kY(e) {
+async function AY(e) {
await U.fetchQuery({
queryKey: _r,
queryFn: () => vr(e)
});
}
-var CCe = (e) => (e?.sources ?? []).filter((e) => gn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), wCe = "/api/duplicates?limit=120", AY = ["duplicates"], jY = "/api/batch", MY = (e) => V(wCe, e), TCe = /[\s\-_.()[\]【】/\\]/;
-function ECe(e) {
+var wCe = (e) => (e?.sources ?? []).filter((e) => gn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), TCe = "/api/duplicates?limit=120", jY = ["duplicates"], MY = "/api/batch", NY = (e) => V(TCe, e), ECe = /[\s\-_.()[\]【】/\\]/;
+function DCe(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !TCe.test(n[r - 1]);) --r;
+ for (; r > 0 && !ECe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var DCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function OCe(e) {
+var OCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function kCe(e) {
await Promise.all([U.fetchQuery({
- queryKey: AY,
- queryFn: () => MY(e)
- }), kY(e)]);
+ queryKey: jY,
+ queryFn: () => NY(e)
+ }), AY(e)]);
}
-var kCe = {
+var ACe = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, ACe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), NY = (e, t) => ACe(e, t).filter((t) => e.some((e) => e.location !== t)), jCe = (e, t) => t.filter((t) => e.some((e) => NY(e.files, [t]).length));
-function MCe(e, t) {
+}, jCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), PY = (e, t) => jCe(e, t).filter((t) => e.some((e) => e.location !== t)), MCe = (e, t) => t.filter((t) => e.some((e) => PY(e.files, [t]).length));
+function NCe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -61730,19 +61745,19 @@ function MCe(e, t) {
}
return n;
}
-function NCe(e, t) {
+function PCe(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function PCe(e, t) {
- for (let n = 0; n < e.length; n += 200) await H(jY, {
+async function FCe(e, t) {
+ for (let n = 0; n < e.length; n += 200) await H(MY, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
});
}
// src/react/media-repair/media-repair.ts
-var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "libraries"], FCe = {
+var FY = "/api/media-repair", IY = ["media-repair"], LY = ["media-repair", "libraries"], ICe = {
status: "idle",
library: "",
stage: "",
@@ -61754,39 +61769,39 @@ var PY = "/api/media-repair", FY = ["media-repair"], IY = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, LY = (e) => V(PY, e), RY = async (e) => (await V("/api/libraries", e)).libraries || [];
-async function ICe(e) {
+}, RY = (e) => V(FY, e), zY = async (e) => (await V("/api/libraries", e)).libraries || [];
+async function LCe(e) {
await Promise.all([U.fetchQuery({
- queryKey: FY,
- queryFn: () => LY(e)
- }), U.fetchQuery({
queryKey: IY,
queryFn: () => RY(e)
+ }), U.fetchQuery({
+ queryKey: LY,
+ queryFn: () => zY(e)
})]);
}
-var zY = (e) => Number(e).toLocaleString();
-function LCe(e) {
+var BY = (e) => Number(e).toLocaleString();
+function RCe(e) {
if (e.status === "running") {
- let t = e.total ? `${zY(Math.min(e.checked || 0, e.total))} / ${zY(e.total)}` : "准备中";
+ let t = e.total ? `${BY(Math.min(e.checked || 0, e.total))} / ${BY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${zY(e.repaired)} 部,${zY(e.failed)} 部修不了` : `修好 ${zY(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${BY(e.repaired)} 部,${BY(e.failed)} 部修不了` : `修好 ${BY(e.repaired)} 部` : "";
}
-var RCe = (e) => `${zY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, zCe = "/api/quality-goals?limit=200", BY = ["quality-goals"], VY = (e) => V(zCe, e);
-async function BCe(e) {
+var zCe = (e) => `${BY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, BCe = "/api/quality-goals?limit=200", VY = ["quality-goals"], HY = (e) => V(BCe, e);
+async function VCe(e) {
await U.fetchQuery({
- queryKey: BY,
- queryFn: () => VY(e)
+ queryKey: VY,
+ queryFn: () => HY(e)
});
}
-var VCe = (e) => e.has_cover ? so(e) : `/poster?id=${e.id}&c=4`;
+var HCe = (e) => e.has_cover ? so(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
-function HY(e, t, n, r, i, a = i || !e.has(r)) {
+function UY(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
// src/react/review/review.ts
-var HCe = "/api/review", UCe = "/api/review/decision", WCe = "/api/review/genre", UY = ["review"], WY = {
+var UCe = "/api/review", WCe = "/api/review/decision", GCe = "/api/review/genre", WY = ["review"], GY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -61796,40 +61811,40 @@ var HCe = "/api/review", UCe = "/api/review/decision", WCe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, GCe = Object.keys(WY), KCe = "metadata_fields", GY = (e) => typeof e == "string" && Object.hasOwn(WY, e), qCe = {
+}, KCe = Object.keys(GY), qCe = "metadata_fields", KY = (e) => typeof e == "string" && Object.hasOwn(GY, e), JCe = {
creator_tags: "creator",
western_identity: "creator"
-}, KY = [
+}, qY = [
"pending",
"later",
"ignored"
-], qY = {
+], JY = {
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
-}, JCe = {
+}, YCe = {
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
-}, JY = (e) => e === "later" || e === "ignored" ? e : "pending", YY = (e, t) => t === "pending" ? {
+}, YY = (e) => e === "later" || e === "ignored" ? e : "pending", XY = (e, t) => t === "pending" ? {
sections: e.sections,
counts: e.counts
} : e.queues[t];
-function YCe(e, t) {
+function XCe(e, t) {
return {
...e,
- ...t(YY(e, "pending")),
+ ...t(XY(e, "pending")),
queues: {
later: t(e.queues.later),
ignored: t(e.queues.ignored)
}
};
}
-function XCe(e, t) {
+function ZCe(e, t) {
let n = [["candidates", t ? "按来源数量" : "不分组"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function XY(e, t) {
+function ZY(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -61846,10 +61861,10 @@ function XY(e, t) {
}
return [...n.values()];
}
-function ZCe(e, t, n) {
- return n && XY(e, t).find((e) => e.key === n)?.rows || e;
+function QCe(e, t, n) {
+ return n && ZY(e, t).find((e) => e.key === n)?.rows || e;
}
-function QCe(e, t) {
+function $Ce(e, t) {
let n = mr(e.length, 20), r = hr(t, n);
return {
page: r,
@@ -61857,32 +61872,32 @@ function QCe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function $Ce(e) {
+function ewe(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function ewe(e, t, n, r, i, a) {
- return HY(e, t, n, r, i, a);
+function twe(e, t, n, r, i, a) {
+ return UY(e, t, n, r, i, a);
}
-function twe(e, t) {
+function nwe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function ZY(e, t) {
+function QY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var QY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function nwe(e, t) {
- let n = ZY(e, t), r = QY(e, t);
+var $Y = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function rwe(e, t) {
+ let n = QY(e, t), r = $Y(e, t);
return r ? `${n} · ${r}` : n;
}
-var rwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", iwe = (e) => String(e.tags || "").split("|").filter(Boolean), awe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function owe(e) {
+var iwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", awe = (e) => String(e.tags || "").split("|").filter(Boolean), owe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function swe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function swe(e, t, n, r) {
+function cwe(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -61898,22 +61913,22 @@ function swe(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var cwe = (e) => ({
+var lwe = (e) => ({
approved: "已通过资料",
rejected: "已忽略资料",
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
-async function $Y(e) {
- let t = await V(HCe, e);
- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${qY[e]}状态未取得,请刷新或更新写入端`);
+async function eX(e) {
+ let t = await V(UCe, e);
+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${JY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
-async function lwe(e) {
- let t = await H(UCe, e);
+async function uwe(e) {
+ let t = await H(WCe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- U.setQueryData(UY, (t) => t && YCe(t, (t) => ({
+ U.setQueryData(WY, (t) => t && XCe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -61929,33 +61944,33 @@ async function lwe(e) {
}
return t;
}
-function uwe(e, t) {
- let n = U.getQueryData(UY);
- return n && KY.flatMap((t) => YY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
+function dwe(e, t) {
+ let n = U.getQueryData(WY);
+ return n && qY.flatMap((t) => XY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
-var dwe = (e, t) => H(WCe, {
+var fwe = (e, t) => H(GCe, {
genre: e,
tag: t
});
-async function fwe(e) {
+async function pwe(e) {
await U.fetchQuery({
- queryKey: UY,
- queryFn: () => $Y(e)
+ queryKey: WY,
+ queryFn: () => eX(e)
});
}
-function pwe(e, t, n) {
+function mwe(e, t, n) {
let r = new Set(t);
- r.size && U.setQueryData(UY, (t) => {
+ r.size && U.setQueryData(WY, (t) => {
if (!t) return t;
- let i = KY.flatMap((n) => YY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
+ let i = qY.flatMap((n) => XY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
if (!i.length) return t;
let a = {
skipped: "later",
rejected: "ignored",
restore: "pending",
approved: null
- }[n], o = Object.fromEntries(KY.map((o) => {
- let s = YY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
+ }[n], o = Object.fromEntries(qY.map((o) => {
+ let s = XY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
...e,
decision: n === "restore" ? "pending" : n,
decision_note: ""
@@ -61982,258 +61997,254 @@ function pwe(e, t, n) {
};
});
}
-var mwe = () => U.invalidateQueries({
- queryKey: UY,
+var hwe = () => U.invalidateQueries({
+ queryKey: WY,
exact: !0
});
-function hwe(e, t) {
+function gwe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${xr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var gwe = "/api/links", eX = "/api/links/check", tX = "/api/links/prune", nX = ["links"], rX = ["links", "check"], iX = ["links", "prune"], _we = {
+var _we = "/api/links", tX = "/api/links/check", nX = "/api/links/prune", rX = ["links"], iX = ["links", "check"], aX = ["links", "prune"], vwe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function aX(e) {
+async function oX(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var oX = (e) => V(gwe, e), sX = (e) => H(eX, { status_only: !0 }, "POST", e), vwe = ({ retry: e, checkId: t }) => aX(H(eX, e ? {
+var sX = (e) => V(_we, e), cX = (e) => H(tX, { status_only: !0 }, "POST", e), ywe = ({ retry: e, checkId: t }) => oX(H(tX, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), cX = (e) => V(tX, e), ywe = ({ checkId: e, ids: t }) => aX(H(tX, {
+} : { restart: !0 })), lX = (e) => V(nX, e), bwe = ({ checkId: e, ids: t }) => oX(H(nX, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), lX = (e) => Number(e || 0).toLocaleString(), bwe = (e) => `已删除 ${lX(e.removed)} 条;${e.marked ? `已隐退女优的 ${lX(e.marked)} 条留作不可点的记录;` : ""}保留 ${lX(e.recovered)} 条未确认失效的链接。`;
-function xwe(e) {
+})), uX = (e) => Number(e || 0).toLocaleString(), xwe = (e) => `已删除 ${uX(e.removed)} 条;${e.marked ? `已隐退女优的 ${uX(e.marked)} 条留作不可点的记录;` : ""}保留 ${uX(e.recovered)} 条未确认失效的链接。`;
+function Swe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${lX(e.checked)} / ${lX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${uX(e.checked)} / ${uX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var uX = "/api/configuration", dX = "/api/pick-folder", fX = "/api/settings", pX = "/api/follow/schedule", mX = "/api/feeds/schedule", hX = "/api/thumbnail-jobs", gX = ["settings"], _X = ["follow-schedule"], vX = ["feed-schedule"], yX = ["thumbnail-jobs"], bX = "/api/media-processing", Swe = ["media-processing"], Cwe = (e) => V(bX, e), xX = (e) => V(fX, e), wwe = (e) => V(pX, e), Twe = (e) => V(mX, e), Ewe = (e) => V(hX, e);
-function Dwe(e = U) {
+var dX = "/api/configuration", fX = "/api/pick-folder", pX = "/api/settings", mX = "/api/follow/schedule", hX = "/api/feeds/schedule", gX = "/api/thumbnail-jobs", _X = ["settings"], vX = ["follow-schedule"], yX = ["feed-schedule"], bX = ["thumbnail-jobs"], xX = "/api/media-processing", Cwe = ["media-processing"], wwe = (e) => V(xX, e), SX = (e) => V(pX, e), Twe = (e) => V(mX, e), Ewe = (e) => V(hX, e), Dwe = (e) => V(gX, e);
+function Owe(e = U) {
return e.fetchQuery({
- queryKey: gX,
- queryFn: ({ signal: e }) => xX(e),
+ queryKey: _X,
+ queryFn: ({ signal: e }) => SX(e),
staleTime: 0
}).catch(() => null);
}
-function SX() {
+function CX() {
return Pt({
- mutationFn: (e) => H(fX, e),
- onSuccess: (e) => U.setQueryData(gX, e)
+ mutationFn: (e) => H(pX, e),
+ onSuccess: (e) => U.setQueryData(_X, e)
});
}
-function Owe() {
+function kwe() {
return Pt({
- mutationFn: (e) => H(pX, {
+ mutationFn: (e) => H(mX, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => U.setQueryData(_X, e)
+ onSuccess: (e) => U.setQueryData(vX, e)
});
}
-var kwe = {
+var Awe = {
follow: {
- url: `${pX}/run`,
- key: _X
- },
- feed: {
url: `${mX}/run`,
key: vX
+ },
+ feed: {
+ url: `${hX}/run`,
+ key: yX
}
};
-function Awe(e) {
- let { url: t, key: n } = kwe[e];
+function jwe(e) {
+ let { url: t, key: n } = Awe[e];
return Pt({
mutationFn: () => H(t, {}),
onSuccess: (e) => U.setQueryData(n, e)
});
}
-var jwe = (e) => e?.running ? 3e3 : !1;
-function Mwe() {
+var Mwe = (e) => e?.running ? 3e3 : !1;
+function Nwe() {
return Pt({
- mutationFn: (e) => H(hX, { mode: e }),
- onSuccess: (e) => U.setQueryData(yX, e)
+ mutationFn: (e) => H(gX, { mode: e }),
+ onSuccess: (e) => U.setQueryData(bX, e)
});
}
// src/react/data-cleanup/organize.ts
-var Nwe = "/api/organize", Pwe = "/api/organize/preview", Fwe = "/api/organize/apply", Iwe = "/api/organize/rollback", CX = ["organize"], Lwe = "/api/organize/example", Rwe = (e, t, n) => V(`${Lwe}?${new URLSearchParams({
+var Pwe = "/api/organize", Fwe = "/api/organize/preview", Iwe = "/api/organize/apply", Lwe = "/api/organize/rollback", wX = ["organize"], Rwe = "/api/organize/example", zwe = (e, t, n) => V(`${Rwe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), wX = (e) => V(Nwe, e);
-async function zwe(e) {
+})}`, n), TX = (e) => V(Pwe, e);
+async function Bwe(e) {
await U.fetchQuery({
- queryKey: CX,
- queryFn: () => wX(e)
+ queryKey: wX,
+ queryFn: () => TX(e)
});
}
-var Bwe = (e) => H(Pwe, e), Vwe = (e) => H(dX, { initial: e }), Hwe = (e) => e.kind === "apply" ? H(Fwe, {
+var Vwe = (e) => H(Fwe, e), Hwe = (e) => H(fX, { initial: e }), Uwe = (e) => e.kind === "apply" ? H(Iwe, {
...e.request,
confirm: !0
-}) : H(Iwe, { confirm: !0 });
-async function Uwe(e) {
- U.setQueryData(CX, (t) => t && {
+}) : H(Lwe, { confirm: !0 });
+async function Wwe(e) {
+ U.setQueryData(wX, (t) => t && {
...t,
templates: e
});
try {
- await H(fX, { organizeTemplates: e });
+ await H(pX, { organizeTemplates: e });
} catch {}
}
-var Wwe = (e, t) => e && {
+var Gwe = (e, t) => e && {
...e,
...t
-}, Gwe = /目录模板|分隔符|盘符|`\.`/;
-function Kwe(e) {
+}, Kwe = /目录模板|分隔符|盘符|`\.`/;
+function qwe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var TX = (e) => Number(e || 0).toLocaleString();
-function qwe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${TX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${TX(e.counts.change)} 个文件会改名或移动,${TX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
-}
+var EX = (e) => Number(e || 0).toLocaleString();
function Jwe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${EX(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${EX(e.counts.change)} 个文件会改名或移动,${EX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+}
+function Ywe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${TX(r)} 个文件${n ? `,${TX(n)} 行未能退回` : ""}。` : `已整理 ${TX(r)} 个文件${n ? `,${TX(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${EX(r)} 个文件${n ? `,${EX(n)} 行未能退回` : ""}。` : `已整理 ${EX(r)} 个文件${n ? `,${EX(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
// src/react/data-cleanup/orphan-records.ts
-var Ywe = "/api/orphan-records", Xwe = "/api/orphan-records/attach", EX = ["orphan-records"], Zwe = [
+var Xwe = "/api/orphan-records", Zwe = "/api/orphan-records/attach", DX = ["orphan-records"], Qwe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], DX = (e) => V(Ywe, e), Qwe = (e, t) => H(Xwe, {
+], OX = (e) => V(Xwe, e), $we = (e, t) => H(Zwe, {
id: e,
target: t
-}), $we = (e) => H(jY, {
+}), eTe = (e) => H(MY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), eTe = (e) => [
+}), tTe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], tTe = (e) => [...Zwe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...eTe(e)].filter(Boolean).join(" · "), nTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", rTe = (e) => [e.name, nTe(e.duration)].filter(Boolean).join(" · "), OX = "/api/resource-sync/scan", kX = "/api/resource-sync/apply", AX = ["resource-sync", "scan"], jX = ["resource-sync", "apply"], MX = (e) => H(OX, {
+], nTe = (e) => [...Qwe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...tTe(e)].filter(Boolean).join(" · "), rTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", iTe = (e) => [e.name, rTe(e.duration)].filter(Boolean).join(" · "), kX = "/api/resource-sync/scan", AX = "/api/resource-sync/apply", jX = ["resource-sync", "scan"], MX = ["resource-sync", "apply"], NX = (e) => H(kX, {
background: !0,
status_only: !0
-}, "POST", e), iTe = () => H(OX, {
+}, "POST", e), aTe = () => H(kX, {
background: !0,
restart: !0
-}), NX = (e) => V(kX, e), aTe = (e) => H(kX, {
+}), PX = (e) => V(AX, e), oTe = (e) => H(AX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), PX = (e) => (e?.sources ?? []).some((e) => hn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function oTe(e) {
- PX(U.getQueryData(_r)) && await Promise.all([U.fetchQuery({
- queryKey: AX,
- queryFn: () => MX(e)
- }), U.fetchQuery({
+}), FX = (e) => (e?.sources ?? []).some((e) => hn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function sTe(e) {
+ FX(U.getQueryData(_r)) && await Promise.all([U.fetchQuery({
queryKey: jX,
queryFn: () => NX(e)
+ }), U.fetchQuery({
+ queryKey: MX,
+ queryFn: () => PX(e)
})]);
}
-var sTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), FX = (e) => Number(e || 0).toLocaleString(), cTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", IX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), LX = (e) => e.vanish ? `${FX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", RX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", lTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录和 ${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。${RX(e)}${LX(e)}`, uTe = (e) => `将永久删除文件已不在盘上的 ${FX(IX(e))} 条记录(含回收站里的)、${FX(e.empty)} 个空文件夹,并清理 ${FX(e.cache?.files)} 个闲置缓存。来源根目录保留。${RX(e)}${LX(e)}`, dTe = (e) => e.online ? [
- `找不到文件 · 共 ${FX(e.total)} 项`,
- e.vanish ? `${FX(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${FX(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${FX(e.total)} 项`;
-function zX(e) {
+var cTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), IX = (e) => Number(e || 0).toLocaleString(), lTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", LX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), RX = (e) => e.vanish ? `${IX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", zX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", uTe = (e) => `将永久删除文件已不在盘上的 ${IX(LX(e))} 条记录和 ${IX(e.empty)} 个空文件夹,并清理 ${IX(e.cache?.files)} 个闲置缓存。${zX(e)}${RX(e)}`, dTe = (e) => `将永久删除文件已不在盘上的 ${IX(LX(e))} 条记录(含回收站里的)、${IX(e.empty)} 个空文件夹,并清理 ${IX(e.cache?.files)} 个闲置缓存。来源根目录保留。${zX(e)}${RX(e)}`, fTe = (e) => e.online ? [
+ `找不到文件 · 共 ${IX(e.total)} 项`,
+ e.vanish ? `${IX(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${IX(e.empty)} 个` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${IX(e.total)} 项`;
+function BX(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${FX(t.length)} 条记录没有删除(${o})` : "",
- n ? `${FX(n)} 个文件夹没有删除` : "",
- r.length ? `${FX(r.length)} 个缓存没有清理` : ""
+ t.length ? `${IX(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${IX(n)} 个文件夹没有删除` : "",
+ r.length ? `${IX(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var fTe = (e, t) => {
- let { rest: n } = zX(e), r = `已永久删除 ${FX(e.purged)} 条失效记录和 ${FX(e.dirs_removed)} 个空文件夹,清理 ${FX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${FX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${FX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var pTe = (e, t) => {
+ let { rest: n } = BX(e), r = `已永久删除 ${IX(e.purged)} 条失效记录和 ${IX(e.dirs_removed)} 个空文件夹,清理 ${IX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${IX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${IX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, BX = ["performer-delete-candidates"], VX = (e) => V("/api/performer/delete-candidates", e), pTe = (e, t) => V(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), mTe = (e) => H("/api/performer/delete", {
+}, VX = ["performer-delete-candidates"], HX = (e) => V("/api/performer/delete-candidates", e), mTe = (e, t) => V(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), hTe = (e) => H("/api/performer/delete", {
entity_ids: e.entity_ids,
plan: e.plan
-}), hTe = "/api/review?counts=1", HX = ["review", "counts"], gTe = "/api/ads?limit=1", UX = ["junk-summary"], WX = "/api/items?state=trash&limit=1", GX = ["trash-summary"], _Te = [
+}), gTe = "/api/review?counts=1", UX = ["review", "counts"], _Te = "/api/ads?limit=1", WX = ["junk-summary"], GX = "/api/items?state=trash&limit=1", KX = ["trash-summary"], vTe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], KX = (e) => V(hTe, e), qX = (e) => V(gTe, e), JX = (e) => {
+], qX = (e) => V(gTe, e), JX = (e) => V(_Te, e), YX = (e) => {
let t = sessionStorage.getItem("peach.library");
- return V(t ? `${WX}&library=${encodeURIComponent(t)}` : WX, e);
-}, YX = (e) => Number(e || 0).toLocaleString();
-function vTe(e) {
- let t = WY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return V(t ? `${GX}&library=${encodeURIComponent(t)}` : GX, e);
+}, XX = (e) => Number(e || 0).toLocaleString();
+function yTe(e) {
+ let t = GY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function yTe(e) {
+function bTe(e) {
if (!e) return "";
- let t = _Te.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${YX(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${YX(e.dismissed_total)}`), t.join(" · ");
+ let t = vTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${XX(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${XX(e.dismissed_total)}`), t.join(" · ");
}
-var bTe = [
- [HX, ({ signal: e }) => KX(e)],
- [BY, ({ signal: e }) => VY(e)],
- [GX, ({ signal: e }) => JX(e)],
+var xTe = [
[UX, ({ signal: e }) => qX(e)],
- [AY, ({ signal: e }) => MY(e)]
+ [VY, ({ signal: e }) => HY(e)],
+ [KX, ({ signal: e }) => YX(e)],
+ [WX, ({ signal: e }) => JX(e)],
+ [jY, ({ signal: e }) => NY(e)]
];
-async function xTe(e) {
- for (let [t, n] of bTe) U.prefetchQuery({
+async function STe(e) {
+ for (let [t, n] of xTe) U.prefetchQuery({
queryKey: t,
queryFn: () => n({ signal: e })
});
- await vH(e);
+ await yH(e);
}
-async function STe(e, t) {
+async function CTe(e, t) {
switch (e) {
case "organize":
- await zwe(t);
+ await Bwe(t);
break;
case "media-repair":
- await ICe(t);
+ await LCe(t);
break;
case "resource-sync":
- await kY(t), await oTe(t);
+ await AY(t), await sTe(t);
break;
case "orphan-records":
await U.prefetchQuery({
- queryKey: EX,
- queryFn: () => DX(t)
+ queryKey: DX,
+ queryFn: () => OX(t)
});
break;
case "batch-delete":
await U.prefetchQuery({
- queryKey: BX,
- queryFn: () => VX(t)
+ queryKey: VX,
+ queryFn: () => HX(t)
});
break;
case "links": await Promise.all([
- U.prefetchQuery({
- queryKey: nX,
- queryFn: () => oX(t)
- }),
U.prefetchQuery({
queryKey: rX,
queryFn: () => sX(t)
@@ -62241,13 +62252,17 @@ async function STe(e, t) {
U.prefetchQuery({
queryKey: iX,
queryFn: () => cX(t)
+ }),
+ U.prefetchQuery({
+ queryKey: aX,
+ queryFn: () => lX(t)
})
]);
}
}
// src/react/feed-new/feed-new.ts
-var XX = (e) => ["feed-new", e ?? "home"], CTe = 8, wTe = 1500;
-function TTe(e, t, n) {
+var ZX = (e) => ["feed-new", e ?? "home"], wTe = 8, TTe = 1500;
+function ETe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -62258,33 +62273,33 @@ function TTe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function ETe(e, t, n) {
- let r = new URLSearchParams({ limit: String(pM().value.feedLimit) });
+async function DTe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(mM().value.feedLimit) });
e && r.set("entity", String(e));
let i = await Cn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await TTe(s, CTe, wTe), {
+ return n && o.length && await ETe(s, wTe, TTe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var ZX = (e, t, n = !1) => ({
- queryKey: XX(e),
- queryFn: () => ETe(e, t, n),
+var QX = (e, t, n = !1) => ({
+ queryKey: ZX(e),
+ queryFn: () => DTe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), QX = (e, t) => Cn("/api/feeds/discovery", {
+}), $X = (e, t) => Cn("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function DTe(e) {
- U.removeQueries({ queryKey: XX(null) }), await U.fetchQuery(ZX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function OTe(e) {
+ U.removeQueries({ queryKey: ZX(null) }), await U.fetchQuery(QX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
// src/react/entity-page/entity-page.ts
-var $X = [
+var eZ = [
"loc",
"creator",
"tag",
@@ -62298,52 +62313,52 @@ var $X = [
"browse",
"folder",
"folder_recursive"
-], eZ = {
+], tZ = {
media: "videos",
set: 0
-}, tZ = (e, t) => [
+}, nZ = (e, t) => [
"entity",
e,
t
-], OTe = (e, t, n, r) => [
+], kTe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], nZ = (e, t, n, r) => [
+], rZ = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], rZ = (e) => String(e || "").split(",").filter(Boolean), kTe = (e, t) => rZ(e).includes(t);
-function iZ(e, t, n, r, i = 0) {
+], iZ = (e) => String(e || "").split(",").filter(Boolean), ATe = (e, t) => iZ(e).includes(t);
+function aZ(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...rZ(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of $X) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...iZ(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
+ for (let t of eZ) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function aZ(e, t, n, r, i, a, o) {
- let s = iZ(e, t, n, r, i);
+async function oZ(e, t, n, r, i, a, o) {
+ let s = aZ(e, t, n, r, i);
return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Cn(`/api/items?${s}`, a ? { signal: a } : {});
}
-var oZ = (e) => {
+var sZ = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = iZ(e.kind, e.name, e.filters, t).toString();
+ }, n = aZ(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: OTe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => aZ(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: kTe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => oZ(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, sZ = (e, t) => ({
- queryKey: tZ(e, t),
+}, cZ = (e, t) => ({
+ queryKey: nZ(e, t),
queryFn: ({ signal: n }) => Cn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function ATe(e, t, n, r, i, a) {
+function jTe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -62352,10 +62367,10 @@ function ATe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var cZ = (e, t, n, r) => ({
- queryKey: nZ(e, t, n, r),
+var lZ = (e, t, n, r) => ({
+ queryKey: rZ(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Cn(ATe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Cn(jTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -62368,8 +62383,8 @@ var cZ = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), lZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function jTe(e) {
+}), uZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function MTe(e) {
let { kind: t, name: n } = e;
if (!e.restoreNavigation) for (let e of [
"entity",
@@ -62380,25 +62395,25 @@ async function jTe(e) {
t,
n
] });
- e.resolvedEntity?.id && U.setQueryData(tZ(t, n), e.resolvedEntity), await Promise.all([
- U.fetchQuery(sZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || U.removeQueries({ queryKey: XX(Number(t.id)) }), U.fetchQuery(ZX(Number(t.id), e.helpers.feedRowHtml, !0)))),
- U.fetchQuery(oZ(e)),
- U.fetchInfiniteQuery(cZ(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(cZ(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && U.setQueryData(nZ(t, n), e.resolvedEntity), await Promise.all([
+ U.fetchQuery(cZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || U.removeQueries({ queryKey: ZX(Number(t.id)) }), U.fetchQuery(QX(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ U.fetchQuery(sZ(e)),
+ U.fetchInfiniteQuery(lZ(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(lZ(t, n, e.media.set, "")) : null
]);
}
// src/identity-filter.ts
-var uZ = [
+var dZ = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], dZ = "mb-4 flex flex-wrap gap-2";
-function MTe(e) {
- let t = uZ.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${dZ}">${uZ.map(([e, n]) => Es({
+], fZ = "mb-4 flex flex-wrap gap-2";
+function NTe(e) {
+ let t = dZ.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${fZ}">${dZ.map(([e, n]) => Es({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -62406,45 +62421,45 @@ function MTe(e) {
})).join("")}</div></div>`;
}
// src/react/follow/online-vocab.ts
-var NTe = "/api/follow/authors", PTe = "/api/follow/tags", FTe = (e) => [
+var PTe = "/api/follow/authors", FTe = "/api/follow/tags", ITe = (e) => [
"follow",
"authors",
e
-], ITe = (e, t) => [
+], LTe = (e, t) => [
"follow",
"tags",
e,
t
];
-function LTe(e, t, n) {
+function RTe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${NTe}?${r}`;
+ return e && r.set("q", e), `${PTe}?${r}`;
}
-function RTe(e, t, n, r) {
+function zTe(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${PTe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${FTe}?${i}`;
}
-var zTe = (e, t, n, r) => V(LTe(e, t, n), r), BTe = (e, t, n, r, i) => V(RTe(e, t, n, r), i), VTe = "/api/index", fZ = {
+var BTe = (e, t, n, r) => V(RTe(e, t, n), r), VTe = (e, t, n, r, i) => V(zTe(e, t, n, r), i), HTe = "/api/index", pZ = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, HTe = {
+}, UTe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency",
series: "series"
-}, pZ = [
+}, mZ = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -62454,31 +62469,31 @@ var zTe = (e, t, n, r) => V(LTe(e, t, n), r), BTe = (e, t, n, r, i) => V(RTe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], mZ = [
+], hZ = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], hZ = {
+], gZ = {
people: 120,
tags: 100
-}, gZ = (e) => e !== "tags", _Z = (e) => e === "studios" || e === "agencies";
-function vZ(e) {
- if (e.kind === "creators" && e.category === "animation") return vZ({
+}, _Z = (e) => e !== "tags", vZ = (e) => e === "studios" || e === "agencies";
+function yZ(e) {
+ if (e.kind === "creators" && e.category === "animation") return yZ({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? mZ : pZ : e.kind === "performers" && t === "local" ? uZ : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? hZ : mZ : e.kind === "performers" && t === "local" ? dZ : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function yZ(e) {
+function bZ(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -62498,50 +62513,50 @@ function yZ(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var bZ = (e, t, n = "all") => [
+var xZ = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function xZ(e, t, n, r, i) {
+function SZ(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${VTe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${HTe}?${a}`;
}
-function SZ(e, t = hZ.tags) {
- let n = e.what === "people" || e.what === "online-authors" ? hZ.people : t, r = {
+function CZ(e, t = gZ.tags) {
+ let n = e.what === "people" || e.what === "online-authors" ? gZ.people : t, r = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...r,
- queryKey: bZ(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: t, signal: r }) => V(xZ(e.kind, e.q, e.category || "all", n, t), r)
+ queryKey: xZ(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: t, signal: r }) => V(SZ(e.kind, e.q, e.category || "all", n, t), r)
};
case "tags": return {
...r,
- queryKey: bZ("tags", e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => V(xZ("tags", e.q, e.category, n, t), r)
+ queryKey: xZ("tags", e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => V(SZ("tags", e.q, e.category, n, t), r)
};
case "online-authors": return {
...r,
- queryKey: FTe(e.q),
- queryFn: ({ pageParam: t, signal: r }) => zTe(e.q, n, t, r)
+ queryKey: ITe(e.q),
+ queryFn: ({ pageParam: t, signal: r }) => BTe(e.q, n, t, r)
};
case "online-tags": return {
...r,
- queryKey: ITe(e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => BTe(e.q, e.category, n, t, r)
+ queryKey: LTe(e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => VTe(e.q, e.category, n, t, r)
};
}
}
-async function UTe(e, t) {
- let n = SZ(yZ(vZ(e)));
+async function WTe(e, t) {
+ let n = CZ(bZ(yZ(e)));
await U.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -62553,20 +62568,20 @@ async function UTe(e, t) {
staleTime: Infinity
});
}
-var WTe = (e) => e ? e.pages.flatMap((e) => e.items) : [], GTe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, CZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", KTe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, qTe = {
+var GTe = (e) => e ? e.pages.flatMap((e) => e.items) : [], KTe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, wZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qTe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, JTe = {
numeric: !0,
sensitivity: "base"
};
-function wZ(e, t) {
+function TZ(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", qTe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", JTe))) {
let e = Qn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
// src/react/index/index-people.tsx
-function TZ({ html: e, face: t, company: n, big: r }) {
+function EZ({ html: e, face: t, company: n, big: r }) {
let i = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -62578,18 +62593,18 @@ function TZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var JTe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", YTe = wV("rss");
-function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var YTe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", XTe = TV("rss");
+function DZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: RH({
+ className: zH({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${JTe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${YTe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -62598,10 +62613,10 @@ function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, I.jsx)(aW, {
+ children: /* @__PURE__ */ (0, I.jsx)(oW, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, I.jsx)(YTe, {})
+ children: /* @__PURE__ */ (0, I.jsx)(XTe, {})
})
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -62617,9 +62632,9 @@ function EZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function DZ({ kind: e, items: t, layout: n, props: r }) {
- let i = _Z(e) || e === "series";
- yL();
+function OZ({ kind: e, items: t, layout: n, props: r }) {
+ let i = vZ(e) || e === "series";
+ bL();
let a = n === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
@@ -62627,16 +62642,16 @@ function DZ({ kind: e, items: t, layout: n, props: r }) {
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || HTe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, I.jsx)(EZ, {
+ let n = t.entity_kind || UTe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, I.jsx)(DZ, {
"data-k": t.k,
"data-kind": n,
name: en(n, t.k, t.entity_id),
- readout: `${KTe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${qTe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, I.jsx)(TZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(EZ, {
html: o.html,
face: o.face,
company: i,
@@ -62646,15 +62661,15 @@ function DZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function XTe({ items: e, layout: t, props: n }) {
- yL();
+function ZTe({ items: e, layout: t, props: n }) {
+ bL();
let r = t === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(EZ, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(DZ, {
"data-follow-author": e.key,
"data-kind": "performer",
name: en("creator", e.k, e.entity_id),
@@ -62663,7 +62678,7 @@ function XTe({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, I.jsx)(TZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(EZ, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -62672,8 +62687,8 @@ function XTe({ items: e, layout: t, props: n }) {
});
}
// src/board-tooltip.ts
-var OZ = (e) => e.replace(/\s+/g, " ").trim();
-function kZ(e) {
+var kZ = (e) => e.replace(/\s+/g, " ").trim();
+function AZ(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -62681,12 +62696,12 @@ function kZ(e) {
let t = document.createRange();
t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);
}
- return OZ(n);
+ return kZ(n);
}
-function AZ(e) {
+function jZ(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && kZ(e) && !jZ(e)) {
+ if (e.matches("a") && AZ(e) && !MZ(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -62699,7 +62714,7 @@ function AZ(e) {
let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));
return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);
}
-function jZ(e) {
+function MZ(e) {
if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;
let t = document.createRange();
t.selectNodeContents(e);
@@ -62710,19 +62725,19 @@ function jZ(e) {
}
return !1;
}
-function ZTe() {
+function QTe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {
- let n = AZ(t), r = e.getBoundingClientRect();
+ let n = jZ(t), r = e.getBoundingClientRect();
n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);
}, u = () => {
clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);
}, d = (a, o) => {
if (c() || !(a instanceof Element)) return;
let d = a.closest("[title]");
- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (kZ(d) !== OZ(n) || jZ(d)) && (i = setTimeout(() => {
- if (t !== d || !d.isConnected || !AZ(d)) return;
+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (AZ(d) !== kZ(n) || MZ(d)) && (i = setTimeout(() => {
+ if (t !== d || !d.isConnected || !jZ(d)) return;
(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;
let i = d.getAttribute("data-tooltip-copy-key");
i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));
@@ -62747,32 +62762,32 @@ function ZTe() {
e.key === "Escape" && !c() && u();
}), document.addEventListener("scroll", (n) => {
if (!t || !ls(n, t)) return;
- let r = AZ(t);
+ let r = jZ(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();
}, !0), window.addEventListener("resize", u);
}
// src/board-controls.ts
-function MZ(e) {
+function NZ(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var NZ = /* @__PURE__ */ new WeakSet();
-function QTe() {
- if (NZ.has(document)) return;
- NZ.add(document);
+var PZ = /* @__PURE__ */ new WeakSet();
+function $Te() {
+ if (PZ.has(document)) return;
+ PZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(MZ), eEe(e), $Te(e);
+ e.querySelectorAll("input[type=range]").forEach(NZ), tEe(e), eEe(e);
};
e(document), new MutationObserver((t) => {
- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && MZ(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && NZ(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && MZ(e.target);
- }), ZTe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && NZ(e.target);
+ }), QTe();
}
-function $Te(e) {
+function eEe(e) {
let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -62796,15 +62811,15 @@ function $Te(e) {
r.observe(e);
});
}
-var PZ = /* @__PURE__ */ new Map();
-function eEe(e) {
+var FZ = /* @__PURE__ */ new Map();
+function tEe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = PZ.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = FZ.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -62813,7 +62828,7 @@ function eEe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Bc(t, r, a, "x"), r = a, PZ.set(n, a);
+ Bc(t, r, a, "x"), r = a, FZ.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -62829,8 +62844,8 @@ function eEe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var FZ = "/vendor/swiper/14.4.0/", IZ = null, tEe = () => IZ ??= Promise.all([new Promise((e, t) => {
- let n = `${FZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var IZ = "/vendor/swiper/14.4.0/", LZ = null, nEe = () => LZ ??= Promise.all([new Promise((e, t) => {
+ let n = `${IZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -62844,11 +62859,11 @@ var FZ = "/vendor/swiper/14.4.0/", IZ = null, tEe = () => IZ ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${FZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${IZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw IZ = null, e;
+ throw LZ = null, e;
});
-function nEe(e, t, n) {
+function rEe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -62869,46 +62884,46 @@ function nEe(e, t, n) {
}
};
}
-var LZ = (e) => {
+var RZ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Jn(t)).replace(" ", "\xA0") : "大小未知";
-}, rEe = (e) => e.asset?.name || e.name || "未命名图片";
-function iEe(e, t) {
+}, iEe = (e) => e.asset?.name || e.name || "未命名图片";
+function aEe(e, t) {
let n = e.asset;
- if (n) return [er[n.location ?? ""] || n.location || "来源未知", LZ(n.size)].join(" · ");
+ if (n) return [er[n.location ?? ""] || n.location || "来源未知", RZ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? LZ(e.size) : ""
+ e.size ? RZ(e.size) : ""
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var RZ = null, zZ = null, aEe = 0;
-function oEe() {
- return zZ && RZ?.isConnected || (zZ?.unmount(), RZ = document.createElement("div"), RZ.className = "peach-react", RZ.dataset.photoLightboxHost = "", document.body.append(RZ), zZ = (0, Lt.createRoot)(RZ)), zZ;
+var zZ = null, BZ = null, oEe = 0;
+function sEe() {
+ return BZ && zZ?.isConnected || (BZ?.unmount(), zZ = document.createElement("div"), zZ.className = "peach-react", zZ.dataset.photoLightboxHost = "", document.body.append(zZ), BZ = (0, Lt.createRoot)(zZ)), BZ;
}
-async function BZ(e, t, n) {
+async function VZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await tEe();
+ r = await nEe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = oEe();
- (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(sEe, {
+ let i = sEe();
+ (0, It.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(cEe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++aEe)));
+ }, ++oEe)));
}
-function VZ() {
- zZ && (0, It.flushSync)(() => zZ.render(null));
+function HZ() {
+ BZ && (0, It.flushSync)(() => BZ.render(null));
}
-function sEe({ slides: e, index: t, Swiper: n, host: r }) {
+function cEe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({
at: t,
text: ""
@@ -62951,7 +62966,7 @@ function sEe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = nEe(e, a, b);
+ i(t, 0), h.current = rEe(e, a, b);
let m = el(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -62968,13 +62983,13 @@ function sEe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : VZ());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : HZ());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, F.useLayoutEffect)(() => {
- m.current && MZ(m.current);
+ m.current && NZ(m.current);
}, [y]);
let j = e[_], M = j.asset ?? null, ee = async (e) => {
if (!M || !r || e.getAttribute("aria-busy") === "true") return;
@@ -63005,18 +63020,18 @@ function sEe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), VZ();
+ e.preventDefault(), HZ();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && VZ();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && HZ();
},
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: VZ,
+ onClick: HZ,
dangerouslySetInnerHTML: { __html: z("x") }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -63152,10 +63167,10 @@ function sEe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: rEe(j)
+ children: iEe(j)
}, _), /* @__PURE__ */ (0, I.jsx)("span", {
"data-photo-detail-meta": "",
- children: iEe(j, x[_])
+ children: aEe(j, x[_])
})]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -63193,41 +63208,41 @@ function sEe({ slides: e, index: t, Swiper: n, host: r }) {
});
}
// src/react/entity-body/entity-body-page.tsx
-function cEe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(lEe, {
+function lEe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(uEe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(uEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(pEe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(dEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(mEe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var HZ = hZ.people;
-function lEe({ roster: e, props: t }) {
+var UZ = gZ.people;
+function uEe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, F.useState)(HZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
- o((e) => e + HZ);
+ }), [n, r]), [a, o] = (0, F.useState)(UZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
+ o((e) => e + UZ);
}, []);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(DZ, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(OZ, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(DY, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(OY, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function uEe(e) {
+function dEe(e) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-grid": "",
- children: /* @__PURE__ */ (0, I.jsx)(QG, {
+ children: /* @__PURE__ */ (0, I.jsx)($G, {
pending: !e.items,
skeletonHtml: e.skeletonHtml,
- children: e.items ? /* @__PURE__ */ (0, I.jsx)(TY, {
+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(EY, {
mode: "entity",
entityKey: e.listScope || `${e.kind}:${e.name}`,
revision: e.revision,
@@ -63249,33 +63264,33 @@ function uEe(e) {
})
});
}
-var dEe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var fEe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), UZ = (e) => e.sample === !0, WZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GZ = (e) => UZ(e) ? `/sample-thumb?${WZ(e)}` : `/photo-thumb?id=${e.id}`, fEe = (e) => UZ(e) ? {
- src: `/sample-image?${WZ(e)}`,
- thumb: GZ(e),
+})), WZ = (e) => e.sample === !0, GZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, KZ = (e) => WZ(e) ? `/sample-thumb?${GZ(e)}` : `/photo-thumb?id=${e.id}`, pEe = (e) => WZ(e) ? {
+ src: `/sample-image?${GZ(e)}`,
+ thumb: KZ(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: GZ(e),
+ thumb: KZ(e),
name: e.name || "",
asset: e
};
-function pEe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(dEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
+function mEe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(fEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, F.useCallback)((e) => {
- BZ(e, o.map(fEe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(mEe, {
+ VZ(e, o.map(pEe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(hEe, {
item: e,
index: t,
lost: s.has(t),
@@ -63293,7 +63308,7 @@ function pEe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(KZ, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(qZ, {
label: e.code,
title: e.name,
meta: [
@@ -63305,7 +63320,7 @@ function pEe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(KZ, {
+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(qZ, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -63314,14 +63329,14 @@ function pEe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, I.jsx)(DY, {
+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(OY, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function KZ({ label: e, title: t, meta: n }) {
+function qZ({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -63338,7 +63353,7 @@ function KZ({ label: e, title: t, meta: n }) {
]
});
}
-function mEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function hEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -63347,7 +63362,7 @@ function mEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {
- src: GZ(e),
+ src: KZ(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -63357,9 +63372,9 @@ function mEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
});
}
// src/react/background-job.ts
-var hEe = 2e3, gEe = (e) => e, _Ee = (e, t) => t;
-function qZ(e) {
- let { queryKey: t, jobOf: n = gEe, withJob: r = _Ee, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
+var gEe = 2e3, _Ee = (e) => e, vEe = (e, t) => t;
+function JZ(e) {
+ let { queryKey: t, jobOf: n = _Ee, withJob: r = vEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
(0, F.useEffect)(() => {
l.current = e;
});
@@ -63368,7 +63383,7 @@ function qZ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? hEe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? gEe : i ?? !1;
}
}), d = Pt({
mutationFn: (e) => l.current.start(e),
@@ -63392,13 +63407,13 @@ function qZ(e) {
};
}
// src/react/follow-feed/follow-check.ts
-var JZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function vEe(e, t) {
- return t ? JZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
+var YZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
+function yEe(e, t) {
+ return t ? YZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
// src/react/follow-feed/follow-check-button.tsx
-function yEe({ sources: e, report: t }) {
- let n = JZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = qZ({
+function bEe({ sources: e, report: t }) {
+ let n = YZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = JZ({
queryKey: Lr,
queryFn: ({ signal: e }) => gi(e),
start: (e) => yi(e),
@@ -63412,20 +63427,20 @@ function yEe({ sources: e, report: t }) {
children: [/* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
disabled: !n.length,
- ...EV(s),
+ ...DV(s),
onClick: () => {
n.length && !s && (i(""), o.mutate(n));
},
children: "检查更新"
- }), r ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }), r ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: r
}) : null]
});
}
// src/react/follow-feed/follow-card.tsx
-var bEe = (e) => Number(e) > 0;
-function YZ({ name: e, actions: t, children: n, ...r }) {
+var xEe = (e) => Number(e) > 0;
+function XZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...r,
href: Mn("creator", e),
@@ -63435,15 +63450,15 @@ function YZ({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var XZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var ZZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: DG(e) }
+ dangerouslySetInnerHTML: { __html: OG(e) }
});
-function xEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function SEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(XZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(ZZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -63462,8 +63477,8 @@ function xEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function SEe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ma(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => cye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ga(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = va({
+function CEe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ma(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => lye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ga(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = va({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -63471,7 +63486,7 @@ function SEe(e) {
limit: 9
}), S = (0, F.useRef)(x.faces);
S.current = x.faces;
- let C = CK({
+ let C = wK({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -63479,7 +63494,7 @@ function SEe(e) {
w.current = C.onPointerLeave;
let T = (0, F.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = MG(u, n, i), D = OG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = FG(u, i), j = PG(t, u), M = u.status === "saved", ee = (e) => {
+ }, []), E = NG(u, n, i), D = kG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = IG(u, i), j = FG(t, u), M = u.status === "saved", ee = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, N = (e, t) => {
e.stopPropagation(), t();
@@ -63494,7 +63509,7 @@ function SEe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: pK,
+ onMouseDown: mK,
onMouseEnter: C.onPointerEnter,
onMouseLeave: C.onPointerLeave,
children: [
@@ -63508,7 +63523,7 @@ function SEe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(xEe, {
+ p ? /* @__PURE__ */ (0, I.jsx)(SEe, {
src: p,
fallback: m,
width: _?.width,
@@ -63516,7 +63531,7 @@ function SEe(e) {
provider: O,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, I.jsx)(XZ, { provider: O }),
+ }, p) : /* @__PURE__ */ (0, I.jsx)(ZZ, { provider: O }),
x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-faces": "",
hidden: !C.faces.length,
@@ -63536,7 +63551,7 @@ function SEe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: DG(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: OG(u.provider, u.provider_label) }
}), j ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: j }
@@ -63549,7 +63564,7 @@ function SEe(e) {
},
dangerouslySetInnerHTML: { __html: z("check") }
}) : null,
- bEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ xEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-duration": "",
children: Kn(u.duration)
}) : null,
@@ -63621,7 +63636,7 @@ function SEe(e) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-meta": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(YZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(XZ, {
name: E.entityName,
actions: l,
"data-media-avatar": "",
@@ -63640,12 +63655,12 @@ function SEe(e) {
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: NG(t, u) + B(D) }
+ dangerouslySetInnerHTML: { __html: PG(t, u) + B(D) }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-byline": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(YZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(XZ, {
name: E.entityName,
actions: l,
"data-follow-author": "",
@@ -63658,8 +63673,8 @@ function SEe(e) {
}),
/* @__PURE__ */ (0, I.jsx)("time", {
dateTime: u.published_at || "",
- title: LG(u),
- children: sye(u)
+ title: RG(u),
+ children: cye(u)
}),
E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-credit": "",
@@ -63694,9 +63709,9 @@ function SEe(e) {
]
});
}
-var ZZ = (0, F.memo)(SEe);
+var QZ = (0, F.memo)(CEe);
// src/react/components/use-masonry-grid.ts
-function CEe(e, t) {
+function wEe(e, t) {
let n = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let t = n.current;
@@ -63731,37 +63746,37 @@ function CEe(e, t) {
}, [e, t]), n;
}
// src/react/follow-manage/manage-route.ts
-var QZ = [
+var $Z = [
["list", "关注列表"],
["add", "添加关注"],
["tags", "标签管理"]
-], $Z = QZ.map(([e]) => e);
-function eQ(e) {
+], eQ = $Z.map(([e]) => e);
+function tQ(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: $Z.find((e) => e === n) || "list",
+ tab: eQ.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function tQ(e) {
+function nQ(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");
}
-function nQ(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : tQ({
- tab: t || eQ(e).tab,
+function rQ(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : nQ({
+ tab: t || tQ(e).tab,
page: 1,
sort: "",
dir: ""
});
}
// src/react/follow-feed/follow-feed-page.tsx
-var rQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var iQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), wEe = wV("settings"), iQ = wV("chevron-down"), TEe = wV("history"), EEe = wV("arrow-up"), DEe = wV("arrow-down"), OEe = [[
+}), TEe = TV("settings"), aQ = TV("chevron-down"), EEe = TV("history"), DEe = TV("arrow-up"), OEe = TV("arrow-down"), kEe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -63770,7 +63785,7 @@ var rQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function kEe(e, t, n) {
+function AEe(e, t, n) {
return (0, F.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
@@ -63818,7 +63833,7 @@ function kEe(e, t, n) {
n
]);
}
-function AEe(e) {
+function jEe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Ft(ta(t, r)), o = Nt({
queryKey: na,
queryFn: ({ signal: e }) => ra(e)
@@ -63826,7 +63841,7 @@ function AEe(e) {
sources: s?.sources || [],
aliases: s?.author_aliases || [],
credentials: c
- }), [s, c]), u = kEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
+ }), [s, c]), u = AEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
(0, F.useEffect)(() => {
cm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });
}, [
@@ -63860,10 +63875,10 @@ function AEe(e) {
p,
i
]);
- let m = MEe(e, !!s);
+ let m = NEe(e, !!s);
if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, I.jsx)(aQ, {}), /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(oQ, {}), /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(a.error),
onRetry: () => void a.refetch()
})]
@@ -63876,7 +63891,7 @@ function AEe(e) {
author: u.author,
provider: u.provider
}, {
- authors: new Map([...u.authorSources].map(([e, t]) => [e, kG(t, l)])),
+ authors: new Map([...u.authorSources].map(([e, t]) => [e, AG(t, l)])),
providers: u.providers,
works: u.workNames
}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);
@@ -63885,7 +63900,7 @@ function AEe(e) {
ref: m.host,
"data-follow-progress": ""
}, m.generation),
- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
title: "检查结果",
children: m.report
@@ -63894,7 +63909,7 @@ function AEe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(aQ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
+ /* @__PURE__ */ (0, I.jsx)(oQ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
"data-follow-recheck": "",
"aria-label": "检查每个来源的更新",
@@ -63905,20 +63920,20 @@ function AEe(e) {
dangerouslySetInnerHTML: { __html: Rs("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, I.jsx)(NEe, {
+ /* @__PURE__ */ (0, I.jsx)(PEe, {
facets: u,
pressed: u.author,
context: l,
props: e,
onPick: (e) => h({ author: u.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(PEe, {
+ /* @__PURE__ */ (0, I.jsx)(FEe, {
rows: u.workRows,
pressed: t.work,
props: e,
onPick: (e) => h({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(FEe, {
+ /* @__PURE__ */ (0, I.jsx)(IEe, {
facets: u,
view: t,
total: _,
@@ -63926,7 +63941,7 @@ function AEe(e) {
props: e,
route: h
}),
- /* @__PURE__ */ (0, I.jsx)(IEe, {
+ /* @__PURE__ */ (0, I.jsx)(LEe, {
conditions: g,
onDrop: (e) => i.route(wa(t, e)),
onClear: () => h({
@@ -63938,8 +63953,8 @@ function AEe(e) {
durMax: 0
})
}),
- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(LEe, { count: u.broken.length }) : null,
- /* @__PURE__ */ (0, I.jsx)(REe, {
+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(REe, { count: u.broken.length }) : null,
+ /* @__PURE__ */ (0, I.jsx)(zEe, {
retryKey: a.dataUpdatedAt,
pending: d,
facets: u,
@@ -63962,14 +63977,14 @@ function AEe(e) {
"data-follow-pagination": "",
children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-page-action": "",
- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(DY, {
+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(OY, {
entity: !0,
enabled: () => !m.busyRef.current,
load: async () => {
await a.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, I.jsx)(iQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(jEe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(aQ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(MEe, {
busy: a.isFetchingNextPage,
error: a.isFetchNextPageError ? yn(a.error) : "",
load: () => {
@@ -63980,7 +63995,7 @@ function AEe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- leadingIcon: m.olderBusy ? void 0 : TEe,
+ leadingIcon: m.olderBusy ? void 0 : EEe,
"data-follow-older": "",
"aria-busy": m.busy || void 0,
onClick: () => void m.start(!0),
@@ -63998,7 +64013,7 @@ function AEe(e) {
})
] });
}
-function aQ({ children: e }) {
+function oQ({ children: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
@@ -64006,30 +64021,30 @@ function aQ({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(PL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(FL, {
variant: "secondary",
- leadingIcon: wEe,
+ leadingIcon: TEe,
"data-follow-manage": "",
- href: oQ(),
+ href: sQ(),
children: "管理关注"
}), e]
})]
});
}
-function jEe({ busy: e, error: t, load: n }) {
+function MEe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, I.jsx)(iQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(aQ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: t,
onRetry: n
}) : null] });
}
-function MEe(e, t) {
+function NEe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({
helpers: n,
actions: r
@@ -64091,12 +64106,12 @@ function MEe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function NEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function PEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => kG(e.authorSources.get(t) || [], n);
+ let o = (t) => AG(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -64104,14 +64119,14 @@ function NEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = AG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = jG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: jG(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: MG(a, o(n)) }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, I.jsx)(YZ, {
+ return s ? /* @__PURE__ */ (0, I.jsx)(XZ, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -64128,7 +64143,7 @@ function NEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function PEe({ rows: e, pressed: t, props: n, onPick: r }) {
+function FEe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -64149,13 +64164,13 @@ function PEe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = ML(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = ML(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function IEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = NL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = NL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, F.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, I.jsx)(DL, {
+ return /* @__PURE__ */ (0, I.jsx)(OL, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -64207,7 +64222,7 @@ function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: z(i) }
}, e);
})
- }), /* @__PURE__ */ (0, I.jsx)(rQ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
+ }), /* @__PURE__ */ (0, I.jsx)(iQ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -64227,7 +64242,7 @@ function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(rQ, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(iQ, {}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -64240,10 +64255,10 @@ function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: DG(t, n) }
+ dangerouslySetInnerHTML: { __html: OG(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(rQ, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(iQ, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(kL, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Ta(e.groups, n)}`,
@@ -64261,23 +64276,23 @@ function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
/* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
"data-follow-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(xL, {
text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,
busy: r
})
}),
- /* @__PURE__ */ (0, I.jsx)(zV, {
+ /* @__PURE__ */ (0, I.jsx)(BV, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(GG, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, {
+ /* @__PURE__ */ (0, I.jsx)(KG, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(GG, {
label: "图片布局",
value: i.photoLayout,
- options: OEe,
+ options: kEe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -64307,9 +64322,9 @@ function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let n = ba(e, t.sort, t.dir);
n && a(n);
},
- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(SG, {
- a: EEe,
- b: DEe,
+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(CG, {
+ a: DEe,
+ b: OEe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -64320,7 +64335,7 @@ function FEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function IEe({ conditions: e, onDrop: t, onClear: n }) {
+function LEe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -64345,21 +64360,21 @@ function IEe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function LEe({ count: e }) {
+function REe({ count: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-broken": "",
- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(oQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(sQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
-var oQ = () => nQ(window.location.search);
-function REe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+var sQ = () => rQ(window.location.search);
+function zEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
let { view: s, helpers: c } = i, l = s.media === "images";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(QG, {
+ children: /* @__PURE__ */ (0, I.jsx)($G, {
pending: e,
skeletonHtml: () => c.listSkeletonHtml(s.media),
- children: e ? null : /* @__PURE__ */ (0, I.jsx)(zEe, {
+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(BEe, {
facets: t,
data: n,
context: r,
@@ -64371,29 +64386,29 @@ function REe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})
});
}
-function zEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
- let { view: s, actions: c } = r, l = cQ(r), u = i ? {
+function BEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
+ let { view: s, actions: c } = r, l = lQ(r), u = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, d = CEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = wEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
return f = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, I.jsx)(ZZ, {
+ return /* @__PURE__ */ (0, I.jsx)(QZ, {
group: t,
authorSources: o,
media: s.media,
retryKey: a,
context: n,
- selected: r.selected.has(sQ(t, s)),
+ selected: r.selected.has(cQ(t, s)),
selectMode: r.selectMode,
- busy: l.busy.get(sQ(t, s)) || "",
- failure: l.failures.get(sQ(t, s)) || "",
+ busy: l.busy.get(cQ(t, s)) || "",
+ failure: l.failures.get(cQ(t, s)) || "",
actions: c,
onStatus: l.status,
onSave: l.save
}, `${u}:${s.media}`);
- }) : /* @__PURE__ */ (0, I.jsx)(BEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(VEe, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -64416,22 +64431,22 @@ function zEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
children: f
});
}
-function sQ(e, t) {
+function cQ(e, t) {
return ma(e, t.media).id;
}
-function BEe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function VEe({ data: e, filtered: t, clear: n, checkAction: r }) {
let i = !!e.groups.length || t, a = !!e.sources.length;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV(i ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV(i ? "search-x" : "rss"),
title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",
actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64440,12 +64455,12 @@ function BEe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var VEe = {
+var HEe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function cQ(e) {
+function lQ(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = ta(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -64468,7 +64483,7 @@ function cQ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(VEe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(HEe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await H(Ar, {
item: t,
to: i
@@ -64513,9 +64528,9 @@ function cQ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function HEe(e) {
+function UEe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;
- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(t.error),
onRetry: () => {
t.refetch();
@@ -64523,13 +64538,13 @@ function HEe(e) {
}) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
"data-entity-online": "",
- children: /* @__PURE__ */ (0, I.jsxs)(QG, {
+ children: /* @__PURE__ */ (0, I.jsxs)($G, {
pending: a,
skeletonHtml: () => i.listSkeletonHtml(r),
- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(UEe, {
+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(WEe, {
...e,
data: n
- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(DY, {
+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(OY, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -64539,8 +64554,8 @@ function HEe(e) {
})
});
}
-function UEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
- let u = cQ({
+function WEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+ let u = lQ({
view: e,
revision: 0,
actions: c
@@ -64558,7 +64573,7 @@ function UEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, m = r.length ? r.map((e) => {
let n = ma(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, I.jsx)(ZZ, {
+ return /* @__PURE__ */ (0, I.jsx)(QZ, {
group: e,
authorSources: r && d.byAuthor.get(r) || [],
media: t,
@@ -64571,11 +64586,11 @@ function UEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: u.status,
onSave: u.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, I.jsx)(WEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(GEe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: vEe(n.sources || [], e.author)
+ sources: yEe(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list": "",
@@ -64584,21 +64599,21 @@ function UEe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function WEe({ searched: e, clear: t, actions: n, sources: r }) {
+function GEe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV(e ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV(e ? "search-x" : "rss"),
title: e ? "当前筛选下没有更新" : "还没有抓到更新",
actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(yEe, {
+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(bEe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64607,7 +64622,7 @@ function WEe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function lQ(e) {
+function uQ(e) {
return {
x0: 0,
y0: 0,
@@ -64615,7 +64630,7 @@ function lQ(e) {
y1: e.height
};
}
-function uQ(e) {
+function dQ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -64623,40 +64638,40 @@ function uQ(e) {
y1: Math.round(e.y1)
};
}
-function dQ(e) {
+function fQ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function fQ(e, t) {
- if (!dQ(e)) return {
+function pQ(e, t) {
+ if (!fQ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return lQ(e);
+ if (t == null || !(t > 0)) return uQ(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return uQ({
+ return dQ({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function GEe(e, t) {
- if (!dQ(e) || !(t > 0)) return lQ(e);
+function KEe(e, t) {
+ if (!fQ(e) || !(t > 0)) return uQ(e);
let n = Math.min(e.width, e.height * t);
- return uQ({
+ return dQ({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function KEe(e, t, n) {
- if (!dQ(t) || !(n > 0)) return lQ(t);
- let r = pQ(e, t), i = fQ({
+function qEe(e, t, n) {
+ if (!fQ(t) || !(n > 0)) return uQ(t);
+ let r = mQ(e, t), i = pQ({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -64667,8 +64682,8 @@ function KEe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function pQ(e, t, n = null, r = "width") {
- if (!dQ(t)) return {
+function mQ(e, t, n = null, r = "width") {
+ if (!fQ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -64677,43 +64692,43 @@ function pQ(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return uQ({
+ return dQ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function mQ(e, t, n, r) {
+function hQ(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return uQ({
+ return dQ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function hQ(e, t, n, r = null) {
- if (!dQ(n) || !(t > 0)) return e;
+function gQ(e, t, n, r = null) {
+ if (!fQ(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return pQ({
+ return mQ({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function qEe(e, t, n, r, i = null) {
+function JEe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return pQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return mQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function JEe(e, t) {
- return dQ(t) ? {
+function YEe(e, t) {
+ return fQ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -64725,8 +64740,8 @@ function JEe(e, t) {
height: 0
};
}
-function YEe(e, t) {
- if (!dQ(t)) return {
+function XEe(e, t) {
+ if (!fQ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -64736,7 +64751,7 @@ function YEe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function XEe(e, t) {
+function ZEe(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -64745,15 +64760,15 @@ function XEe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function gQ(e, t, n) {
+function _Q(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function ZEe(e, t) {
+function QEe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
// src/react/crop/crop-frame.tsx
-var QEe = .02, _Q = 1.08;
-function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var $Ee = .02, vQ = 1.08;
+function yQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
(0, F.useEffect)(() => {
u(!1);
@@ -64772,8 +64787,8 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: gQ(e, n.clientWidth, r.width),
- dy: gQ(t, n.clientHeight, r.height)
+ dx: _Q(e, n.clientWidth, r.width),
+ dy: _Q(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -64790,22 +64805,22 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(mQ(n.box, o.dx, o.dy, r)) : i(qEe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ n.mode === "move" ? i(hQ(n.box, o.dx, o.dy, r)) : i(JEe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function g(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function _(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * QEe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * $Ee), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(mQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(hQ(n, e.key === "-" ? 1 / _Q : _Q, r, t)));
+ o[e.key] ? (e.preventDefault(), i(hQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(gQ(n, e.key === "-" ? 1 / vQ : vQ, r, t)));
}
- let v = n && r ? JEe(pQ(n, r, t), r) : null, y = v ? ZEe(v, d) : !1, b = v ? {
+ let v = n && r ? YEe(mQ(n, r, t), r) : null, y = v ? QEe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -64824,7 +64839,7 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- dQ({
+ fQ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -64863,7 +64878,7 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(hQ(n, e.deltaY > 0 ? _Q : 1 / _Q, r, t));
+ n && r && i(gQ(n, e.deltaY > 0 ? vQ : 1 / vQ, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -64885,13 +64900,13 @@ function vQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var $Ee = "/api/avatar-choices", yQ = "/api/avatar-pick", eDe = "/api/avatar-code-cover", bQ = "/api/avatar-frame", tDe = "/avatar-choice", xQ = (e, t) => [
+var eDe = "/api/avatar-choices", bQ = "/api/avatar-pick", tDe = "/api/avatar-code-cover", xQ = "/api/avatar-frame", nDe = "/avatar-choice", SQ = (e, t) => [
"avatar-choices",
e,
t
-], SQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, CQ = (e, t, n, r = "") => `${tDe}${SQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), wQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", nDe = (e, t, n) => V($Ee + SQ(e, t), n), rDe = (e) => H(eDe, { code: e });
-async function iDe(e, t, n) {
- let r = await H(bQ, {
+], CQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, wQ = (e, t, n, r = "") => `${nDe}${CQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), TQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rDe = (e, t, n) => V(eDe + CQ(e, t), n), iDe = (e) => H(tDe, { code: e });
+async function aDe(e, t, n) {
+ let r = await H(xQ, {
kind: e,
id: t,
ref: n.ref
@@ -64904,12 +64919,12 @@ async function iDe(e, t, n) {
bases: r.bases
};
}
-var aDe = (e, t, n) => H(bQ, {
+var oDe = (e, t, n) => H(xQ, {
kind: e,
id: t,
url: n
-}), oDe = (e, t, n) => TQ(`${bQ}${SQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function TQ(e, t) {
+}), sDe = (e, t, n) => EQ(`${xQ}${CQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function EQ(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -64918,17 +64933,17 @@ async function TQ(e, t) {
if (n.ok) return r;
throw new ar(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function EQ(e, t, n) {
+function DQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? KEe(e.focus, t, n) : fQ(t, n);
+ return e.focus && r ? qEe(e.focus, t, n) : pQ(t, n);
}
-var sDe = (e) => e.crop && dQ({
+var cDe = (e) => e.crop && fQ({
width: e.width,
height: e.height
});
-async function cDe(e, t, n) {
+async function lDe(e, t, n) {
if (!("file" in n)) {
- await H(yQ, {
+ await H(bQ, {
kind: e,
id: t,
...n
@@ -64941,19 +64956,19 @@ async function cDe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await TQ(`${yQ}${SQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await EQ(`${bQ}${CQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var DQ = 2;
-function lDe(e, t) {
+var OQ = 2;
+function uDe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, DQ).join("」「")}」`}${n.length > DQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, OQ).join("」「")}」`}${n.length > OQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var uDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function dDe(e) {
- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${uDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var dDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function fDe(e) {
+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var OQ = (e) => e.cast > 1, fDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, pDe = {
+var kQ = (e) => e.cast > 1, pDe = (e) => kQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mDe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -64963,7 +64978,7 @@ var OQ = (e) => e.cast > 1, fDe = (e) => OQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function mDe(e) {
+function hDe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -64974,19 +64989,19 @@ function mDe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var hDe = (e) => `${pDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (OQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), gDe = 8, _De = 3 / 4;
-async function vDe(e, t, n) {
+var gDe = (e) => `${mDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (kQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), _De = 8, vDe = 3 / 4;
+async function yDe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await iDe(e, t, n.choice) };
- case "code": return { choice: await rDe(n.code) };
- case "url": return { choice: await aDe(e, t, n.url) };
+ case "choice": return { choice: await aDe(e, t, n.choice) };
+ case "code": return { choice: await iDe(n.code) };
+ case "url": return { choice: await oDe(e, t, n.url) };
case "file": return {
- choice: await oDe(e, t, n.file),
+ choice: await sDe(e, t, n.file),
file: n.file
};
}
}
-function yDe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function bDe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -65001,12 +65016,12 @@ function yDe({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(yV, {
+ }), /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, I.jsx)(bDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(xDe, {
kind: e,
entityId: t,
name: n,
@@ -65015,24 +65030,24 @@ function yDe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, F.useRef)(null), o = ZV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = xQ(e, t), m = (0, F.useRef)(!1), h = Nt({
+function xDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, F.useRef)(null), o = QV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = SQ(e, t), m = (0, F.useRef)(!1), h = Nt({
queryKey: p,
- queryFn: ({ signal: n }) => nDe(e, t, n),
+ queryFn: ({ signal: n }) => rDe(e, t, n),
retryOnMount: !0,
refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,
refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1
});
(0, F.useEffect)(() => () => {
- m.current && U.removeQueries({ queryKey: xQ(e, t) });
+ m.current && U.removeQueries({ queryKey: SQ(e, t) });
}, [e, t]);
let g = Pt({
- mutationFn: (n) => cDe(e, t, n),
+ mutationFn: (n) => lDe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = Pt({
- mutationFn: (n) => vDe(e, t, n),
+ mutationFn: (n) => yDe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -65053,39 +65068,39 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let x = h.data, S = x?.choices ?? [], C = (g.error ? sr(g.error) : "") || (!d && _.error ? sr(_.error) : "") || (h.error ? sr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : dDe(x), E = !!C && !!h.error && C === sr(h.error), D = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? sr(g.error) : "") || (!d && _.error ? sr(_.error) : "") || (h.error ? sr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : fDe(x), E = !!C && !!h.error && C === sr(h.error), D = h.isPending || S.length > 0;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(bV, { children: /* @__PURE__ */ (0, I.jsx)(uV, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(xV, { children: /* @__PURE__ */ (0, I.jsx)(dV, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(nR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(rR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(aW, {
+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(oW, {
color: "soft",
children: [S.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? fDe(d.choice) : lDe(n, x)
+ children: d ? pDe(d.choice) : uDe(n, x)
}),
- T ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ T ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: T
}) : null,
- C ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ C ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: E ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(h.isFetching),
+ ...DV(h.isFetching),
onClick: () => {
h.isFetching || h.refetch();
},
@@ -65095,14 +65110,14 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(SL, {
- icon: zB,
+ /* @__PURE__ */ (0, I.jsx)(CL, {
+ icon: BB,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, I.jsx)(SDe, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(CDe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -65122,7 +65137,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": h.isPending || void 0,
"data-skeleton": h.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: h.isPending ? Array.from({ length: gDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: _De }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -65135,8 +65150,8 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: hDe(n),
- ...EV(w),
+ title: gDe(n),
+ ...DV(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
via: "choice",
@@ -65145,8 +65160,8 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, I.jsx)(xDe, {
- src: CQ(e, t, n.ref, wQ(n, n.ref)),
+ /* @__PURE__ */ (0, I.jsx)(SDe, {
+ src: wQ(e, t, n.ref, TQ(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -65155,15 +65170,15 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, I.jsx)(aW, {
+ children: /* @__PURE__ */ (0, I.jsx)(oW, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- OQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ kQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, I.jsxs)(aW, {
+ children: /* @__PURE__ */ (0, I.jsxs)(oW, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -65185,7 +65200,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(vV, {
+ children: /* @__PURE__ */ (0, I.jsx)(yV, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -65195,7 +65210,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
type: "submit",
variant: "secondary",
disabled: !l.trim(),
- ...EV(v("code")),
+ ...DV(v("code")),
children: "取封面来框"
})]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65204,7 +65219,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
onClick: () => a.current?.click(),
- ...EV(v("file")),
+ ...DV(v("file")),
children: "从本机选图片"
}),
/* @__PURE__ */ (0, I.jsx)("input", {
@@ -65224,7 +65239,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(vV, {
+ children: /* @__PURE__ */ (0, I.jsx)(yV, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -65234,7 +65249,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !s.trim(),
- ...EV(v("url")),
+ ...DV(v("url")),
onClick: () => {
w || _.mutate({
via: "url",
@@ -65248,7 +65263,7 @@ function bDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function xDe({ src: e, choice: t }) {
+function SDe({ src: e, choice: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);
(0, F.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -65256,7 +65271,7 @@ function xDe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = sDe(t) ? XEe(EQ(t, s, _De), s) : null, l = r || a ? !0 : void 0;
+ }, c = cDe(t) ? ZEe(DQ(t, s, vDe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -65282,23 +65297,23 @@ function xDe({ src: e, choice: t }) {
})]
});
}
-function SDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = wQ(n, s), m = CQ(e, t, s, p), h = ZV();
+function CDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = TQ(n, s), m = wQ(e, t, s, p), h = QV();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? YEe(d, l) : null;
+ let _ = d && l ? XEe(d, l) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [m ? /* @__PURE__ */ (0, I.jsx)(vQ, {
+ children: [m ? /* @__PURE__ */ (0, I.jsx)(yQ, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), dQ(e) && f(s === n.ref ? EQ(n, e, 1) : fQ(e, 1));
+ u(e), fQ(e) && f(s === n.ref ? DQ(n, e, 1) : pQ(e, 1));
},
onBox: f
}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -65312,7 +65327,7 @@ function SDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: mDe(e)
+ children: hDe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65332,12 +65347,12 @@ function SDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
onClick: i,
- ...EV(r),
+ ...DV(r),
children: "返回备选图片"
}),
n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(r),
+ ...DV(r),
onClick: () => {
r || a(null);
},
@@ -65345,7 +65360,7 @@ function SDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}),
/* @__PURE__ */ (0, I.jsx)(J, {
disabled: !d || !l,
- ...EV(r),
+ ...DV(r),
onClick: () => {
d && !r && a({
ref: s,
@@ -65360,9 +65375,9 @@ function SDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
})] });
}
// src/react/components/source-picture.tsx
-var kQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
-function AQ({ item: e, image: t, thumbnail: n = !1 }) {
- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? kQ(e.code, t, r) : u ? so(e, !0) : e.cover_url || "";
+var AQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
+function jQ({ item: e, image: t, thumbnail: n = !1 }) {
+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? AQ(e.code, t, r) : u ? so(e, !0) : e.cover_url || "";
if ((0, F.useLayoutEffect)(() => {
let e = l.current;
e?.complete && e.naturalWidth > 0 && o({
@@ -65381,14 +65396,14 @@ function AQ({ item: e, image: t, thumbnail: n = !1 }) {
})
}) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-jav-picture-wait": "",
- children: /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: "封面未取得"
})
});
if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-jav-picture-wait": "",
- children: /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -65443,8 +65458,8 @@ function AQ({ item: e, image: t, thumbnail: n = !1 }) {
] });
}
// src/react/components/source-avatar.tsx
-function jQ({ code: e, person: t, detail: n = !1 }) {
- yL();
+function MQ({ code: e, person: t, detail: n = !1 }) {
+ bL();
let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");
(0, F.useEffect)(() => {
if (!r.current || i) return;
@@ -65458,7 +65473,7 @@ function jQ({ code: e, person: t, detail: n = !1 }) {
"data-source-initial": "",
children: Qn(en("performer", t.name))
}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {
- src: kQ(e, `actor:${t.source_actor_id}`),
+ src: AQ(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -65468,8 +65483,8 @@ function jQ({ code: e, person: t, detail: n = !1 }) {
}) : o;
}
// src/react/feed-new/feed-new-row.tsx
-function MQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, F.useContext)(nG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";
+function NQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, F.useContext)(aG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";
(0, F.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -65501,7 +65516,7 @@ function MQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(jQ, {
+ }), s.map((e, t) => (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(MQ, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -65510,7 +65525,7 @@ function MQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}), e, `${l.length}:${t}`))] }) : null;
}
// src/react/entity-hero/glyph.tsx
-function NQ({ name: e }) {
+function PQ({ name: e }) {
let { wide: t, viewBox: n } = xn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -65520,20 +65535,20 @@ function NQ({ name: e }) {
});
}
// src/react/entity-hero/hero-pop.tsx
-function PQ(e, t) {
+function FQ(e, t) {
t.style.removeProperty("max-height");
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var FQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function IQ(e, t, n, r) {
+var IQ = (e) => !!e?.isConnected && e.matches(":popover-open");
+function LQ(e, t, n, r) {
let i = (0, F.useRef)(r);
i.current = r, (0, F.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && FQ(n.current) ? PQ(t.current, n.current) : i.current();
+ t.current && IQ(n.current) ? FQ(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -65547,17 +65562,17 @@ function IQ(e, t, n, r) {
n
]);
}
-function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function RQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, FQ(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, IQ(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !FQ(s.current) && (s.current.showPopover(), PQ(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !IQ(s.current) && (s.current.showPopover(), FQ(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
u.current || o.current?.matches(":hover,:focus-visible") || s.current?.matches(":hover") || f();
}, 150);
};
- return IQ(c, o, s, f), (0, F.useEffect)(() => {
+ return LQ(c, o, s, f), (0, F.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -65583,7 +65598,7 @@ function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && FQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && IQ(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65601,16 +65616,16 @@ function LQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function CDe({ following: e, busy: t, onToggle: n, tip: r }) {
+function wDe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {
- FQ(o.current) && o.current.hidePopover(), c(!1);
+ IQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !FQ(o.current) && (o.current.showPopover(), PQ(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !IQ(o.current) && (o.current.showPopover(), FQ(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return IQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
- i.current && FQ(o.current) && PQ(i.current, o.current);
+ return LQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
+ i.current && IQ(o.current) && FQ(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -65619,7 +65634,7 @@ function CDe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, I.jsx)(NQ, { name: "rss" }),
+ /* @__PURE__ */ (0, I.jsx)(PQ, { name: "rss" }),
/* @__PURE__ */ (0, I.jsx)("input", {
ref: a,
type: "checkbox",
@@ -65653,29 +65668,29 @@ function CDe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function wDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function TDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
}, []), /* @__PURE__ */ (0, I.jsxs)(Xpe, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, I.jsx)(eR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(tR, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, I.jsx)(NQ, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ children: /* @__PURE__ */ (0, I.jsx)(PQ, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, I.jsx)(Oz, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: UV,
+ className: WV,
"data-namepick-menu": "",
children: /* @__PURE__ */ (0, I.jsxs)(Qpe, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(Fz, {
+ /* @__PURE__ */ (0, I.jsx)(Iz, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -65683,34 +65698,34 @@ function wDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Lz, {
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Rz, {
id: e.value,
textValue: e.label,
"data-namepick-name": e.value,
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
}, e.value))
}),
/* @__PURE__ */ (0, I.jsx)(Npe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, I.jsx)(Fz, { children: /* @__PURE__ */ (0, I.jsxs)(Lz, {
+ /* @__PURE__ */ (0, I.jsx)(Iz, { children: /* @__PURE__ */ (0, I.jsxs)(Rz, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var TDe = (e) => e === "studio" || e === "agency", RQ = (e) => e === "performer" || e === "creator", EDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function DDe(e, t = "zh-CN") {
+var EDe = (e) => e === "studio" || e === "agency", zQ = (e) => e === "performer" || e === "creator", DDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function ODe(e, t = "zh-CN") {
return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({
value: e,
label: e
}));
}
-function zQ(e) {
+function BQ(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -65722,13 +65737,13 @@ function zQ(e) {
linked: !1
} : null;
}
-function BQ(e, t) {
+function VQ(e, t) {
let n = Wn(e, "performer"), r = Vn(t);
return r && [e.label, n].map(Vn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var VQ = (e) => ({ site: Ln(e) });
-function ODe(e, t) {
- let n = zQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var HQ = (e) => ({ site: Ln(e) });
+function kDe(e, t) {
+ let n = BQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -65738,7 +65753,7 @@ function ODe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${BQ(e, n)} · ${t}`
+ title: `${VQ(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -65746,11 +65761,11 @@ function ODe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (RQ(t) && e.link_kind !== "social") return {
+ if (zQ(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: BQ(e, n),
- mark: VQ(e)
+ title: VQ(e, n),
+ mark: HQ(e)
};
if (e.link_kind === "social") {
let t = Bn(r);
@@ -65758,7 +65773,7 @@ function ODe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : VQ(e)
+ mark: t ? { brand: t } : HQ(e)
};
}
return {
@@ -65766,12 +65781,12 @@ function ODe(e, t) {
url: r,
title: e.label || "",
text: Wn(e, t, i),
- mark: VQ(e)
+ mark: HQ(e)
};
});
- return [...r, ...kDe(a)];
+ return [...r, ...ADe(a)];
}
-function kDe(e) {
+function ADe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -65779,8 +65794,8 @@ function kDe(e) {
sources: t.map((e) => e.label)
}];
}
-var HQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function ADe(e) {
+var UQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function jDe(e) {
return [
[
"legal_name",
@@ -65836,7 +65851,7 @@ function ADe(e) {
}]
}] : []);
}
-function jDe(e) {
+function MDe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -65893,14 +65908,14 @@ function jDe(e) {
tags: e.tags
}), t;
}
-function UQ(e, t = 4) {
+function WQ(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function MDe(e) {
+function NDe(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -65910,7 +65925,7 @@ function MDe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function NDe(e) {
+function PDe(e) {
return mo({
id: e.id,
hasImage: e.has_image,
@@ -65921,9 +65936,9 @@ function NDe(e) {
standIn: e.avatar_stand_in
});
}
-function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- yL();
- let s = en(e, n.canonical_name, Number(n.id)), c = tn(e, n.canonical_name, Number(n.id)), l = RQ(e), u = TDe(e), d = l ? jDe(n.profile) : u ? ADe(n.company_profile) : [], f = ODe(n, e), p = HQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
+function FDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ bL();
+ let s = en(e, n.canonical_name, Number(n.id)), c = tn(e, n.canonical_name, Number(n.id)), l = zQ(e), u = EDe(e), d = l ? MDe(n.profile) : u ? jDe(n.company_profile) : [], f = kDe(n, e), p = UQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.wireScroller(h.current);
}, [o, f.length]), (0, F.useEffect)(() => {
@@ -65936,7 +65951,7 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, I.jsx)(FDe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(IDe, {
kind: e,
name: s,
helpers: o,
@@ -65944,7 +65959,7 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: u
}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, I.jsx)(yDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(bDe, {
kind: e,
entityId: Number(n.id),
name: s || t,
@@ -65959,17 +65974,17 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, I.jsx)("h2", {
- lang: tL(s),
+ lang: nL(s),
title: c || void 0,
children: s
}),
- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(wDe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(TDe, {
current: n.canonical_name,
- choices: DDe(n, Jt()),
+ choices: ODe(n, Jt()),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, I.jsx)(RV, { item: {
+ n.id ? /* @__PURE__ */ (0, I.jsx)(zV, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -65983,7 +65998,7 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
className: "text-caption-1-regular text-text-secondary",
children: c
}) : null,
- /* @__PURE__ */ (0, I.jsx)(IDe, {
+ /* @__PURE__ */ (0, I.jsx)(LDe, {
kind: e,
entity: n,
actions: a
@@ -66004,14 +66019,14 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
f.length ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: h,
"data-entity-links": "",
- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(HDe, { link: e }, t))
+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(UDe, { link: e }, t))
}) : null,
- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(UDe, {
+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(WDe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(zDe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(BDe, {
follow: n.follow,
displayName: s,
actions: a
@@ -66020,11 +66035,11 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
"data-entity-facts": "",
- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(BDe, {
+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(VDe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(VDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(HDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -66043,7 +66058,7 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${B(Qn(en("performer", e.k, e.id)))}</span>${NDe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${B(Qn(en("performer", e.k, e.id)))}</span>${PDe(e)}` }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-costar-name": "",
children: en("performer", e.k, e.id)
@@ -66051,14 +66066,14 @@ function PDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(MQ, {
+ }), i ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(NQ, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function FDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function IDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${B(Qn(t))}</span>`);
return (0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-portrait-initial]");
@@ -66072,8 +66087,8 @@ function FDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function IDe({ kind: e, entity: t, actions: n }) {
- let r = zQ(t), i = (e, t) => (r) => {
+function LDe({ kind: e, entity: t, actions: n }) {
+ let r = BQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {
href: Mn("agency", r.name, r.id),
@@ -66082,44 +66097,44 @@ function IDe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = t.name_display?.groups[Jt()] ?? t.name_groups, r = MDe(e);
+ let e = t.name_display?.groups[Jt()] ?? t.name_groups, r = NDe(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, I.jsx)(WQ, { entity: t }),
+ /* @__PURE__ */ (0, I.jsx)(GQ, { entity: t }),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(RDe, {
+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(zDe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
r ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, I.jsx)(NQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(PQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
- lang: tL(e),
+ lang: nL(e),
children: e
}, t))
}),
- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(LQ, {
+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(RQ, {
id: "entityAliasPop",
hook: "alias",
rest: r.rest,
label: `另外 ${r.rest.toLocaleString()} 个别名`,
heading: `${r.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(GQ, {
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(KQ, {
label: e.label,
names: e.names
}, t)) })
@@ -66141,61 +66156,61 @@ function IDe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(WQ, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(GQ, { entity: t }) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
href: Mn("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, I.jsx)(LDe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, I.jsx)(RDe, { aliases: s }) : null
]
});
}
-function LDe({ aliases: e }) {
- let { shown: t, rest: n } = UQ(e, 3);
+function RDe({ aliases: e }) {
+ let { shown: t, rest: n } = WQ(e, 3);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(NQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(PQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, I.jsx)(LQ, {
+ n ? /* @__PURE__ */ (0, I.jsx)(RQ, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(GQ, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(KQ, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function RDe({ follow: e, actions: t }) {
+function zDe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -66204,7 +66219,7 @@ function RDe({ follow: e, actions: t }) {
})]
});
}
-function zDe({ follow: e, displayName: t, actions: n }) {
+function BDe({ follow: e, displayName: t, actions: n }) {
let [r, i] = (0, F.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -66218,12 +66233,12 @@ function zDe({ follow: e, displayName: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-held": "",
className: "flex flex-col gap-2",
- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(xV, {
+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(SV, {
tone: "info",
title: `关注里有同名作者 ${e.name}`,
action: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
- ...EV(r === e.key),
+ ...DV(r === e.key),
onClick: () => {
a(e.key, e.name);
},
@@ -66238,37 +66253,37 @@ function zDe({ follow: e, displayName: t, actions: n }) {
}, e.key))
});
}
-function WQ({ entity: e }) {
+function GQ({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function GQ({ label: e, names: t }) {
+function KQ({ label: e, names: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pop-name": "",
- lang: tL(e.name),
+ lang: nL(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function BDe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(NQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
+function VDe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(PQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function VDe({ tags: e }) {
- let { shown: t, rest: n } = UQ(e);
+function HDe({ tags: e }) {
+ let { shown: t, rest: n } = WQ(e);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(LQ, {
+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(RQ, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -66284,10 +66299,10 @@ function VDe({ tags: e }) {
})
}) : null] });
}
-function KQ({ mark: e }) {
+function qQ({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, I.jsx)(NQ, { name: e.brand })
+ children: /* @__PURE__ */ (0, I.jsx)(PQ, { name: e.brand })
});
let t = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, I.jsx)("span", {
@@ -66295,7 +66310,7 @@ function KQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function HDe({ link: e }) {
+function UDe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {
"data-link": "icon",
@@ -66304,19 +66319,19 @@ function HDe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(KQ, { mark: e.mark })
+ children: /* @__PURE__ */ (0, I.jsx)(qQ, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(KQ, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, I.jsx)(qQ, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, I.jsx)(KQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(qQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -66328,7 +66343,7 @@ function HDe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, I.jsx)(KQ, { mark: e.mark }),
+ /* @__PURE__ */ (0, I.jsx)(qQ, { mark: e.mark }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -66343,7 +66358,7 @@ function HDe({ link: e }) {
});
}
}
-function UDe({ entity: e, actions: t, helpers: n }) {
+function WDe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -66361,33 +66376,33 @@ function UDe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entry-marks": "",
- children: [HQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [UQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noopener noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(NQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(PQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(CDe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(wDe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: EDe(r)
+ tip: DDe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var WDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function GDe(e, t, n) {
+var GDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function KDe(e, t, n) {
let [r, i] = (0, F.useState)(() => ha(e));
r.author !== e && i(ha(e));
let [a, o] = (0, F.useState)({
@@ -66466,7 +66481,7 @@ function GDe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: Qi,
- seed: WDe()
+ seed: GDe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -66496,8 +66511,8 @@ function GDe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function KDe(e) {
- let { kind: t, name: n } = e, r = Nt(sZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function qDe(e) {
+ let { kind: t, name: n } = e, r = Nt(cZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -66515,17 +66530,17 @@ function KDe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: sr(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(YDe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(XDe, {
...e,
entity: r.data
});
}
-function qQ(e) {
+function JQ(e) {
let [t, n] = (0, F.useState)({
key: e,
n: 1
@@ -66537,22 +66552,22 @@ function qQ(e) {
};
return n(r), r.n;
}
-var qDe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function JDe(e, t) {
+var JDe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function YDe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function YDe(e) {
- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Ft(cZ(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || lZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function XDe(e) {
+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Ft(lZ(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || uZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
- } : eZ, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
+ } : tZ, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
S !== x && (C(x), b("videos"));
- let w = l && y === "people" && u.length ? "people" : v.media, T = GDe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = KDe(g, w === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = oZ(e), A = Nt(k), j = qQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = sZ(e), A = Nt(k), j = JQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
(0, F.useLayoutEffect)(() => {
s.javContext(M);
}, [s, M]);
@@ -66562,26 +66577,26 @@ function YDe(e) {
}, [e.layout, M]), N = {
jav: e.jav,
seed: e.seed
- }, te = (0, F.useCallback)((e, r, a) => aZ(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Ft({
- ...cZ(t, n, re, ie),
+ }, te = (0, F.useCallback)((e, r, a) => oZ(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Ft({
+ ...lZ(t, n, re, ie),
enabled: w === "photos"
- }), oe = ae.data?.pages[0], se = qQ(JSON.stringify(nZ(t, n, re, ie))), ce = (0, F.useMemo)(() => {
+ }), oe = ae.data?.pages[0], se = JQ(JSON.stringify(rZ(t, n, re, ie))), ce = (0, F.useMemo)(() => {
let e = ae.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: se,
- codeSets: t.id ? [] : lZ(t),
+ codeSets: t.id ? [] : uZ(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Nt({
- ...ZX(d, o.feedRowHtml),
+ ...QX(d, o.feedRowHtml),
enabled: !!d
}), fe = (0, F.useRef)(e.feedRevision);
(0, F.useEffect)(() => {
- fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: XX(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: ZX(d) }));
}, [d, e.feedRevision]);
let pe = !!A.data;
(0, F.useEffect)(() => {
@@ -66615,7 +66630,7 @@ function YDe(e) {
me.current = !1;
}, []);
let L = (0, F.useCallback)(async () => {
- await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: tZ(t, n) }), await U.invalidateQueries({ queryKey: [
+ await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: nZ(t, n) }), await U.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -66649,7 +66664,7 @@ function YDe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => U.setQueryData(tZ(t, n), (e) => e && {
+ onSuccess: (e, r) => U.setQueryData(nZ(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -66703,10 +66718,10 @@ function YDe(e) {
let e = await Cn("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await U.invalidateQueries({ queryKey: XX(d) });
+ me.current && await U.invalidateQueries({ queryKey: ZX(d) });
})();
},
- feedAction: QX,
+ feedAction: $X,
avatarPicked: () => {
s.avatarChanged(), L().then(() => {
me.current && O((e) => e + 1);
@@ -66754,19 +66769,19 @@ function YDe(e) {
(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : eZ));
+ } : tZ));
},
setState: (e) => s.route({
...i,
state: e
- }, eZ),
+ }, tZ),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let r = s.reshuffleVideos(), a = oZ({
+ let r = s.reshuffleVideos(), a = sZ({
kind: t,
name: n,
filters: {
@@ -66780,7 +66795,7 @@ function YDe(e) {
await U.fetchQuery(a).catch(() => null);
return;
}
- let r = qDe(), a = await U.fetchInfiniteQuery(cZ(t, n, re, r)).catch(() => null);
+ let r = JDe(), a = await U.fetchInfiniteQuery(lZ(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -66815,7 +66830,7 @@ function YDe(e) {
k: e.k,
label: Nl(e.k),
n: e.n,
- selected: kTe(i.tag, e.k)
+ selected: ATe(i.tag, e.k)
})), we = [
u.length,
!_,
@@ -66850,14 +66865,14 @@ function YDe(e) {
creator: "",
studio: "",
owner: ""
- }, eZ), Me = "", Ne = !1;
+ }, tZ), Me = "", Ne = !1;
if (w === "people") Me = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (w === "online") Ne = T.busy, Me = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (w === "videos") {
Ne = !A.data;
- let e = rZ(i.tag).length;
+ let e = iZ(i.tag).length;
Me = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Me = Ee ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : JDe(oe, lZ(oe).length) : Ne = ae.isPending;
+ } else oe && !oe.error ? Me = Ee ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : YDe(oe, uZ(oe).length) : Ne = ae.isPending;
let Pe = (0, F.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -66874,7 +66889,7 @@ function YDe(e) {
u
]);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(PDe, {
+ /* @__PURE__ */ (0, I.jsx)(FDe, {
kind: t,
name: n,
entity: r,
@@ -66884,7 +66899,7 @@ function YDe(e) {
actions: ye,
helpers: be
}, D),
- (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(pye, {
+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(mye, {
kind: t,
name: n,
view: w,
@@ -66901,9 +66916,9 @@ function YDe(e) {
actions: xe,
helpers: Se
}), c.filter),
- (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)($ve, {
+ (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(eye, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(HEe, {
+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(UEe, {
view: T.view,
media: T.media,
result: T.result,
@@ -66917,16 +66932,16 @@ function YDe(e) {
actions: e.follow.actions,
canLoadMore: e.canLoadMore,
clearFilters: T.clearFilters
- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: sr(A.error),
onRetry: () => {
A.refetch();
}
- }) : Ae ? /* @__PURE__ */ (0, I.jsx)(XDe, {
+ }) : Ae ? /* @__PURE__ */ (0, I.jsx)(ZDe, {
filtered: ke,
onShowAll: je,
onOnline: g ? () => xe.setView("online") : void 0
- }) : /* @__PURE__ */ (0, I.jsx)(cEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(lEe, {
kind: t,
name: n,
view: w,
@@ -66959,9 +66974,9 @@ function YDe(e) {
}), c.body)
] });
}
-function XDe({ filtered: e, onShowAll: t, onOnline: n }) {
- return e ? /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV("search"),
+function ZDe({ filtered: e, onShowAll: t, onOnline: n }) {
+ return e ? /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -66969,14 +66984,14 @@ function XDe({ filtered: e, onShowAll: t, onOnline: n }) {
children: "清除筛选"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV("film"),
+ }) : /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV("film"),
title: "还没有视频",
actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -66985,30 +67000,30 @@ function XDe({ filtered: e, onShowAll: t, onOnline: n }) {
});
}
// src/react/diagnostics/diagnostics.ts
-var JQ = ["diagnostics"], YQ = (e) => V("/api/diagnostics", e);
-async function ZDe(e) {
+var YQ = ["diagnostics"], XQ = (e) => V("/api/diagnostics", e);
+async function QDe(e) {
await U.fetchQuery({
- queryKey: JQ,
- queryFn: () => YQ(e),
+ queryKey: YQ,
+ queryFn: () => XQ(e),
staleTime: 1e4
});
}
// src/react/feed-new/feed-new-page.tsx
-function QDe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Nt(ZX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
+function $De({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = Nt(QX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: XX(null) }));
- }, [t]), (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(MQ, {
+ a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: ZX(null) }));
+ }, [t]), (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(NQ, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: QX,
+ act: $X,
settled: r.settled
}), e);
}
// src/react/index/index-search.tsx
-var $De = wV("search");
-function XQ({ label: e, value: t, onQuery: n }) {
+var eOe = TV("search");
+function ZQ({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
clearTimeout(o.current), i(t);
@@ -67025,15 +67040,15 @@ function XQ({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(hV, {
+ children: /* @__PURE__ */ (0, I.jsx)(gV, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(_V, {
+ children: /* @__PURE__ */ (0, I.jsx)(vV, {
type: "search",
- leadingIcon: $De,
+ leadingIcon: eOe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -67045,7 +67060,7 @@ function XQ({ label: e, value: t, onQuery: n }) {
});
}
// src/react/index/tag-pagination.ts
-function ZQ(e) {
+function QQ(e) {
let [t, n] = (0, F.useState)({
filter: e,
pageIndex: 0,
@@ -67062,7 +67077,7 @@ function ZQ(e) {
}), [e])
};
}
-function QQ(e, t, n) {
+function $Q(e, t, n) {
let { pageIndex: r, pageSize: i } = t;
(0, F.useEffect)(() => {
if (e === void 0) return;
@@ -67079,11 +67094,11 @@ function QQ(e, t, n) {
]);
}
// src/react/index/index-tags.tsx
-var $Q = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var e$ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
-}), e$ = wV("pencil"), t$ = (e, t) => ({
+}), t$ = TV("pencil"), n$ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -67092,7 +67107,7 @@ var $Q = () => /* @__PURE__ */ (0, I.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function eOe({ tag: e, actions: t }) {
+function tOe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -67101,13 +67116,13 @@ function eOe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": CZ(t.online, e.cat),
+ "data-tag-cat": wZ(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, I.jsx)($Q, {}),
+ /* @__PURE__ */ (0, I.jsx)(e$, {}),
/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -67118,32 +67133,32 @@ function eOe({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(RV, { item: t$(e, t.online) }),
- t.edit ? /* @__PURE__ */ (0, I.jsx)(LV, {
+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(zV, { item: n$(e, t.online) }),
+ t.edit ? /* @__PURE__ */ (0, I.jsx)(RV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(e$, {})
+ children: /* @__PURE__ */ (0, I.jsx)(t$, {})
}) : null
]
});
}
-function n$({ groups: e, actions: t }) {
+function r$({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {
"data-alpha-group": r,
- className: RH({
+ className: zH({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, I.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, I.jsx)(OW, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, I.jsx)(jW, { value: n.length })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(eOe, {
+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(tOe, {
tag: e,
actions: t
}, e.k))
@@ -67151,26 +67166,26 @@ function n$({ groups: e, actions: t }) {
}, e))
});
}
-var tOe = "\xA0";
-function r$({ tags: e, actions: t }) {
+var nOe = "\xA0";
+function i$({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-token": "",
- "data-tag-cat": CZ(t.online, e.cat),
+ "data-tag-cat": wZ(t.online, e.cat),
className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",
children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": CZ(t.online, e.cat),
+ "data-tag-cat": wZ(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
- children: e.label + tOe
+ children: e.label + nOe
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -67179,16 +67194,16 @@ function r$({ tags: e, actions: t }) {
}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-actions": "",
className: "inline-flex flex-none items-center gap-1",
- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(RV, { item: t$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(LV, {
+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(zV, { item: n$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(RV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(e$, {})
+ children: /* @__PURE__ */ (0, I.jsx)(t$, {})
}) : null]
}) : null]
}, e.k))
});
}
-var nOe = [[
+var rOe = [[
"cloud",
"标签云",
"tags"
@@ -67197,34 +67212,34 @@ var nOe = [[
"字母表",
"text-aa"
]];
-function i$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = TL();
- return /* @__PURE__ */ (0, I.jsx)(DL, {
+function a$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
+ let d = EL();
+ return /* @__PURE__ */ (0, I.jsx)(OL, {
label: "标签筛选",
topLabel: "标签类型",
top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": "标签状态",
className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",
- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(OL, {
+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(kL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !l.blocked && l.hidden === e,
onPress: () => l.onChange(!!e),
children: t
- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(OL, {
+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(kL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !!l.blocked,
onPress: l.onBlocked,
children: "已屏蔽内容"
}) : null]
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(kL, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : CZ(n, e),
+ "data-tag-cat": e === "all" ? "all" : wZ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, I.jsx)($Q, {}), r]
+ children: [/* @__PURE__ */ (0, I.jsx)(e$, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -67245,19 +67260,19 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(qz, {
+ /* @__PURE__ */ (0, I.jsx)(Jz, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${IU}`,
- children: nOe.map(([e, t, n]) => {
- let r = wV(n);
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: `ml-auto ${LU}`,
+ children: rOe.map(([e, t, n]) => {
+ let r = TV(n);
+ return /* @__PURE__ */ (0, I.jsx)(Yz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: LU,
+ className: RU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -67269,13 +67284,13 @@ function i$({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function rOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, I.jsxs)(Mj, {
+function iOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, I.jsxs)(Nj, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, I.jsx)(XV, {
+ /* @__PURE__ */ (0, I.jsx)(ZV, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -67306,29 +67321,29 @@ function rOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
});
}
// src/react/toaster.tsx
-var a$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
+var o$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), o$ = null, s$ = { "--floating-radius": "var(--radius-2xl)" };
-function c$() {
- let e = o$;
- o$ = null, e?.root.unmount();
-}
-var l$ = (e, t) => {
- if (o$?.host === e) return;
- c$();
+}), s$ = null, c$ = { "--floating-radius": "var(--radius-2xl)" };
+function l$() {
+ let e = s$;
+ s$ = null, e?.root.unmount();
+}
+var u$ = (e, t) => {
+ if (s$?.host === e) return;
+ l$();
let n = (0, Lt.createRoot)(e);
- o$ = {
+ s$ = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, I.jsxs)($V, { children: [/* @__PURE__ */ (0, I.jsx)(sH, {
+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(eH, { children: [/* @__PURE__ */ (0, I.jsx)(cH, {
id: "receipts",
position: "bottom-right",
closeButton: !0,
gap: 8,
style: {
- ...s$,
+ ...c$,
"--width": "min(560px, calc(100vw - 48px))"
},
offset: {
@@ -67343,16 +67358,16 @@ var l$ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: a$(t.success, !0),
- error: a$(t.error, !1)
+ success: o$(t.success, !0),
+ error: o$(t.error, !1)
}
- }), /* @__PURE__ */ (0, I.jsx)(sH, {
+ }), /* @__PURE__ */ (0, I.jsx)(cH, {
id: "processing",
position: "bottom-right",
gap: 8,
expand: !0,
style: {
- ...s$,
+ ...c$,
"--width": "min(400px, calc(100vw - 32px))"
},
offset: {
@@ -67367,13 +67382,13 @@ var l$ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, iOe = 6e3, u$ = (e, t) => {
+}, aOe = 6e3, d$ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? nH.error : nH.success, r = t.action;
+ let n = t.alert ? rH.error : rH.success, r = t.action;
n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : iOe,
+ duration: t.timeout > 0 ? t.timeout : aOe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -67381,7 +67396,7 @@ var l$ = (e, t) => {
}
} : void 0
});
-}, d$ = (e) => e.id ?? e.entity_id, f$ = {
+}, f$ = (e) => e.id ?? e.entity_id, p$ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -67389,26 +67404,26 @@ var l$ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, p$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);
-async function m$(e, t, n) {
+}, m$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);
+async function h$(e, t, n) {
if (n?.aborted) return !1;
let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;
return !(await al({
- title: f$[e.operation],
+ title: p$[e.operation],
body: i,
- confirmLabel: f$[e.operation],
+ confirmLabel: p$[e.operation],
onConfirm: () => H("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), u$(`tag-management-${Date.now()}`, {
- html: `已${f$[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), d$(`tag-management-${Date.now()}`, {
+ html: `已${p$[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function g$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, F.useRef)({
operation: e,
selected: t,
@@ -67417,24 +67432,24 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
scope: i
}), o = (0, F.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? d$(t[0]) : 0
+ target_id: t[0] ? f$(t[0]) : 0
}), [s, c] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let e = new AbortController(), t = a.current, n = rl({
- title: f$[t.operation],
+ title: p$[t.operation],
confirmLabel: "预览影响范围",
confirmDisabled: !0,
body: "<div class=\"peach-react\" data-tag-editor-fields></div>",
onConfirm: async () => {
let n = {
operation: t.operation,
- ids: t.selected.map(d$),
+ ids: t.selected.map(f$),
...t.scope === "online" ? { scope: t.scope } : {},
...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }
};
return {
command: n,
- plan: await p$(n, e.signal)
+ plan: await m$(n, e.signal)
};
}
});
@@ -67445,14 +67460,14 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await m$(r.command, r.plan, e.signal) && t.done();
+ await h$(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(aOe, {
+ }, []), s ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(oOe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -67461,8 +67476,8 @@ function h$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function aOe({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? d$(t[0]) : 0);
+function oOe({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? f$(t[0]) : 0);
return (0, F.useEffect)(() => {
r({
name: i,
@@ -67475,28 +67490,28 @@ function aOe({ operation: e, selected: t, dialog: n, update: r }) {
e,
t,
r
- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(vV, {
+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(yV, {
autoFocus: !0,
"aria-label": "标签名称",
value: i,
onChange: a,
maxLength: 80
- }) : /* @__PURE__ */ (0, I.jsx)(cY, {
+ }) : /* @__PURE__ */ (0, I.jsx)(lY, {
"aria-label": "保留的标签",
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(d$(t)) === String(e));
- n && s(d$(n));
+ let n = t.find((t) => String(f$(t)) === String(e));
+ n && s(f$(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
- id: String(d$(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
+ id: String(f$(e)),
children: e.k
- }, d$(e)))
+ }, f$(e)))
});
}
// src/react/index/tag-manager.tsx
-function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function _$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([
o,
_,
@@ -67504,7 +67519,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
g,
v,
b
- ]), { pagination: C, onChange: w } = ZQ(S), T = new URLSearchParams({
+ ]), { pagination: C, onChange: w } = QQ(S), T = new URLSearchParams({
limit: String(C.pageSize),
offset: String(C.pageIndex * C.pageSize),
q: _,
@@ -67521,25 +67536,25 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
],
queryFn: ({ signal: e }) => V(`/api/tag-management?${T}`, e)
});
- QQ(E.data?.total, C, w);
+ $Q(E.data?.total, C, w);
let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());
(0, F.useEffect)(() => {
O(/* @__PURE__ */ new Map());
}, [S]);
- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = EH(), ee = E.data?.items || [], N = ee, te = (s ? mZ : pZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = DH(), ee = E.data?.items || [], N = ee, te = (s ? hZ : mZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
...e,
label: e.k
- })), ne = g === "alphabet" ? wZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
+ })), ne = g === "alphabet" ? TZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
M.run(e.operation, async (t) => {
let n = s ? {
...e,
scope: o
} : e;
- return m$(n, await p$(n, t), t);
+ return h$(n, await m$(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, ae = re.map(d$), oe = {
+ }, ae = re.map(f$), oe = {
online: s,
favorites: s,
picked: k,
@@ -67560,13 +67575,13 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: [
e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mb-4 flex",
- children: /* @__PURE__ */ (0, I.jsx)(XQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZQ, {
label: "过滤标签",
value: l,
onQuery: u
})
}) : null,
- /* @__PURE__ */ (0, I.jsx)(i$, {
+ /* @__PURE__ */ (0, I.jsx)(a$, {
categories: te,
category: h,
online: s,
@@ -67594,7 +67609,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
} } : {}
},
actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(kL, {
+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(AL, {
busy: M.busy === "repair",
onPress: () => ie({
operation: "repair",
@@ -67602,11 +67617,11 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
children: "整理重复标签"
}) : null,
- N.length ? /* @__PURE__ */ (0, I.jsx)(kL, {
+ N.length ? /* @__PURE__ */ (0, I.jsx)(AL, {
onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),
children: "选择本页"
}) : null,
- k.size ? /* @__PURE__ */ (0, I.jsx)(kL, {
+ k.size ? /* @__PURE__ */ (0, I.jsx)(AL, {
onPress: () => O(/* @__PURE__ */ new Map()),
children: "清空选择"
}) : null
@@ -67615,7 +67630,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: $s({
mode: g,
pageSize: C.pageSize
- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -67623,19 +67638,19 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: "立即重试"
}),
children: "无法读取标签"
- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(n$, {
+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(r$, {
groups: ne,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(r$, {
+ }) : /* @__PURE__ */ (0, I.jsx)(i$, {
tags: P,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(xV, {
+ }) : /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: "没有符合条件的标签。"
}),
E.data ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(dY, {
+ children: /* @__PURE__ */ (0, I.jsx)(fY, {
label: "标签管理",
total: E.data.total,
pagination: C,
@@ -67645,11 +67660,11 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
pageSizes: Qs
})
}) : null,
- M.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ M.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, I.jsxs)(Mj, {
+ /* @__PURE__ */ (0, I.jsxs)(Nj, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -67671,7 +67686,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(!!M.busy),
+ ...DV(!!M.busy),
onClick: () => ie({
operation: v ? "restore" : "hide",
ids: ae
@@ -67681,7 +67696,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
s ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(!!M.busy),
+ ...DV(!!M.busy),
onClick: () => ie({
operation: b ? "unblock" : "block",
ids: ae
@@ -67690,7 +67705,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, I.jsx)(h$, {
+ A ? /* @__PURE__ */ (0, I.jsx)(g$, {
operation: A,
selected: re,
scope: o,
@@ -67701,7 +67716,7 @@ function g$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var oOe = [
+var sOe = [
{
value: "studios",
label: "厂牌",
@@ -67717,7 +67732,7 @@ var oOe = [
label: "系列",
symbol: "list"
}
-], sOe = [{
+], cOe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -67725,7 +67740,7 @@ var oOe = [
value: "online",
label: "在线",
symbol: "rss"
-}], cOe = [
+}], lOe = [
{
value: "performers",
label: "艺人",
@@ -67741,7 +67756,7 @@ var oOe = [
label: "在线",
symbol: "rss"
}
-], lOe = {
+], uOe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -67770,20 +67785,20 @@ var oOe = [
"layout-grid"
]]
};
-function uOe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, I.jsx)(NU, {
- "aria-label": `${fZ[e]}索引版式`,
+function dOe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, I.jsx)(PU, {
+ "aria-label": `${pZ[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none ${PU}`,
- children: lOe[e === "series" ? "series" : _Z(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = wV(n);
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: `flex-none ${FU}`,
+ children: uOe[e === "series" ? "series" : vZ(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = TV(n);
+ return /* @__PURE__ */ (0, I.jsx)(Yz, {
value: e,
"aria-label": t,
- className: hve,
+ className: gve,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -67793,8 +67808,8 @@ function uOe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function dOe(e) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => vZ({
+function fOe(e) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => yZ({
kind: e.kind,
q: e.q,
scope: e.scope,
@@ -67807,8 +67822,8 @@ function dOe(e) {
e.view,
e.category
]), [o, s] = (0, F.useState)(a);
- a !== o && (s(a), i(vZ(e)));
- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = fZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
+ a !== o && (s(a), i(yZ(e)));
+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = pZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
(0, F.useEffect)(() => {
if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;
let t = !0;
@@ -67827,7 +67842,7 @@ function dOe(e) {
...t
};
i(o), e.route(o, { replace: a });
- }, { pagination: w, onChange: T } = ZQ(JSON.stringify(r)), E = SZ(yZ(r), w.pageSize), D = Ft({
+ }, { pagination: w, onChange: T } = QQ(JSON.stringify(r)), E = CZ(bZ(r), w.pageSize), D = Ft({
queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [
...E.queryKey,
"page",
@@ -67842,7 +67857,7 @@ function dOe(e) {
getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,
enabled: !(t && h === "tags"),
placeholderData: Oe
- }), O = WTe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
+ }), O = GTe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
(0, F.useEffect)(() => {
cm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });
}, [
@@ -67850,8 +67865,8 @@ function dOe(e) {
D.isPending,
D.isPlaceholderData,
r
- ]), QQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : GTe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
+ ]), $Q(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : KTe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
te && !D.isPlaceholderData && (N.current = {
key: ee,
counts: te
@@ -67867,15 +67882,15 @@ function dOe(e) {
O,
h,
x
- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? wZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? TZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
ie,
v,
h,
x
]), oe = (t) => {
l(t), e.savePreference({ layout: t });
- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: sOe,
+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(NW, {
+ tabs: cOe,
value: _,
label: "词表",
onChange: (e) => {
@@ -67885,8 +67900,8 @@ function dOe(e) {
view: e === "online" ? "alphabet" : v
});
}
- }) : _Z(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: oOe,
+ }) : vZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(NW, {
+ tabs: sOe,
value: h,
label: "资料类型",
onChange: (e) => C({ kind: e })
@@ -67895,7 +67910,7 @@ function dOe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, le = (x ? mZ : pZ).filter(re);
+ }, le = (x ? hZ : mZ).filter(re);
return /* @__PURE__ */ (0, I.jsxs)("div", {
ref: m,
"data-index-page": h,
@@ -67910,10 +67925,10 @@ function dOe(e) {
className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: b
}),
- gZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ _Z(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(xL, {
text: k ? void 0 : D.isError ? "" : M,
busy: k,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -67922,18 +67937,18 @@ function dOe(e) {
})
})
}) : null,
- gZ(h) ? /* @__PURE__ */ (0, I.jsx)(uOe, {
+ _Z(h) ? /* @__PURE__ */ (0, I.jsx)(dOe, {
kind: h,
layout: c,
onChange: oe
}) : null,
- /* @__PURE__ */ (0, I.jsx)(zV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, I.jsx)(BV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),
h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: t ? "primary" : "ghost",
iconOnly: !0,
className: "flex-none",
"data-tag-mode": "",
- leadingIcon: wV("pencil"),
+ leadingIcon: TV("pencil"),
"aria-label": t ? "返回标签浏览" : "管理标签",
title: t ? "返回标签浏览" : "管理标签",
"aria-pressed": t,
@@ -67941,7 +67956,7 @@ function dOe(e) {
e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, I.jsx)(XQ, {
+ /* @__PURE__ */ (0, I.jsx)(ZQ, {
label: `过滤${b}`,
value: g,
onQuery: (e) => {
@@ -67950,8 +67965,8 @@ function dOe(e) {
})
]
}),
- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: cOe,
+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(NW, {
+ tabs: lOe,
value: S ? "online" : h,
label: "人物名册",
onChange: (t) => {
@@ -67963,7 +67978,7 @@ function dOe(e) {
}
}) : null,
se,
- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(g$, {
+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(_$, {
scope: _,
search: g,
category: y,
@@ -67977,8 +67992,8 @@ function dOe(e) {
}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {
"aria-label": "身份分类",
- className: dZ,
- children: uZ.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
+ className: fZ,
+ children: dZ.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: y === e ? "primary" : "secondary",
size: "small",
"aria-pressed": y === e,
@@ -67986,7 +68001,7 @@ function dOe(e) {
children: t
}, e))
}) : null,
- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(i$, {
+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(a$, {
categories: le,
category: y,
online: x,
@@ -68002,7 +68017,7 @@ function dOe(e) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("div", {
"data-index-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(QG, {
+ children: /* @__PURE__ */ (0, I.jsx)($G, {
pending: k,
skeletonHtml: () => h === "tags" ? $s({
mode: v,
@@ -68014,8 +68029,8 @@ function dOe(e) {
}),
children: (() => {
if (k) return null;
- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV("alert"),
+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV("alert"),
title: `没能读取${b}`,
actions: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -68024,7 +68039,7 @@ function dOe(e) {
}),
children: yn(D.error)
});
- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(pOe, {
+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(mOe, {
kind: h,
filtered: !!g || y !== "all",
online: x || S,
@@ -68033,12 +68048,12 @@ function dOe(e) {
category: "all"
})
});
- if (S) return /* @__PURE__ */ (0, I.jsx)(XTe, {
+ if (S) return /* @__PURE__ */ (0, I.jsx)(ZTe, {
items: O,
layout: c,
props: e
});
- if (gZ(h)) return /* @__PURE__ */ (0, I.jsx)(DZ, {
+ if (_Z(h)) return /* @__PURE__ */ (0, I.jsx)(OZ, {
kind: h,
items: O,
layout: c,
@@ -68049,10 +68064,10 @@ function dOe(e) {
picked: u,
press: ce
};
- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(n$, {
+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(r$, {
groups: ae,
actions: t
- }) : /* @__PURE__ */ (0, I.jsx)(r$, {
+ }) : /* @__PURE__ */ (0, I.jsx)(i$, {
tags: ie,
actions: t
});
@@ -68061,7 +68076,7 @@ function dOe(e) {
}),
h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(dY, {
+ children: /* @__PURE__ */ (0, I.jsx)(fY, {
label: "标签",
total: j ?? O.length,
pagination: w,
@@ -68086,7 +68101,7 @@ function dOe(e) {
}) : null, "载入更多"]
})
}) : null,
- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(rOe, {
+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(iOe, {
count: u.size,
match: f,
onMatch: p,
@@ -68100,7 +68115,7 @@ function dOe(e) {
]
});
}
-var fOe = {
+var pOe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -68108,9 +68123,9 @@ var fOe = {
agencies: "事务所",
series: "系列"
};
-function pOe({ kind: e, filtered: t, online: n, onClear: r }) {
- if (t) return /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV("search"),
+function mOe({ kind: e, filtered: t, online: n, onClear: r }) {
+ if (t) return /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -68119,16 +68134,16 @@ function pOe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : fOe[e], a = /* @__PURE__ */ (0, I.jsx)(PL, {
+ let i = n && e === "performers" ? "创作者" : pOe[e], a = /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: wV(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: TV(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -68136,15 +68151,15 @@ function pOe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var _$ = {
+var v$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, mOe = (e) => _$[e.junk_kind || "other"] || _$.other;
-function hOe(e) {
+}, hOe = (e) => v$[e.junk_kind || "other"] || v$.other;
+function gOe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -68155,40 +68170,40 @@ function hOe(e) {
glyph: "check"
};
}
-var v$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), gOe = (e, t) => [
+var y$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), _Oe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function _Oe({ kind: e, view: t }) {
+function vOe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function vOe(e, t) {
- let n = await V(`/api/ads?${_Oe(e)}`, t);
+async function yOe(e, t) {
+ let n = await V(`/api/ads?${vOe(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function y$({ name: e }) {
+function b$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var b$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = mOe(e), m = String(e.name || ""), h = hOe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || b$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var x$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function bOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = hOe(e), m = String(e.name || ""), h = gOe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+ t.target.closest("[data-junk-actions]") || x$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), b$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), x$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, b = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, x = (t) => (n) => {
@@ -68219,7 +68234,7 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: pK,
+ onMouseDown: mK,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
@@ -68227,7 +68242,7 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -68239,7 +68254,7 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(y$, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(b$, { name: "check" })
})
]
}),
@@ -68276,7 +68291,7 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Rs("正在定位") }
- }) : /* @__PURE__ */ (0, I.jsx)(y$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : /* @__PURE__ */ (0, I.jsx)(b$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -68288,7 +68303,7 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -68300,7 +68315,7 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, I.jsx)(y$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -68315,9 +68330,9 @@ function yOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var bOe = (0, F.memo)(yOe);
+var xOe = (0, F.memo)(bOe);
// src/react/components/collection-summary.tsx
-function x$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function S$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -68343,31 +68358,31 @@ function x$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function S$({ name: e }) {
+function C$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function C$({ scope: e, count: t }) {
+function w$({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function xOe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = ZV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = ML(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? YU.map(([e]) => v$(t, e)).join(",") : ""}`), l = QU(s), u = (e) => {
+function SOe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = QV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = NL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? XU.map(([e]) => y$(t, e)).join(",") : ""}`), l = $U(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || ZU()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || QU()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, I.jsx)(x$, {
- label: $U(s),
+ children: /* @__PURE__ */ (0, I.jsx)(S$, {
+ label: eW(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -68387,17 +68402,17 @@ function xOe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- YU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
- href: ZU(e, s),
+ XU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ href: QU(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(S$, { name: r }),
+ /* @__PURE__ */ (0, I.jsx)(C$, { name: r }),
n,
- /* @__PURE__ */ (0, I.jsx)(C$, {
+ /* @__PURE__ */ (0, I.jsx)(w$, {
scope: e,
- count: t ? v$(t, e) : 0
+ count: t ? y$(t, e) : 0
})
]
}, e || "all")),
@@ -68411,9 +68426,9 @@ function xOe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(S$, { name: l.glyph }),
+ /* @__PURE__ */ (0, I.jsx)(C$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, I.jsx)(C$, {
+ /* @__PURE__ */ (0, I.jsx)(w$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -68425,33 +68440,33 @@ function xOe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var SOe = wV("check"), COe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function wOe(e) {
+var COe = TV("check"), wOe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function TOe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Nt({
- queryKey: gOe(t, e.revision),
- queryFn: ({ signal: e }) => vOe(t, e),
- placeholderData: (e, n) => n && COe(n.queryKey, t) ? e : void 0
+ queryKey: _Oe(t, e.revision),
+ queryFn: ({ signal: e }) => yOe(t, e),
+ placeholderData: (e, n) => n && wOe(n.queryKey, t) ? e : void 0
});
(0, F.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = TOe(e.countRow), i = n.isPending;
+ let r = EOe(e.countRow), i = n.isPending;
(0, F.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {
r && n.data && Xs(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(xOe, {
+ let { navigate: a } = e.actions, o = r ? (0, It.createPortal)(/* @__PURE__ */ (0, I.jsx)(SOe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(EOe, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(DOe, {
props: e,
data: n.data,
pending: i,
@@ -68459,7 +68474,7 @@ function wOe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function TOe(e) {
+function EOe(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -68469,8 +68484,8 @@ function TOe(e) {
};
}, [e]), t;
}
-function EOe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Nye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
+function DOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Pye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -68478,16 +68493,16 @@ function EOe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, I.jsx)(ZG, {
+ if (!t) return /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, I.jsx)(SV, {
- icon: SOe,
+ return /* @__PURE__ */ (0, I.jsx)(CV, {
+ icon: COe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: t ? /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -68500,7 +68515,7 @@ function EOe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(bOe, {
+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(xOe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -68509,7 +68524,7 @@ function EOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(DOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(OOe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -68519,14 +68534,14 @@ function EOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function DOe({ onMore: e }) {
+function OOe({ onMore: e }) {
let t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let n = t.current;
if (!n || typeof IntersectionObserver > "u") return;
let r = new IntersectionObserver((t) => {
t.some((e) => e.isIntersecting) && e();
- }, { rootMargin: XG });
+ }, { rootMargin: ZG });
return r.observe(n), () => r.disconnect();
}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
@@ -68536,22 +68551,22 @@ function DOe({ onMore: e }) {
});
}
// src/react/components/fieldset-layout.ts
-var OOe = RH({
+var kOe = zH({
padding: "none",
className: "overflow-hidden"
-}), w$ = {
+}), T$ = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, T$ = {
+}, E$ = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
};
-function E$(e) {
- return `${OOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function D$(e) {
+ return `${kOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/react/data-cleanup/cleanup-entry.ts
-var D$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", O$ = {
- face: RH({
+var O$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", k$ = {
+ face: zH({
padding: "none",
radius: "plain",
interactive: !0,
@@ -68563,34 +68578,34 @@ var D$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", O
summary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",
detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",
arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"
-}, kOe = [
+}, AOe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], AOe = [
+], jOe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function jOe(e = {}) {
- return `${RH({
+function MOe(e = {}) {
+ return `${zH({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var MOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", NOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function k$({ interactive: e = !1 } = {}) {
- return RH({
+var NOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", POe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function A$({ interactive: e = !1 } = {}) {
+ return zH({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var A$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function POe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var j$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function FOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -68623,13 +68638,13 @@ function POe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet
})
] });
}
-function FOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function IOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, I.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${kOe[n % 4]} ${AOe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${AOe[n % 4]} ${jOe[n % 4]}`,
children: /* @__PURE__ */ (0, I.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -68650,102 +68665,102 @@ function FOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
] });
}
// src/management.ts
-var j$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", M$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", N$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", P$ = "disabled data-skeleton-action", IOe = "aria-disabled=\"true\"", F$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, I$ = (e, t, n) => `<div class="${w$[n]}"><div class="flex flex-col gap-2">
+var M$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", N$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", P$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", F$ = "disabled data-skeleton-action", LOe = "aria-disabled=\"true\"", I$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, L$ = (e, t, n) => `<div class="${T$[n]}"><div class="flex flex-col gap-2">
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;
-function LOe() {
- return F$(`<section aria-label="扫描与采集" class="${E$("stack")}" data-cleanup-task data-cleanup-processing>
- ${I$("扫描与采集", j$, "stack")}
- <footer class="${T$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Cs("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Es({
+function ROe() {
+ return I$(`<section aria-label="扫描与采集" class="${D$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${L$("扫描与采集", M$, "stack")}
+ <footer class="${E$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Cs("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Es({
label: "同步新增文件",
- attrs: P$
+ attrs: F$
})}${Es({
glyph: "chevron-down",
- attrs: `${P$} aria-label="更多同步方式"`
+ attrs: `${F$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function ROe() {
- return F$(`<section aria-label="媒体修复" class="${E$("split")}" data-cleanup-task data-cleanup-processing>
- ${I$("媒体修复", M$, "split")}
- <footer class="${T$.split}">${Os(N$, {
+function zOe() {
+ return I$(`<section aria-label="媒体修复" class="${D$("split")}" data-cleanup-task data-cleanup-processing>
+ ${L$("媒体修复", N$, "split")}
+ <footer class="${E$.split}">${Os(P$, {
className: "w-48",
- attrs: IOe
+ attrs: LOe
})}${Es({
label: "开始修复",
- attrs: P$
+ attrs: F$
})}</footer>
</section>`);
}
-function zOe() {
- let e = (e, t, n, r = "") => `<div class="${O$.face}"><span class="${O$.icon}">${Cs(t, "size-5")}</span><span class="${O$.body}"><span class="${O$.title}">${e}</span><span class="${O$.summary}">${n}</span>${r ? `<span class="${O$.detail}">${r}</span>` : ""}</span>${Cs("chevron-right", O$.arrow)}</div>`, t = (e, t) => `<div class="${k$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Cs(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${N$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${N$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Kf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
+function BOe() {
+ let e = (e, t, n, r = "") => `<div class="${k$.face}"><span class="${k$.icon}">${Cs(t, "size-5")}</span><span class="${k$.body}"><span class="${k$.title}">${e}</span><span class="${k$.summary}">${n}</span>${r ? `<span class="${k$.detail}">${r}</span>` : ""}</span>${Cs("chevron-right", k$.arrow)}</div>`, t = (e, t) => `<div class="${A$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Cs(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${P$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${P$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Kf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${A$}">${[
+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${j$}">${[
["人工复核", "square-check-big"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["高清版", "sparkles"],
["回收站", "trash"]
].map(([e, n]) => t(e, n)).join("")}</div></section>
- <div id="libraryProcessing" class="scroll-mt-20">${LOe()}</div>
- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${D$}">${r(!1)}</div></section>
- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${D$}">${r(!0)}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${ROe()}</div>
+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${O$}">${r(!1)}</div></section>
+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${O$}">${r(!0)}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var BOe = RH({
+var VOe = zH({
padding: "none",
radius: "surface",
className: "overflow-hidden"
-}), VOe = "border-t border-border-button-default p-4 first:border-t-0";
-function HOe({ id: e, children: t }) {
+}), HOe = "border-t border-border-button-default p-4 first:border-t-0";
+function UOe({ id: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function L$({ id: e, gap: t = "none", children: n }) {
+function R$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function z$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: E$(e),
+ className: D$(e),
children: [/* @__PURE__ */ (0, I.jsx)("div", {
- className: w$[e],
+ className: T$[e],
children: a
}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {
- className: T$[e],
+ className: E$[e],
children: i
}) : null]
});
}
// src/react/components/status-label.tsx
-var UOe = {
+var WOe = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function z$({ tone: e = "neutral", ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(aW, {
+function B$({ tone: e = "neutral", ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(oW, {
"data-status-tone": e,
variant: "caption",
- color: UOe[e],
+ color: WOe[e],
...t
});
}
// src/react/components/path-line.tsx
-function WOe({ className: e }) {
+function GOe({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -68758,8 +68773,8 @@ function WOe({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })
});
}
-var GOe = "打开文件管理器失败,请重试";
-function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
+var KOe = "打开文件管理器失败,请重试";
+function V$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);
(0, F.useEffect)(() => () => {
l.current = !1;
@@ -68770,7 +68785,7 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
try {
await H("/api/reveal", { path: e }), i?.("已在资源管理器中显示");
} catch (e) {
- l.current && c(e instanceof ar ? e.message : GOe);
+ l.current && c(e instanceof ar ? e.message : KOe);
} finally {
l.current && o(!1);
}
@@ -68781,16 +68796,16 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("p", {
- className: JI("min-w-0 break-all", n),
+ className: YI("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(SL, {
- icon: WOe,
+ children: [/* @__PURE__ */ (0, I.jsx)(CL, {
+ icon: GOe,
size: "small",
"aria-label": "在资源管理器中显示",
onClick: () => void u(),
- ...EV(a)
+ ...DV(a)
}), r]
})]
}), s ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -68800,7 +68815,7 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
});
}
// src/react/library-processing/issue-export.ts
-async function KOe(e, t) {
+async function qOe(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -68823,69 +68838,69 @@ async function KOe(e, t) {
rows: n
}, null, 2);
}
-function qOe(e, t) {
+function JOe(e, t) {
let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");
r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);
}
// src/react/library-processing/library-processing-card.tsx
-var JOe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", YOe = (e) => {
+var YOe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", XOe = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, XOe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + YOe(e);
-function ZOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = p_e(e), o = EH(), s = EH(), [c, l] = (0, F.useState)(""), u = fH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = u_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && pH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = uH(e), y = ZV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => H(cH, {
+}, ZOe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + XOe(e);
+function QOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = m_e(e), o = DH(), s = DH(), [c, l] = (0, F.useState)(""), u = pH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = d_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && mH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = dH(e), y = QV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => H(lH, {
action: t ? "archive" : "unarchive",
job_id: e.job_id
}, "POST", n), (n) => {
- U.setQueryData(lH, n), l(t ? e.job_id : "");
+ U.setQueryData(uH, n), l(t ? e.job_id : "");
}), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(!!o.busy),
- onClick: () => void o.run("export", (t) => KOe(e, t), (t) => {
- qOe(e.job_id, t), i("已导出问题清单");
+ ...DV(!!o.busy),
+ onClick: () => void o.run("export", (t) => qOe(e, t), (t) => {
+ JOe(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, S = p ? [
t || e.error || "处理未完成,请重试",
- m ? mH : "",
+ m ? hH : "",
f
].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- v ? /* @__PURE__ */ (0, I.jsx)(g_e, {
+ v ? /* @__PURE__ */ (0, I.jsx)(__e, {
state: e,
slow: v
- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "warning",
title: "处理较慢",
- children: JOe
+ children: YOe
}) : null,
- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "success",
title: "处理完成",
- children: XOe(n)
+ children: ZOe(n)
}) : null,
- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
title: "已取消上次任务",
children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"
}) : null,
- h ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ h ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: p ? m ? "warning" : "error" : "neutral",
className: "gap-0 p-3",
title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,
action: /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- m ? /* @__PURE__ */ (0, I.jsx)(TH, {
- href: hH,
+ m ? /* @__PURE__ */ (0, I.jsx)(EH, {
+ href: gH,
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: "查看全部内容"
}) : null,
d ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -68899,7 +68914,7 @@ function ZOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
"aria-label": "归档提示",
- ...EV(!!s.busy),
+ ...DV(!!s.busy),
onClick: () => b(!0),
children: "归档"
}) : null
@@ -68907,7 +68922,7 @@ function ZOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}),
extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",
- children: /* @__PURE__ */ (0, I.jsx)(hU, {
+ children: /* @__PURE__ */ (0, I.jsx)(gU, {
summary: a.label,
contentClassName: "gap-0",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -68941,7 +68956,7 @@ function ZOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsx)(B$, {
+ children: /* @__PURE__ */ (0, I.jsx)(V$, {
path: _,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -68954,70 +68969,70 @@ function ZOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null] }),
children: S
}) : null,
- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...EV(!!s.busy),
+ ...DV(!!s.busy),
onClick: () => b(!1),
children: "撤销"
}),
children: "已归档上一趟的问题提示,完整记录仍保留。"
}) : null,
- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "warning",
children: o.error || s.error
}) : null
]
});
}
-function V$(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = LH(e), o = Pt({
- mutationFn: (e) => H(cH, e),
+function H$(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = RH(e), o = Pt({
+ mutationFn: (e) => H(lH, e),
onSuccess: (e) => {
- a(), U.setQueryData(lH, e), U.invalidateQueries({ queryKey: lH });
+ a(), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });
}
});
(0, F.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = jU(c), u = o.error ? sr(o.error) : r.isError ? r.data ? yH : sr(r.error) : "", d = o.isPending || fH(s), f = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = MU(c), u = o.error ? sr(o.error) : r.isError ? r.data ? bH : sr(r.error) : "", d = o.isPending || pH(s), f = async (e) => {
d || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, I.jsx)(R$, {
+ children: [/* @__PURE__ */ (0, I.jsx)(z$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(TH, {
+ /* @__PURE__ */ (0, I.jsx)(EH, {
href: "/sources",
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: "来源和凭证"
}),
- /* @__PURE__ */ (0, I.jsx)(TH, {
+ /* @__PURE__ */ (0, I.jsx)(EH, {
href: "/settings/diagnostics",
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: "诊断与日志"
}),
- s.candidates ? /* @__PURE__ */ (0, I.jsx)(TH, {
+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(EH, {
href: "/review",
size: "small",
- trailingIcon: PB,
+ trailingIcon: FB,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(tq, {
+ /* @__PURE__ */ (0, I.jsx)(nq, {
scan: !0,
busy: o.isPending,
- occupied: fH(s),
+ occupied: pH(s),
metadataOnly: s?.metadata_only,
speedMode: s.speed_mode,
pendingCount: s.new_asset_count,
onRun: f,
- onOccupied: () => t(c_e(s))
+ onOccupied: () => t(l_e(s))
})
] }),
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -69027,7 +69042,7 @@ function V$(e) {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(L$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(aW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(R$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(oW, {
variant: "caption",
color: "blue",
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69035,31 +69050,31 @@ function V$(e) {
children: [s.new_asset_count.toLocaleString(), " 部待补全"]
})
}) : null]
- }), l && (fH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
+ }), l && (pH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => AU(c, !0),
+ onClick: () => jU(c, !0),
children: "显示进度浮窗"
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: j$
+ children: M$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, I.jsx)(z$, { children: "已暂停" })
- }) : fH(s) ? /* @__PURE__ */ (0, I.jsx)(j_e, { state: s }) : null,
- fH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
+ children: /* @__PURE__ */ (0, I.jsx)(B$, { children: "已暂停" })
+ }) : pH(s) ? /* @__PURE__ */ (0, I.jsx)(M_e, { state: s }) : null,
+ pH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
- children: gH(s)
+ children: _H(s)
}) : null,
- fH(s) ? /* @__PURE__ */ (0, I.jsx)(CU, { traffic: s.traffic }) : null,
- fH(s) ? /* @__PURE__ */ (0, I.jsx)(IH, { state: s }) : null
+ pH(s) ? /* @__PURE__ */ (0, I.jsx)(wU, { traffic: s.traffic }) : null,
+ pH(s) ? /* @__PURE__ */ (0, I.jsx)(LH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, I.jsx)(ZOe, {
+ }), /* @__PURE__ */ (0, I.jsx)(QOe, {
state: s,
problem: u,
settled: i,
@@ -69074,32 +69089,32 @@ function V$(e) {
});
}
// src/react/playlists/playlists.ts
-var QOe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => V(QOe, e);
-async function $Oe(e) {
+var $Oe = "/api/playlists", U$ = "/api/playlist", W$ = ["playlists"], G$ = (e) => V($Oe, e);
+async function eke(e) {
await U.fetchQuery({
- queryKey: U$,
- queryFn: () => W$(e),
+ queryKey: W$,
+ queryFn: () => G$(e),
staleTime: 0
});
}
-var eke = () => U.invalidateQueries({
- queryKey: U$,
+var tke = () => U.invalidateQueries({
+ queryKey: W$,
exact: !0
-}), tke = (e) => e.current_asset_id || e.preview_asset_id || null, nke = (e) => `/poster?id=${e}&c=4`, rke = (e) => H(H$, {
+}), nke = (e) => e.current_asset_id || e.preview_asset_id || null, rke = (e) => `/poster?id=${e}&c=4`, ike = (e) => H(U$, {
action: "create",
name: e,
asset_ids: []
-}), ike = (e, t) => H(H$, {
+}), ake = (e, t) => H(U$, {
action: "rename",
id: e,
name: t
-}), ake = (e) => H(H$, {
+}), oke = (e) => H(U$, {
action: "delete",
id: e
-}), oke = (e) => V(`${H$}?id=${e}`).catch(() => null);
-function ske(e) {
+}), ske = (e) => V(`${U$}?id=${e}`).catch(() => null);
+function cke(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return H(H$, {
+ return H(U$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -69108,13 +69123,9 @@ function ske(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => V(G$, e), cke = "/api/scraping", lke = "/api/scraping/settings", uke = "/api/scraping/check", J$ = "/api/scraping/cover", dke = "/api/scraping/amane-bridge", fke = "/api/scraping/amane-bridge/check", pke = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], mke = 262144, Q$ = (e) => V(cke, e), $$ = (e) => V(J$, e), e1 = (e) => V(dke, e);
-async function hke(e) {
+var K$ = "/api/custom-metadata", q$ = ["custom-metadata"], J$ = (e) => V(K$, e), lke = "/api/scraping", uke = "/api/scraping/settings", dke = "/api/scraping/check", Y$ = "/api/scraping/cover", fke = "/api/scraping/amane-bridge", pke = "/api/scraping/amane-bridge/check", mke = "/api/scraping/amane-bridge/rebuild", X$ = ["scraping"], Z$ = ["scraping", "cover"], Q$ = ["scraping", "amane-bridge"], hke = 262144, $$ = (e) => V(lke, e), e1 = (e) => V(Y$, e), t1 = (e) => V(fke, e);
+async function gke(e) {
await Promise.all([
- U.fetchQuery({
- queryKey: Y$,
- queryFn: () => Q$(e)
- }),
U.fetchQuery({
queryKey: X$,
queryFn: () => $$(e)
@@ -69124,36 +69135,40 @@ async function hke(e) {
queryFn: () => e1(e)
}),
U.fetchQuery({
- queryKey: K$,
- queryFn: () => q$(e)
+ queryKey: Q$,
+ queryFn: () => t1(e)
+ }),
+ U.fetchQuery({
+ queryKey: q$,
+ queryFn: () => J$(e)
})
]);
}
-function gke(e, t) {
+function _ke(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
// src/react/search/search.ts
-var t1 = /* @__PURE__ */ new Set([
+var n1 = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), n1 = /* @__PURE__ */ new Set([
+]), r1 = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function _ke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), i1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function vke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
let c = 0, l = [], u = (e) => {
let t = {
...e,
index: c++
};
return l.push(t), t;
- }, d = t.filter((t) => !e || r1(t).includes(r1(e)));
+ }, d = t.filter((t) => !e || i1(t).includes(i1(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -69174,8 +69189,8 @@ function _ke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !n1.has(e.kind)),
- right: e.filter((e) => n1.has(e.kind)),
+ left: e.filter((e) => !r1.has(e.kind)),
+ right: e.filter((e) => r1.has(e.kind)),
empty: !1,
options: l
};
@@ -69225,7 +69240,7 @@ function _ke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !r1.has(e.kind)).map(h), _ = m.filter((e) => r1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -69235,16 +69250,16 @@ function _ke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function vke(e, t, n = Math.random) {
+function yke(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => i1(t) === i1(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var yke = () => ({
+var bke = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -69263,7 +69278,7 @@ var yke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), i1 = (e) => _ke({
+}), a1 = (e) => vke({
query: e.query,
history: e.history,
picks: e.picks,
@@ -69272,18 +69287,18 @@ var yke = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), bke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+}), xke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), o1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
-function xke(e) {
+function Ske(e) {
let t = (0, F.useRef)(e);
t.current = e;
let n = (0, F.useRef)(null);
- n.current ??= yke();
+ n.current ??= bke();
let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);
- o.current ??= Ske(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Cke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, F.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {
@@ -69298,7 +69313,7 @@ function xke(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(wke, {
+ let c = a1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Tke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -69311,7 +69326,7 @@ function xke(e) {
children: [
/* @__PURE__ */ (0, I.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, I.jsx)("a", {
href: e.href,
- onMouseDown: o1,
+ onMouseDown: s1,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -69330,7 +69345,7 @@ function xke(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, I.jsx)(Cke, {
+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(wke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -69357,7 +69372,7 @@ function xke(e) {
]
});
}
-function Ske(e, t, n, r) {
+function Cke(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -69368,7 +69383,7 @@ function Ske(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), H("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => i1(e) !== i1(t))]), H("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -69415,9 +69430,9 @@ function Ske(e, t, n, r) {
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
if (t.dismissed) return;
- t.query = i().value.trim(), t.picks = t.query ? [] : vke(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : yke(t.pool, o()), t.active = -1;
let a = n();
- a && (bke(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (xke(a1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -69429,7 +69444,7 @@ function Ske(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {
a() && t.kind === e && h();
}));
- }, v = () => p() ? i1(t).options : [], y = (e) => {
+ }, v = () => p() ? a1(t).options : [], y = (e) => {
let n = v();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, b = (t, n) => {
@@ -69438,7 +69453,7 @@ function Ske(e, t, n, r) {
}, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, S = (t) => {
- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && n1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -69484,13 +69499,13 @@ function Ske(e, t, n, r) {
await H("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => i1(t) !== i1(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function Cke({ tabs: e, kind: t, onPick: n, wire: r }) {
+function wke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
r(i.current);
@@ -69504,9 +69519,9 @@ function Cke({ tabs: e, kind: t, onPick: n, wire: r }) {
"data-pill-variant": "gray",
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(OW, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(jW, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, I.jsxs)(ZI, {
+ return /* @__PURE__ */ (0, I.jsxs)(QI, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -69515,9 +69530,9 @@ function Cke({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var o1 = (e) => e.preventDefault();
-function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
- yL();
+var s1 = (e) => e.preventDefault();
+function Tke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ bL();
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -69529,33 +69544,33 @@ function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: o1,
+ onMouseDown: s1,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, I.jsx)(a1, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(o1, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, I.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, I.jsx)(o1, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: o1,
+ onMouseDown: s1,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(a1, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(o1, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = n1.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -69569,8 +69584,8 @@ function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "work",
"data-open-item": c === "asset" ? s.id : void 0,
...o,
- onMouseDown: o1,
- children: [/* @__PURE__ */ (0, I.jsx)(s1, {
+ onMouseDown: s1,
+ children: [/* @__PURE__ */ (0, I.jsx)(c1, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69595,9 +69610,9 @@ function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: o1,
+ onMouseDown: s1,
children: [
- /* @__PURE__ */ (0, I.jsx)(c1, {
+ /* @__PURE__ */ (0, I.jsx)(l1, {
item: s,
kind: c
}),
@@ -69620,11 +69635,11 @@ function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: o1,
+ onMouseDown: s1,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
card: e,
helpers: n
})
@@ -69638,7 +69653,7 @@ function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(c1, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(l1, {
item: s,
kind: c
}) : null,
@@ -69651,13 +69666,13 @@ function wke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function s1({ card: e, helpers: t }) {
+function c1({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function c1({ item: e, kind: t }) {
+function l1({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -69676,24 +69691,24 @@ function c1({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var l1 = ["configuration"], u1 = (e) => V(uX, e);
-async function Tke(e) {
+var u1 = ["configuration"], d1 = (e) => V(dX, e);
+async function Eke(e) {
await U.fetchQuery({
- queryKey: l1,
- queryFn: () => u1(e)
+ queryKey: u1,
+ queryFn: () => d1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var d1 = (e) => e.map(([e, t, n]) => n ? [
+var f1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);
return f.current = l, (0, F.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Yc(t, n, d1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Yc(t, n, f1(r), i, {
attr: a,
className: o,
text: s
@@ -69711,13 +69726,13 @@ function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function m1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);
return m.current = l, (0, F.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = fs(d1(n), r, { label: t });
+ e.innerHTML = fs(f1(n), r, { label: t });
let i = ps(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -69730,7 +69745,7 @@ function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function Eke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Dke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({
onStep: a,
onSettle: o
@@ -69764,7 +69779,7 @@ function Eke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var Dke = [
+var Oke = [
[
"strength",
"强度",
@@ -69791,8 +69806,8 @@ var Dke = [
100
]
];
-function Oke({ host: e, spot: t, index: n, glow: r }) {
- let i = qce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = ZV(), [l, u] = (0, F.useState)("all");
+function kke({ host: e, spot: t, index: n, glow: r }) {
+ let i = Kce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = QV(), [l, u] = (0, F.useState)("all");
(0, F.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -69805,7 +69820,7 @@ function Oke({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = aM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), is(), o.current?.focus();
+ r[t].color = oM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), is(), o.current?.focus();
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-glow-stop": t,
@@ -69830,7 +69845,7 @@ function Oke({ host: e, spot: t, index: n, glow: r }) {
children: d
})]
}),
- /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-down" })
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "popmenu",
@@ -69842,7 +69857,7 @@ function Oke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: Xce.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Yce.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -69856,7 +69871,7 @@ function Oke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: Zce.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Xce.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -69873,8 +69888,8 @@ function Oke({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function kke({ host: e }) {
- let t = e.store.value.homeGlow, n = Qj(t.preset);
+function Ake({ host: e }) {
+ let t = e.store.value.homeGlow, n = $j(t.preset);
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -69893,10 +69908,10 @@ function kke({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {
"data-glow-preset-name": "",
- children: Jce(t.preset)
+ children: qce(t.preset)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(YM, {
+ /* @__PURE__ */ (0, I.jsx)(XM, {
store: e.store,
label: "光晕配色"
}),
@@ -69907,7 +69922,7 @@ function kke({ host: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-fields": "",
- children: Dke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Eke, {
+ children: Oke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Dke, {
field: r,
label: i,
max: a,
@@ -69928,7 +69943,7 @@ function kke({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = sM(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = cM(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -69947,7 +69962,7 @@ function kke({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-stops": "",
- children: Yj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Oke, {
+ children: Xj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(kke, {
host: e,
spot: n,
index: r,
@@ -69959,7 +69974,7 @@ function kke({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var Ake = {
+var jke = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -70006,22 +70021,22 @@ var Ake = {
optional: !0,
fallback: 60
}
-}, m1 = (e) => `peach.number.${e}`;
-function h1(e, t) {
+}, h1 = (e) => `peach.number.${e}`;
+function g1(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Ake[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
- d.current ||= Lj(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);
+function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = jke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
+ d.current ||= Rj(Number(localStorage.getItem(h1(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);
y.current = i, (0, F.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let b = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(m1(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(h1(e), String(d.current)), y.current(d.current)));
}, x = (0, F.useRef)(b);
x.current = b, (0, F.useEffect)(() => {
let e = v.current;
@@ -70031,7 +70046,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let S = f > 0, C = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(h1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, w = r || n === null;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-number-setting": "",
@@ -70068,7 +70083,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": "true",
- children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]
+ children: [c, g1(Number(m), c) ? ` · ${g1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, I.jsx)("small", {
id: `${e}-error`,
@@ -70081,13 +70096,13 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function _1(e) {
- let { mutate: t } = SX();
+function v1(e) {
+ let { mutate: t } = CX();
return (0, F.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function v1(e, t, n, r) {
+function y1(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -70096,17 +70111,17 @@ function v1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var jke = "__home__", y1 = (e) => e === "" ? jke : e;
-function Mke({ host: e }) {
- let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
- let a = v1(n, e, r, i);
+var Mke = "__home__", b1 = (e) => e === "" ? Mke : e;
+function Nke({ host: e }) {
+ let t = v1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
+ let a = y1(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => b1(e) === o) ?? a[0], y = () => {
h.current && ss(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -70127,7 +70142,7 @@ function Mke({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", b1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -70159,9 +70174,9 @@ function Mke({ host: e }) {
/* @__PURE__ */ (0, I.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(ZF, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, I.jsx)(ZF, { name: a ?? "" }),
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: a ?? "" }),
/* @__PURE__ */ (0, I.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -70175,7 +70190,7 @@ function Mke({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70185,7 +70200,7 @@ function Mke({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70197,11 +70212,11 @@ function Mke({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, I.jsx)(ZF, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "eye-off" })
})
]
})]
- }, y1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
+ }, b1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -70217,13 +70232,13 @@ function Mke({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(ZF, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(ZF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -70234,15 +70249,15 @@ function Mke({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": y1(e),
+ "data-sidebar-add-option": b1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(y1(e)), y(), m.current?.focus();
+ s(b1(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, I.jsx)(ZF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
- }, y1(e)))
+ children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
+ }, b1(e)))
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70258,13 +70273,13 @@ function Mke({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var b1 = [
+var x1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Nke = [
+], Pke = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -70273,7 +70288,7 @@ var b1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Pke = [["desc", "降序"], ["asc", "升序"]], Fke = [[
+], Fke = [["desc", "降序"], ["asc", "升序"]], Ike = [[
"cover",
"官方封面",
""
@@ -70281,7 +70296,7 @@ var b1 = [
"thumbnail",
"预览图",
""
-]], Ike = [
+]], Lke = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -70300,88 +70315,88 @@ var b1 = [
"切片",
"隐藏切片"
]
-], Lke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {
+], Rke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", S1 = null, C1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();
-function Rke(e) {
- return T1.add(e), () => {
- T1.delete(e);
+}, w1 = 0, T1 = null, E1 = /* @__PURE__ */ new Set();
+function zke(e) {
+ return E1.add(e), () => {
+ E1.delete(e);
};
}
-function zke() {
- for (let e of [...T1]) e();
+function Bke() {
+ for (let e of [...E1]) e();
}
-function E1(e) {
- S1 = {
- ...S1,
+function D1(e) {
+ C1 = {
+ ...C1,
...e
- }, (0, It.flushSync)(zke);
+ }, (0, It.flushSync)(Bke);
}
-async function Bke(e) {
- let t = S1.epoch, n = await e.configurable();
- S1.open && S1.epoch === t && E1({ configurable: n });
+async function Vke(e) {
+ let t = C1.epoch, n = await e.configurable();
+ C1.open && C1.epoch === t && D1({ configurable: n });
}
-function Vke(e = "") {
- let t = x1;
+function Hke(e = "") {
+ let t = S1;
if (!t) return;
- let n = b1.findIndex(([t]) => t === e);
- if (S1.open && !S1.closing) {
- n >= 0 && n !== S1.tab && E1({ tab: n });
+ let n = x1.findIndex(([t]) => t === e);
+ if (C1.open && !C1.closing) {
+ n >= 0 && n !== C1.tab && D1({ tab: n });
return;
}
- is(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = Dwe();
- E1({
+ is(), w1 += 1, T1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = Owe();
+ D1({
open: !0,
closing: !1,
configurable: null,
- epoch: S1.epoch + 1,
- tab: n >= 0 ? n : S1.tab
+ epoch: C1.epoch + 1,
+ tab: n >= 0 ? n : C1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Bke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), Vke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function D1(e = !0) {
- if (!S1.open || S1.closing) return;
- let t = ++C1;
- e && x1?.closed?.(), E1({ closing: !0 });
+function O1(e = !0) {
+ if (!C1.open || C1.closing) return;
+ let t = ++w1;
+ e && S1?.closed?.(), D1({ closing: !0 });
let n = () => {
- t === C1 && S1.closing && (E1({
+ t === w1 && C1.closing && (D1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), T1 instanceof HTMLElement && document.contains(T1) && T1.focus(), T1 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var Hke = {
- open: Vke,
- close: D1,
- isOpen: () => S1.open,
+var Uke = {
+ open: Hke,
+ close: O1,
+ isOpen: () => C1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function Uke(e) {
- return x1 = e, Hke;
+function Wke(e) {
+ return S1 = e, Uke;
}
-function Wke() {
- let e = (0, F.useSyncExternalStore)(Rke, () => S1);
- return x1 ? /* @__PURE__ */ (0, I.jsx)(qke, {
- host: x1,
+function Gke() {
+ let e = (0, F.useSyncExternalStore)(zke, () => C1);
+ return S1 ? /* @__PURE__ */ (0, I.jsx)(Jke, {
+ host: S1,
view: e
}) : null;
}
-function Gke(e) {
+function Kke(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Lke)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Rke)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;
-function Kke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var k1 = (e) => `settings-tab-${e}`, A1 = (e) => `settings-group-${e}`;
+function qke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -70409,7 +70424,7 @@ function Kke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = b1.length, r = t;
+ let n = x1.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -70438,11 +70453,11 @@ function Kke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- b1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ x1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
- id: O1(r),
- "aria-controls": k1(r),
+ id: k1(r),
+ "aria-controls": A1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -70453,7 +70468,7 @@ function Kke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(ZF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Dde, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(QF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Ede, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-settings-service": "",
@@ -70464,26 +70479,26 @@ function Kke({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(ZF, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-right" })
]
})
})
]
});
}
-function A1({ index: e, tab: t, children: n, cards: r = !1 }) {
+function j1({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: k1(e),
+ id: A1(e),
role: "tabpanel",
- "aria-labelledby": O1(e),
+ "aria-labelledby": k1(e),
hidden: e !== t,
children: [
- /* @__PURE__ */ (0, I.jsx)("h3", { children: b1[e][0] }),
- /* @__PURE__ */ (0, I.jsx)(dU, { chapter: [
+ /* @__PURE__ */ (0, I.jsx)("h3", { children: x1[e][0] }),
+ /* @__PURE__ */ (0, I.jsx)(fU, { chapter: [
"appearance",
"playback",
"jav-settings",
@@ -70494,7 +70509,7 @@ function A1({ index: e, tab: t, children: n, cards: r = !1 }) {
]
});
}
-function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, I.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {
@@ -70511,7 +70526,7 @@ function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function M1({ title: e, description: t, kind: n, children: r }) {
+function N1({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -70519,7 +70534,7 @@ function M1({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]
});
}
-function qke({ host: e, view: t }) {
+function Jke({ host: e, view: t }) {
(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -70540,7 +70555,7 @@ function qke({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));
+ t !== C1.tab && (D1({ tab: t }), e.selectSection?.(x1[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-settings-panel": "",
@@ -70551,9 +70566,9 @@ function qke({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Gke,
+ onKeyDown: Kke,
onClick: (e) => {
- e.target === e.currentTarget && D1();
+ e.target === e.currentTarget && O1();
},
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-card": "",
@@ -70564,27 +70579,27 @@ function qke({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
id: "settingsTitle",
- children: b1[t.tab][0]
- }), /* @__PURE__ */ (0, I.jsx)(TV, {
+ children: x1[t.tab][0]
+ }), /* @__PURE__ */ (0, I.jsx)(EV, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => D1()
+ onPress: () => O1()
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Kke, {
+ /* @__PURE__ */ (0, I.jsx)(qke, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- D1(!1), e.openConfiguration();
+ O1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, I.jsxs)(A1, {
+ /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -70592,9 +70607,9 @@ function qke({ host: e, view: t }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "主题",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(p1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -70622,7 +70637,7 @@ function qke({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -70630,7 +70645,7 @@ function qke({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -70640,7 +70655,7 @@ function qke({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(kke, { host: e }),
+ /* @__PURE__ */ (0, I.jsx)(Ake, { host: e }),
/* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -70652,35 +70667,35 @@ function qke({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, I.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, I.jsx)(Mke, { host: e })
+ children: /* @__PURE__ */ (0, I.jsx)(Nke, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(Yke, {
+ /* @__PURE__ */ (0, I.jsx)(Xke, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(Xke, {
+ /* @__PURE__ */ (0, I.jsx)(Zke, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsxs)(A1, {
+ /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, I.jsx)(eAe, {
+ /* @__PURE__ */ (0, I.jsx)(tAe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -70690,24 +70705,24 @@ function qke({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(PL, {
+ children: /* @__PURE__ */ (0, I.jsx)(FL, {
variant: "secondary",
href: "/taste",
- onClick: () => D1(!1),
+ onClick: () => O1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, I.jsx)(j1, {
+ children: /* @__PURE__ */ (0, I.jsx)(M1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -70722,7 +70737,7 @@ function qke({ host: e, view: t }) {
})
});
}
-function Jke(e, t) {
+function Yke(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Ws("arrow-up", "arrow-down", "a", {
@@ -70732,9 +70747,9 @@ function Jke(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function Yke({ host: e, tab: t, epoch: n }) {
+function Xke({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
- return /* @__PURE__ */ (0, I.jsxs)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 1,
tab: t,
children: [
@@ -70742,11 +70757,11 @@ function Yke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -70756,24 +70771,24 @@ function Yke({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, I.jsx)(p1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(m1, {
id: "defaultSortSetting",
label: "默认排序",
- options: Nke,
+ options: Pke,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, I.jsx)(p1, {
+ }), /* @__PURE__ */ (0, I.jsx)(m1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: Pke,
+ options: Fke,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -70781,13 +70796,13 @@ function Yke({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Jke(e, o)
+ decorate: (e) => Yke(e, o)
})]
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(p1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -70813,16 +70828,16 @@ function Yke({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = Lj(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Rj(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -70831,16 +70846,16 @@ function Yke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, I.jsx)($ke, {
+ /* @__PURE__ */ (0, I.jsx)(eAe, {
host: e,
epoch: n
})
]
});
}
-function Xke({ host: e, tab: t, epoch: n }) {
+function Zke({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, I.jsxs)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(j1, {
index: 2,
tab: t,
children: [
@@ -70848,17 +70863,17 @@ function Xke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, I.jsx)(Zke, {
+ /* @__PURE__ */ (0, I.jsx)(Qke, {
host: e,
epoch: n
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(p1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: Fke,
+ options: Ike,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -70873,21 +70888,21 @@ function Xke({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "显示数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = Lj(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Rj(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -70895,7 +70910,7 @@ function Xke({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- Ike.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(Qke, {
+ Lke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)($ke, {
host: e,
id: t,
settingKey: n,
@@ -70905,19 +70920,19 @@ function Xke({ host: e, tab: t, epoch: n }) {
]
});
}
-function Zke({ host: e, epoch: t }) {
+function Qke({ host: e, epoch: t }) {
let n = Nt({
- queryKey: gX,
- queryFn: ({ signal: e }) => xX(e),
+ queryKey: _X,
+ queryFn: ({ signal: e }) => SX(e),
staleTime: 0
- }), r = SX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(M1, {
+ }), r = CX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(N1, {
title: "女优名称",
description: /* @__PURE__ */ (0, I.jsx)("small", {
"data-copy-key": "performer-name-language-help",
children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"
}),
- children: /* @__PURE__ */ (0, I.jsx)(p1, {
+ children: /* @__PURE__ */ (0, I.jsx)(m1, {
id: "performerNameLanguageSetting",
label: "女优名称",
epoch: t,
@@ -70935,13 +70950,13 @@ function Zke({ host: e, epoch: t }) {
}));
}
})
- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function Qke({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = SX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
+function $ke({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = CX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
s(t), Kc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -70965,10 +70980,10 @@ function Qke({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function $ke({ host: e, epoch: t }) {
+function eAe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -70976,7 +70991,7 @@ function $ke({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(M1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -70984,11 +70999,11 @@ function $ke({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(N1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -71000,25 +71015,25 @@ function $ke({ host: e, epoch: t }) {
})
] });
}
-function eAe({ host: e, epoch: t }) {
- let n = e.store.value, r = SX();
- return /* @__PURE__ */ (0, I.jsx)(M1, {
+function tAe({ host: e, epoch: t }) {
+ let n = e.store.value, r = CX();
+ return /* @__PURE__ */ (0, I.jsx)(N1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(_1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = Lj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Rj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
// src/react/sidebar/use-sidebar-reorder.ts
-function tAe(e, t, n, r) {
+function nAe(e, t, n, r) {
let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({
order: t,
commit: n,
@@ -71053,7 +71068,7 @@ function tAe(e, t, n, r) {
let m = (t) => {
let n = c.current;
if (!n || (c.current = null, !n.started)) return;
- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : v1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : y1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, It.flushSync)(() => {
a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");
}), d.current.settled();
@@ -71115,7 +71130,7 @@ function tAe(e, t, n, r) {
e.preventDefault();
let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];
if (l === void 0) return;
- let u = v1(t, i, l, c);
+ let u = y1(t, i, l, c);
u && (p(), (0, It.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());
}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;
return {
@@ -71154,68 +71169,68 @@ function tAe(e, t, n, r) {
};
}
// src/react/sidebar/sidebar-island.tsx
-var N1 = "__home__", nAe = {
+var P1 = "__home__", rAe = {
creator: 26,
tag: 30,
tech: 16
-}, P1 = 180, F1 = null, I1 = {
+}, F1 = 180, I1 = null, L1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, L1 = /* @__PURE__ */ new Set();
-function rAe(e) {
- return L1.add(e), () => {
- L1.delete(e);
+}, R1 = /* @__PURE__ */ new Set();
+function iAe(e) {
+ return R1.add(e), () => {
+ R1.delete(e);
};
}
-function R1() {
- for (let e of [...L1]) e();
+function z1() {
+ for (let e of [...R1]) e();
}
-var iAe = {
+var aAe = {
render(e) {
- I1 = {
- ...I1,
+ L1 = {
+ ...L1,
props: e
- }, (0, It.flushSync)(R1);
+ }, (0, It.flushSync)(z1);
},
navChanged() {
- I1 = {
- ...I1,
- epoch: I1.epoch + 1
- }, (0, It.flushSync)(R1);
+ L1 = {
+ ...L1,
+ epoch: L1.epoch + 1
+ }, (0, It.flushSync)(z1);
}
};
-function aAe(e) {
- return F1 = e, I1 = {
- ...I1,
+function oAe(e) {
+ return I1 = e, L1 = {
+ ...L1,
props: {
content: null,
filters: {},
latest: null
}
- }, iAe;
+ }, aAe;
}
-function oAe() {
- let e = (0, F.useSyncExternalStore)(rAe, () => I1);
- return F1 ? /* @__PURE__ */ (0, I.jsx)(sAe, {
- host: F1,
+function sAe() {
+ let e = (0, F.useSyncExternalStore)(iAe, () => L1);
+ return I1 ? /* @__PURE__ */ (0, I.jsx)(cAe, {
+ host: I1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function sAe({ host: e, props: t, epoch: n }) {
+function cAe({ host: e, props: t, epoch: n }) {
let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, I.jsx)(cAe, {
+ /* @__PURE__ */ (0, I.jsx)(lAe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, I.jsx)(uAe, {
+ t.content ? /* @__PURE__ */ (0, I.jsx)(dAe, {
host: e,
content: t.content,
filters: t.filters,
@@ -71223,8 +71238,8 @@ function sAe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function cAe({ host: e, epoch: t, version: n }) {
- let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = ML(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function lAe({ host: e, epoch: t, version: n }) {
+ let r = v1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = NL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || P1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, F.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -71243,7 +71258,7 @@ function cAe({ host: e, epoch: t, version: n }) {
i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);
};
}, [e, d]);
- let f = tAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
+ let f = nAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-nav": "",
ref: c,
@@ -71279,8 +71294,8 @@ function cAe({ host: e, epoch: t, version: n }) {
alt: "",
decoding: "async",
draggable: !1
- }) : /* @__PURE__ */ (0, I.jsx)(ZF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
- }, t || N1);
+ }) : /* @__PURE__ */ (0, I.jsx)(QF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ }, t || P1);
}),
f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-drop-line": "",
@@ -71301,8 +71316,8 @@ function cAe({ host: e, epoch: t, version: n }) {
ref: l
}), p) : null] });
}
-var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function lAe(e) {
+var B1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function uAe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -71316,7 +71331,7 @@ function lAe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function uAe({ host: e, content: t, filters: n, latest: r }) {
+function dAe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, F.useLayoutEffect)(() => {
t.kind === "catalog" && Xs(e.scroll, "drawer");
@@ -71325,8 +71340,8 @@ function uAe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? dAe(e, t.facets, n, r, i) : fAe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(pAe, {
+ let a = t.kind === "catalog" ? fAe(e, t.facets, n, r, i) : pAe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(mAe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -71335,11 +71350,11 @@ function uAe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function dAe(e, t, n, r, i) {
- let a = lAe(r), o = (t, r, i) => {
+function fAe(e, t, n, r, i) {
+ let a = uAe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = z1(n, r);
- return /* @__PURE__ */ (0, I.jsx)(H1, {
+ let o = B1(n, r);
+ return /* @__PURE__ */ (0, I.jsx)(U1, {
rows: t,
filterKey: r,
multi: i,
@@ -71349,7 +71364,7 @@ function dAe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = z1(n, l), p = c.some((e) => f.includes(e.value));
+ let f = B1(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -71361,12 +71376,12 @@ function dAe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, I.jsx)(hAe, {
+ body: /* @__PURE__ */ (0, I.jsx)(gAe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: nAe[d],
+ limit: rAe[d],
filterKey: l,
selected: f,
counts: a,
@@ -71381,7 +71396,7 @@ function dAe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(K1, {
host: e,
filters: n
})
@@ -71396,7 +71411,7 @@ function dAe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
rows: t.followTags,
host: e,
selected: null,
@@ -71405,14 +71420,14 @@ function dAe(e, t, n, r, i) {
} : null
];
}
-function fAe(e, t, n) {
- let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);
+function pAe(e, t, n) {
+ let r = t.providers || [], i = B1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(H1, {
+ body: /* @__PURE__ */ (0, I.jsx)(U1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -71426,7 +71441,7 @@ function fAe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(K1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -71436,7 +71451,7 @@ function fAe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
rows: t.tags,
host: e,
selected: a,
@@ -71445,19 +71460,19 @@ function fAe(e, t, n) {
} : null
];
}
-function B1(e, t) {
+function V1(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function pAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => B1(e, n)), u = (0, F.useRef)(!1);
+function mAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => V1(e, n)), u = (0, F.useRef)(!1);
(0, F.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? B1(e, n) : c;
+ let i = u.current ? V1(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -71478,7 +71493,7 @@ function pAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -71489,7 +71504,7 @@ function pAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, I.jsx)(V1.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(H1.Provider, {
value: d,
children: a
})
@@ -71498,15 +71513,15 @@ function pAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var V1 = (0, F.createContext)(() => {});
-function mAe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(ZF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
+var H1 = (0, F.createContext)(() => {});
+function hAe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(QF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -71523,7 +71538,7 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, I.jsx)(mAe, { dot: e.dot }),
+ /* @__PURE__ */ (0, I.jsx)(hAe, { dot: e.dot }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -71538,8 +71553,8 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function hAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, F.useContext)(V1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
+function gAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, F.useContext)(H1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
p !== e && (m(e), f(null));
let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, F.useLayoutEffect)(() => {
@@ -71554,7 +71569,7 @@ function hAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Ho(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(H1, {
+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(U1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -71579,10 +71594,10 @@ function hAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, I.jsx)(ZF, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(QF, { name: "chevron-down" })
}) : null] });
}
-function U1({ rows: e, host: t, selected: n, badges: r }) {
+function W1({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -71604,10 +71619,10 @@ function U1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;
-function G1({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, F.useState)("max");
- i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));
+var G1 = (e, t) => e ? Math.min(F1, Number(e) / 60) : t;
+function K1({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [G1(t.dur_min, 0), G1(t.dur_max, F1)]), [c, l] = (0, F.useState)("max");
+ i !== r && (a(r), s([G1(t.dur_min, 0), G1(t.dur_max, F1)]));
let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -71620,11 +71635,11 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, F.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);
+ e.style.setProperty("--lo", `${u / F1 * 100}%`), e.style.setProperty("--hi", `${d / F1 * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / F1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -71634,7 +71649,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= F1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-duration": "",
@@ -71649,7 +71664,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: P1,
+ max: F1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -71660,7 +71675,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: P1,
+ max: F1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -71674,7 +71689,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function K1() {
+function q1() {
let e = (e) => Es({
label: e,
variant: "secondary",
@@ -71688,11 +71703,11 @@ function K1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", gAe = [
+var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", _Ae = [
"自动补全",
"仅使用本地资料",
"自定义"
-], _Ae = [
+], vAe = [
[
"读本地 NFO 和图片",
"✓",
@@ -71723,7 +71738,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], vAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", yAe = [
+], yAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Y1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", X1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Z1 = "只填域名,留空用默认地址", bAe = [
{
provider: "coomer",
label: "Coomer",
@@ -71813,8 +71828,8 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", bAe = "peach.configuration.shape.v1";
-function Q1() {
+], Q1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", xAe = "peach.configuration.shape.v1";
+function $1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -71822,28 +71837,28 @@ function Q1() {
return {};
}
}
-function xAe(e, t) {
+function SAe(e, t) {
try {
- let n = Q1();
+ let n = $1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(bAe, JSON.stringify({
+ localStorage.setItem(xAe, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => Es({
+var e0 = (e) => $1()[e], t0 = (e) => e === !0, n0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, r0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], i0 = "disabled data-skeleton-action", a0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, o0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, s0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, c0 = (e = "3em") => s0(e, "24px"), l0 = () => s0("var(--icon-inline)", "var(--icon-inline)"), u0 = (e, t = "primary", n = "medium") => Es({
label: e,
variant: t,
size: n,
- attrs: r0
-}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, SAe = (e, t, n) => {
- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;
+ attrs: i0
+}), d0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, f0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, CAe = (e, t, n) => {
+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${l0()}${e}</span>` : e}</p>`;
return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;
-}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${SAe(e, r, a)}${aU(e) ? `<div aria-hidden="true" class="flex items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", "size-(--icon-inline) shrink-0")}设置说明</div>` : ""}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${Os(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, CAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${CAe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, wAe = yAe;
-function TAe(e = $1("credentials")) {
- let t = new Set(n0(e?.done, 64, String));
- return wAe.map((e) => {
+}, p0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${CAe(e, r, a)}${oU(e) ? `<div aria-hidden="true" class="flex items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", "size-(--icon-inline) shrink-0")}设置说明</div>` : ""}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? d0(n, i) : ""}</div></section>`, m0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, h0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => m0(e, t, `<span class="skeleton ${n}"></span>`), g0 = (e, t = "4em") => m0(e, "", a0(t)), _0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, v0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, y0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${o0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, b0 = (e) => `<div class="flex flex-col gap-1">${v0(e)}${Os(a0("8em"))}</div>`, x0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${s0("16px", "16px")}${e}</span>`, S0 = (e) => `<span class="inline-flex items-center gap-1">${l0()}${e}</span>`, C0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Cs("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, wAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), w0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${wAe.has(e) ? a0("100%") + a0("80%") + a0("6em") : a0("6em")}</dd></div>`).join("")}</dl>`, TAe = bAe;
+function EAe(e = e0("credentials")) {
+ let t = new Set(r0(e?.done, 64, String));
+ return TAe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -71852,134 +71867,134 @@ function TAe(e = $1("credentials")) {
};
});
}
-function EAe(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;
- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? g0(B(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";
- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function DAe(e) {
+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = c0() + (n && !e.done ? t.map(() => c0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${s0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(e.label)}</b>${r}</span>`;
+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? _0(B(e.why)) : ""}</div>`;
+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + _0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? _0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => y0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${u0("保存配置")}</div>${C0("凭据文件")}</div></div>` : "";
+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${C0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
}
-function w0() {
- let e = TAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[
+function T0() {
+ let e = EAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ return p0("来源凭据", f0(`<div class="flex flex-col gap-4">${[
["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],
["不需要凭据", e.filter((e) => e.requirement === "none")],
["暂不支持", e.filter((e) => e.requirement === "blocked")]
- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(EAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });
-}
-function T0() {
- let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Cs("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));
+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(DAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? a0("5em") : "" });
}
function E0() {
- let e = $1("javBrowser"), t = e0(e?.enabled);
- return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+ let e = r0(e0("indexers")?.open, 20, t0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Cs("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${a0("6em")}${a0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${y0("名称")}${y0("Torznab 地址")}${y0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${x0("启用")}${u0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
+ return p0("资源搜索", f0(`<div class="flex min-w-0 flex-col gap-4">${C0("索引器连接帮助")}${e}</div>`), u0("添加索引器", "secondary") + u0("保存配置"));
}
-var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${Os(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";
-function O0() {
- let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));
- return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));
+function D0() {
+ let e = e0("javBrowser"), t = t0(e?.enabled);
+ return p0("浏览器添加 JAV", f0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${a0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${c0()}</div><p class="text-caption-1-regular text-text-secondary">${a0("70%")}</p><div class="flex flex-wrap items-center gap-2">${u0("重新检测", "secondary")}</div></div>`}${b0("浏览器添加的下载渠道")}${t0(e?.ready) ? "" : _0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${y0("Peach 地址")}</div>`), (t ? u0("关闭浏览器添加", "secondary") : "") + u0(t ? "更新渠道与令牌" : "启用并生成令牌"));
}
-var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, DAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Es({
+var O0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${v0(e)}${Os(a0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${y0(`${e}地址`)}</div><div class="w-full sm:w-28">${y0(`${e}端口`)}</div></div>${C0("代理认证")}` : "") + "</div>";
+function k0() {
+ let e = e0("cloudProxy"), t = r0(e?.accounts, 12, (e) => Array.isArray(e) ? [t0(e[0]), t0(e[1])] : [!1, !1]), n = n0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${v0(S0(a0("6em")))}${_0(a0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${v0(S0(a0("8em")))}${_0(a0("50%"))}${O0("数据代理", e)}${O0("API 代理", t)}<div class="flex justify-end">${u0("保存配置")}</div></div>`).join("") : _0(a0("60%"));
+ return p0("CloudDrive 代理", f0(`${_0(Q1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), u0("重新读取", "secondary"));
+}
+var A0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, OAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Es({
glyph: "folder-search",
variant: "secondary",
- attrs: r0
+ attrs: i0
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", Os(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", Os(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", Os(i0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, OAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${A0("来源", Os(a0("6em")), "w-full @lg:w-60")}${A0("读取策略", Os(a0("4em")), "w-full @lg:w-32")}${e > 1 ? A0("移到媒体库", Os(a0("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, kAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
<div data-library-head>${Es({
label: "自动识别",
variant: "secondary",
- attrs: r0
-})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Os(i0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${DAe(t).repeat(e)}<div class="flex">${Es({
+ attrs: i0
+})}${o0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Os(a0("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${OAe(t).repeat(e)}<div class="flex">${Es({
label: "添加文件夹",
variant: "secondary",
- attrs: r0
-})}</div></div></div>`, kAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, AAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
-function jAe(e = $1("media")) {
- let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);
+ attrs: i0
+})}</div></div></div>`, AAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${J1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, jAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
+function MAe(e = e0("media")) {
+ let t = r0(e?.folders, 12, (e) => n0(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: e0(e?.cloud)
+ cloud: t0(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function MAe() {
- let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Os(i0("4em"), { prefix: "对应目录" })}${Es({
+function NAe() {
+ let e = e0("discovery"), t = t0(e?.enabled), n = t && t0(e?.cloud), r = n && t0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${Os(a0("4em"), { prefix: "对应目录" })}${Es({
glyph: "trash",
variant: "secondary",
- attrs: r0
+ attrs: i0
})}</div>`;
- return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));
-}
-var NAe = () => {
- let e = jAe();
- return f0("媒体库与目录", d0(`${kAe}<div class="flex flex-col gap-4">${e.folders.map((t) => OAe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${l0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${J1}</p>
- ${e.cloud ? AAe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + MAe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, PAe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), FAe = () => {
- let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);
- return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {
- aside: s0(),
+ return p0("自动发现新文件", f0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${c0()}</div>`) + h0("发现新文件后自动入库", t ? a0("10em") : "") + h0("监视本机文件夹", t && t0(e?.watchLocal) ? a0("12em") : "") + h0("接收 CloudDrive2 通知") + (n ? m0("Webhook 配置", a0("20em"), "") : "") + (r ? f0(C0("查看配置"), !0) : "") + (n ? f0(`<div class="flex flex-col gap-3">${v0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(n0(e?.prefixes, 20))}</div><div>${u0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? u0("更换密钥", "secondary") : "") + u0("保存配置"));
+}
+var PAe = () => {
+ let e = MAe();
+ return p0("媒体库与目录", f0(`${AAe}<div class="flex flex-col gap-4">${e.folders.map((t) => kAe(t, e.folders.length)).join("")}</div>
+ <div class="self-start">${u0("添加媒体库", "secondary")}</div>
+ <p class="text-body-2-regular text-text-secondary">${Y1}</p>
+ ${e.cloud ? jAe : ""}<span class="text-body-medium text-text-primary">${a0("15em")}</span>`), u0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? k0() : "") + NAe() + p0("番号识别规则", f0(`${a0("90%")}${a0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), u0("保存配置")) + p0("视频预览", h0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + h0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + h0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+}, FAe = () => `<div>${u0("采集来源与登录状态", "secondary")}</div>` + T0() + p0("关注采集", m0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + g0("订阅源拉取") + h0("首次采集范围", "", "ui-configuration-skeleton-select") + g0("头像刷新") + g0("favicon 刷新")) + E0() + p0("作品资料站点", f0(`<p class="text-body-2-regular text-text-secondary">${X1}</p>${y0(S0("JavDB 地址"), Z1)}${y0(S0("MISSAV 地址"), Z1)}`), u0("保存配置")), IAe = () => {
+ let e = e0("downloads"), t = t0(e?.pikpak), n = t0(e?.pikpakRoots) ? b0(S0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${v0(S0("PikPak 根目录对应的媒体目录"))}${_0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = t0(e?.cloud) ? p0("云下载", f0(y0("CloudDrive2 地址") + y0("CloudDrive2 API 令牌", "需要离线任务权限。") + (t0(e?.has115) ? y0(S0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? y0(S0("PikPak 目标目录"), "目录要已经存在。") + n : "") + y0("等待上限(小时)", a0("14em"))), u0("检查连接", "secondary") + u0("保存配置")) : "", i = t0(e?.pikpakLoggedIn);
+ return r + (t ? p0("PikPak 账号", i ? w0(["账号", a0("4em")]) : f0(y0("账号") + y0("密码") + x0("保存密码,登录过期时自动重新登录")), i ? u0("登出", "secondary") : (t0(e?.browserLogin) ? u0("用浏览器登录", "secondary") : "") + u0("登录"), {
+ aside: c0(),
mark: !0
- }) : "") + E0();
-}, A0 = {
+ }) : "") + D0();
+}, j0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, j0 = {
+}, M0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function IAe(e) {
- let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;
+function LAe(e) {
+ let t = e === "locked" ? "" : y0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + y0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
+ return (j0[e] ? _0(j0[e]) : "") + (e === "open" ? s0("100%", "64px") : "") + (e === "password" || e === "legacy" ? x0("关闭访问密码") : "") + (e === "password" ? y0("当前访问密码 *") : "") + t;
}
-var LAe = () => {
- let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${v0([
+var RAe = () => {
+ let e = e0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = t0(e?.tunnelNamed), r = (n && t0(e?.tunnelNamedMode) ? _0(M0.named) + y0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + y0("隧道令牌", a0("16em")) : _0(M0.quick)) + (t0(e?.tunnelNote) ? s0("100%", "64px") : ""), i = n0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${y0([
"本机地址",
"手机连接地址",
"备用 IP 地址"
- ][t])}</div>${l0("复制地址", "secondary")}</div>`).join("");
- return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(IAe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));
-}, RAe = [
+ ][t])}</div>${u0("复制地址", "secondary")}</div>`).join("");
+ return (i || t0(e?.port) ? p0("访问地址", f0(a + (i ? s0("100%", "40px") : "") + (t0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${v0("谁可以访问")}${s0("min(100%, 20em)", "36px")}</div>` + (t0(e?.lan) ? y0("局域网访问地址") : "") : "") + (t0(e?.port) ? y0("端口") : "")), t0(e?.port) ? u0("保存配置") : "", t0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + p0("访问密码", f0(LAe(t)), t === "locked" ? "" : u0("保存配置")) + p0("Cloudflare 公网入口", f0((n ? s0("10.5em", "36px") : "") + r), u0("启动公网入口", n ? "secondary" : "primary") + (n ? u0("保存配置") : ""), { aside: c0() }) + p0("Peach 代理", h0("连接方式", "", "ui-configuration-skeleton-select") + (t0(e?.proxyAddress) ? f0(y0("代理地址"), !0) : ""), u0("保存配置"));
+}, zAe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], zAe = () => {
- let e = $1("maintenance"), t = [
+], BAe = () => {
+ let e = e0("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";
- return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {
- aside: s0("4em"),
- status: i0("5em")
- }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : RAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", l0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");
+ ].slice(0, Math.max(4, n0(e?.releaseFacts, 5))), n = n0(e?.releaseNotes, 4), r = n0(e?.storageRows, 12), i = n0(e?.storageNotes, 3), a = r0(e?.facts, 12, (e) => B(String(e))), o = `<span class="self-start">${c0("6em")}</span>`, s = (t) => !e || t0(t), c = s(e?.reporting) ? h0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (t0(e?.reportingIdle) ? f0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${h0("上传馆藏与口味明细", t0(e?.sharingNotice) ? a0("12em") : "")}${t0(e?.sharingIdle) ? f0(o, !0) : ""}${d0(u0("预览上传内容", "secondary"))}</div>` : "";
+ return p0("检查更新", w0(t) + (n ? f0(_0(a0("50%")).repeat(n), !0) : ""), u0("检查更新"), {
+ aside: c0("4em"),
+ status: a0("5em")
+ }) + p0("自动更新", h0("自动检查新版本") + h0("自动下载更新") + h0("检查频率", t0(e?.autoUpdateHelp) ? a0("12em") : "", "ui-configuration-skeleton-select"), u0("保存配置")) + p0("开机自启", h0("开机后启动 Peach") + h0("只启动托盘,不打开网页") + h0("在桌面创建快捷方式", t0(e?.desktopNote) ? a0("12em") : "") + (t0(e?.startupNote) ? f0(_0(a0("60%")), !0) : ""), u0("保存配置")) + p0("视频播放", h0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + p0("存储空间", w0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => m0(a0("6em"), "", a0("4em"))).join("") : f0(_0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? f0(_0(a0("80%")).repeat(i), !0) : ""), u0("更改位置", "secondary") + u0(r ? "重新统计" : "统计占用")) + (c || l ? p0("数据上传", c + l) : "") + p0("运行信息", w0(a.length ? a : zAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${m0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", u0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? p0("卸载 Peach", (t0(e?.uninstallHelp) ? f0(_0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + h0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + f0(C0("数据目录"), !0), u0("卸载 Peach"), { status: a0("16em") }) : "");
};
-function BAe(e) {
+function VAe(e) {
switch (e) {
- case "系统诊断": return K1();
- case "来源与订阅": return PAe();
- case "下载渠道": return FAe();
- case "网络与访问": return LAe();
- case "应用与维护": return zAe();
- default: return NAe();
+ case "系统诊断": return q1();
+ case "来源与订阅": return FAe();
+ case "下载渠道": return IAe();
+ case "网络与访问": return RAe();
+ case "应用与维护": return BAe();
+ default: return PAe();
}
}
-function VAe(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Ef).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${BAe(e)}</div></div></div>`;
+function HAe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Ef).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${VAe(e)}</div></div></div>`;
}
// src/react/jav/discovery-sorts.ts
-var M0 = [
+var N0 = [
[
"taste",
"口味",
@@ -71987,7 +72002,7 @@ var M0 = [
],
[
"release_date",
- Bj[1],
+ Vj[1],
"按发行日期排序"
],
[
@@ -72006,10 +72021,10 @@ var M0 = [
"按番号排序"
]
];
-function HAe(e) {
+function UAe(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function UAe(e) {
+function WAe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -72034,8 +72049,8 @@ function UAe(e) {
};
}
// src/jav-skeleton.ts
-var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, WAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";
-function F0() {
+var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, GAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";
+function I0() {
return [
"w-20",
"w-16",
@@ -72045,26 +72060,26 @@ function F0() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function I0(e, t = wM()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${WAe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;
- let n = MM({
- ...jM({
+function L0(e, t = TM()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${GAe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;
+ let n = NM({
+ ...MM({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
<div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>
- <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div>
+ <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
</div></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function GAe(e) {
+function KAe(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
<div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Es({
@@ -72072,28 +72087,28 @@ function GAe(e) {
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${JH.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${YH.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
<form aria-label="${t}">${Ts("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${KAe()}${I0(e)}</section>`}</div></div>`;
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${qAe()}${L0(e)}</section>`}</div></div>`;
}
-function KAe() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${wM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Cs(t, "size-4")}</span>`;
+function qAe() {
+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${TM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Cs(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${I0()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
${ws()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Cs("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Cs("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Cs("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function qAe() {
+var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function JAe() {
let e = [
"馆藏视频",
"看过",
@@ -72101,27 +72116,27 @@ function qAe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -72130,11 +72145,11 @@ function qAe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function JAe() {
+function YAe() {
let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = [
"浏览记录",
"口味维度",
@@ -72142,20 +72157,20 @@ function JAe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
<div class="flex flex-wrap items-center gap-2">${Os("全部时间")}<span data-button-group data-split-button data-variant="primary">${Es({
glyph: "compass",
label: "读取浏览器历史",
- attrs: z0
+ attrs: B0
})}${Es({
glyph: "chevron-down",
- attrs: z0
+ attrs: B0
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -72173,11 +72188,11 @@ function JAe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${R0("8em")}</small></div>
+ <small class="text-caption-1-regular">${z0("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section>
+ <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -72185,20 +72200,20 @@ function JAe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function YAe() {
+function XAe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
- <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span>
+ <span class="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span>
+ <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -72207,27 +72222,27 @@ function YAe() {
variant: "secondary",
size: "small",
label: e,
- attrs: z0
+ attrs: B0
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function XAe() {
+function ZAe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>
</div>
<footer class="flex justify-end">${Es({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: z0
+ attrs: B0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -72236,20 +72251,20 @@ function XAe() {
</div></div>`;
}
// src/board-skeleton.ts
-var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ZAe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, QAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, QAe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, $Ae = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${QAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, $Ae = (e = "") => QZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${QZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, eje = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${$Ae}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, eje = (e = "") => $Z.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${$Z.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, tje = ({ table: e, sort: t, dir: n }) => {
let r = cr.find(([e]) => e === t)[1];
- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Es({
+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Es({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: U0
+ attrs: W0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Es({
variant: "ghost",
glyph: "layout-grid",
@@ -72266,42 +72281,42 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ZAe
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: U0
+ attrs: W0
})}</span></div></div>`;
-}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${Es({
+}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Es({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: U0
+ attrs: W0
})}${Es({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: U0
-})}</span>`, tje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Es({
+ attrs: W0
+})}</span>`, nje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Es({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: U0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Es({
+ attrs: W0
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Es({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: U0
+ attrs: W0
})}${Es({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: U0
-})}</span></span></div><div data-source-divider>${H0(tje(), e)}</div></section>`, nje = () => {
+ attrs: W0
+})}</span></span></div><div data-source-divider>${U0(nje(), e)}</div></section>`, rje = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, rje = [
+}, ije = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -72309,90 +72324,90 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ZAe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], ije = {
+], aje = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Z0 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", aje = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${rje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${ije[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Z0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[
- J0(),
- `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,
- W0("10em"),
- `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,
- G0(48, 24),
- W0("113px"),
- Y0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, oje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${Os(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, sje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${[
+}, Q0 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", oje = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${ije.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${aje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[
+ Y0(),
+ `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,
+ G0("10em"),
+ `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,
+ K0(48, 24),
+ G0("113px"),
+ X0()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, sje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${Os(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, cje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, cje = (e) => {
- let t = $Ae(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${sje()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = fr(e.followSort, e.followDir), i = e.followPageSize || nje(), a = n ? aje(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${eje({
+].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, lje = (e) => {
+ let t = eje(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${cje()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = fr(e.followSort, e.followDir), i = e.followPageSize || rje(), a = n ? oje(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${tje({
table: n,
...r
- })}${a}${oje(n, i)}</div></div></div></div></div>`;
+ })}${a}${sje(n, i)}</div></div></div></div></div>`;
};
-function lje() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(ZAe(), 4)}</div></aside></div>`;
+function uje() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${H0("85%")}${H0("65%")}${U0(QAe(), 4)}</div></aside></div>`;
}
-function uje(e, t = {}) {
+function dje(e, t = {}) {
let n = "";
- if (e === "/stats") n = qAe();
- else if (e === "/jav") n = GAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = JAe();
- else if (e === "/subscriptions") n = cje(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in Ef) n = VAe(Ef[e.split("/")[2]]);
+ if (e === "/stats") n = JAe();
+ else if (e === "/jav") n = KAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = YAe();
+ else if (e === "/subscriptions") n = lje(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in Ef) n = HAe(Ef[e.split("/")[2]]);
else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${[
"正在进行",
"本次未执行",
"最近完成"
- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = YAe();
- else if (e === "/quality-goals") n = XAe();
+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = XAe();
+ else if (e === "/quality-goals") n = ZAe();
else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Es({
label: "新建",
- attrs: U0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: W0
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
// src/react/components/overlay-host.ts
-function dje(e) {
+function fje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function Q0(e) {
+function $0(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return dje(n ?? t.body);
+ return fje(n ?? t.body);
}
-var $0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function fje(e) {
+var e2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function pje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches($0) ? e : e.querySelector($0);
+ let t = e.matches(e2) ? e : e.querySelector(e2);
if (t) return t;
}
return null;
}
-function e2(e) {
+function t2(e) {
let t = document.getElementById("toasts"), n = e?.open ? e : document.body;
t && t.parentElement !== n && n.append(t);
}
// src/react/follow-detail/follow-detail.ts
-var t2 = (e) => ["follow-item", e], pje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, mje = "/api/follow/save", hje = "/api/follow/media/hide", n2 = class extends Error {
+var n2 = (e) => ["follow-item", e], mje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, hje = "/api/follow/save", gje = "/api/follow/media/hide", r2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function r2(e, t) {
- let n = await V(pje(e), t);
+async function i2(e, t) {
+ let n = await V(mje(e), t);
for (let t of n.groups || []) {
let r = sa(t).find((t) => t.id === e);
if (r) return {
@@ -72402,9 +72417,9 @@ async function r2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new n2();
+ throw new r2();
}
-function gje(e) {
+function _je(e) {
for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = sa(t.group).find((t) => t.id === e);
@@ -72415,20 +72430,20 @@ function gje(e) {
}
return null;
}
-async function i2(e, t) {
- let n = t2(e.id), r = ca(e.id), i = U.getQueryData(na) ? null : U.fetchQuery({
+async function a2(e, t) {
+ let n = n2(e.id), r = ca(e.id), i = U.getQueryData(na) ? null : U.fetchQuery({
queryKey: na,
queryFn: () => ra(t)
}), a = r ? {
...r,
item: r.item
- } : U.getQueryData(n) ?? gje(e.id);
+ } : U.getQueryData(n) ?? _je(e.id);
a ? U.setQueryData(n, a) : await U.fetchQuery({
queryKey: n,
- queryFn: () => r2(e.id, t)
+ queryFn: () => i2(e.id, t)
}), await i;
}
-function _je(e, t, n, r) {
+function vje(e, t, n, r) {
let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ga(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
@@ -72443,32 +72458,32 @@ function _je(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var vje = (e) => sa(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), yje = {
+var yje = (e) => sa(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), bje = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, bje = {
+}, xje = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function xje(e) {
+function Sje(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return yje[t] || t;
+ return bje[t] || t;
} catch {
return "外部文件页";
}
}
-function a2(e, t) {
- return bje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function o2(e, t) {
+ return xje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function Sje(e, t, n = "") {
+function Cje(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -72477,54 +72492,54 @@ function Sje(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var Cje = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", wje = /* @__PURE__ */ new Set([
+var wje = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", Tje = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function Tje(e, t) {
- let n = o2(e, t);
- return `r34-${wje.has(n) ? n : "general"}`;
+function Eje(e, t) {
+ let n = s2(e, t);
+ return `r34-${Tje.has(n) ? n : "general"}`;
}
-var s2 = [
+var c2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function Eje(e, t) {
+function Dje(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = s2.indexOf(o2(e, t));
- return n < 0 ? s2.length : n;
+ let n = c2.indexOf(s2(e, t));
+ return n < 0 ? c2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function c2(e, t) {
+function l2(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var Dje = (e, t) => ({
+var Oje = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), l2 = (e) => e?.size ? { size: e.size } : {};
-function Oje(e, t) {
+}), u2 = (e) => e?.size ? { size: e.size } : {};
+function kje(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: a2(t, e),
- ...l2(t)
+ source: o2(t, e),
+ ...u2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: a2(a, e),
- ...l2(a)
+ source: o2(a, e),
+ ...u2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -72532,7 +72547,7 @@ function Oje(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var kje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", d2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", f2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", p2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", m2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", h2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", g2 = "disabled data-skeleton-action", _2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, v2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, y2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, b2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, Aje = [
+var Aje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, jje = [
"3em",
"5em",
"5em",
@@ -72542,7 +72557,7 @@ var kje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2
"8em",
"8em",
"10em"
-], jje = [
+], Mje = [
"5.8em",
"6.4em",
"7em",
@@ -72552,70 +72567,70 @@ var kje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2
"5.8em",
"9em",
"9em"
-], x2 = (e, t) => Es({
+], S2 = (e, t) => Es({
variant: e,
size: "small",
- label: _2(t)
+ label: v2(t)
});
-function Mje() {
- return `<section class="${E$("stack")}">
- <div class="${w$.stack}">${y2("整理", "mb-3")}
- <p class="text-body-regular text-text-secondary">${u2}</p>
+function Nje() {
+ return `<section class="${D$("stack")}">
+ <div class="${T$.stack}">${b2("整理", "mb-3")}
+ <p class="text-body-regular text-text-secondary">${d2}</p>
<div class="mt-3 flex flex-col gap-3">
- <div class="flex min-w-0 flex-wrap items-start gap-2">${Os(_2("3em"), {
+ <div class="flex min-w-0 flex-wrap items-start gap-2">${Os(v2("3em"), {
prefix: "来源",
className: "w-fit min-w-25",
attrs: "aria-disabled=\"true\""
})}
- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${b2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Cs("folder-search", "size-5 shrink-0")}</button></div>
+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${x2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Cs("folder-search", "size-5 shrink-0")}</button></div>
</div>
- <p class="text-caption-1-regular text-text-secondary">${d2}</p>
- ${b2(_2("12em"), { label: "文件名模板" })}${b2(_2("8em"), { label: "目录模板" })}
- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${Aje.map((e) => x2("secondary", e)).join("")}</div></div>
- <p class="text-caption-1-regular text-text-secondary">路径示例:${_2("16em")}</p>
- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${jje.map((e) => x2("ghost", e)).join("")}</div></div>
- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${f2}</p>
+ <p class="text-caption-1-regular text-text-secondary">${f2}</p>
+ ${x2(v2("12em"), { label: "文件名模板" })}${x2(v2("8em"), { label: "目录模板" })}
+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${jje.map((e) => S2("secondary", e)).join("")}</div></div>
+ <p class="text-caption-1-regular text-text-secondary">路径示例:${v2("16em")}</p>
+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${Mje.map((e) => S2("ghost", e)).join("")}</div></div>
+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${p2}</p>
</div>
</div>
- <footer class="${T$.stack}">${Es({
+ <footer class="${E$.stack}">${Es({
label: "预览",
- attrs: g2
+ attrs: _2
})}</footer>
</section>`;
}
-var Nje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${E$("split")}"><div class="${w$.split}">${y2("资源同步", "mb-2")}
- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${p2}</p></div>
- <footer class="${T$.split}">${Es({
+var Pje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${D$("split")}"><div class="${T$.split}">${b2("资源同步", "mb-2")}
+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${m2}</p></div>
+ <footer class="${E$.split}">${Es({
glyph: "git-compare",
label: "检查文件",
- attrs: g2
+ attrs: _2
})}</footer></section>
-</section>`, S2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${_2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${_2("14em")}</small>` : ""}</div>`, Pje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${E$("stack")}"><div class="${w$.stack}">${y2("链接管理", "mb-2")}
- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${S2("链接总数", !0)}${[
+</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, Fje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${D$("stack")}"><div class="${T$.stack}">${b2("链接管理", "mb-2")}
+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${C2("链接总数", !0)}${[
0,
1,
2
-].map(() => S2(_2("5em"))).join("")}</div>
+].map(() => C2(v2("5em"))).join("")}</div>
<div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${[
"7em",
"10em",
"8em"
-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${v2(16, 16)}${_2(e)}${v2(28, 24)}</span>`).join("")}</div></div></div>
- <footer class="${T$.stack}">${Es({
+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${y2(16, 16)}${v2(e)}${y2(28, 24)}</span>`).join("")}</div></div></div>
+ <footer class="${E$.stack}">${Es({
glyph: "link",
label: "检查死链",
- attrs: g2
+ attrs: _2
})}</footer></section>
</section>`;
-function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${J0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Z0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${J0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", "", n)}</div>` : "";
- return `<div data-data-table-panel class="${RH({
+function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${Y0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${Y0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", "", n)}</div>` : "";
+ return `<div data-data-table-panel class="${zH({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
})}">
- <div data-responsive-toolbar><div data-toolbar-heading>${y2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${_2("4em")}</span></div>
+ <div data-responsive-toolbar><div data-toolbar-heading>${b2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${v2("4em")}</span></div>
<div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Es({
variant: "secondary",
label: "显示列"
@@ -72626,38 +72641,38 @@ function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
<span class="flex flex-none items-center gap-2">${Os("默认顺序", { prefix: "排序" })}${Es({
variant: "secondary",
glyph: "arrow-up",
- attrs: g2
+ attrs: _2
})}</span></div></div>
<p class="text-body-2-regular text-text-secondary">${t}</p>
<div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>
- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${_2("8em")}</span><div data-toolbar-actions>${Os("每页 20 条", { size: "sm" })}</div></div>
+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${v2("8em")}</span><div data-toolbar-actions>${Os("每页 20 条", { size: "sm" })}</div></div>
</div>`;
}
-var Fje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${_2(e)}</span><small class="text-caption-1-regular">${_2(t)}</small></span>`, Ije = {
+var Ije = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, Lje = {
organize: {
label: "正在读取整理配置",
- body: Mje
+ body: Nje
},
"resource-sync": {
label: "正在读取资源同步状态",
- body: Nje
+ body: Pje
},
"orphan-records": {
label: "正在读取文件已丢失的记录",
- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${C2({
+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${w2({
title: "文件已丢失的记录",
- description: m2,
+ description: h2,
rows: 4,
columns: [
{
label: "作品",
width: 480,
- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Fje("70%", "40%")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Ije("70%", "40%")}</span>`
},
{
label: "个人记录",
width: 176,
- cell: _2("6em")
+ cell: v2("6em")
},
{
label: "操作",
@@ -72666,7 +72681,7 @@ var Fje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
variant: "secondary",
size: "small",
label: "删除记录",
- attrs: g2
+ attrs: _2
})
}
]
@@ -72674,50 +72689,50 @@ var Fje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
},
"media-repair": {
label: "正在读取媒体修复状态",
- body: ROe
+ body: zOe
},
links: {
label: "正在读取链接统计",
- body: Pje
+ body: Fje
},
"batch-delete": {
label: "正在读取女优列表",
- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${C2({
+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${w2({
title: "批量删除",
- description: h2,
+ description: g2,
search: "搜索女优姓名或别名",
rows: 12,
columns: [
{
label: "女优",
width: 280,
- cell: `<span class="flex min-w-0 items-center gap-3">${v2(32, 32, !0)}${_2("5em")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3">${y2(32, 32, !0)}${v2("5em")}</span>`
},
{
label: "影片",
width: 104,
- cell: _2("3em")
+ cell: v2("3em")
},
{
label: "文件",
width: 104,
- cell: _2("3em")
+ cell: v2("3em")
},
{
label: "登记大小",
width: 136,
- cell: _2("4em")
+ cell: v2("4em")
}
]
})}</section>`
}
};
-function w2(e) {
- let { label: t, body: n } = Ije[e];
+function T2(e) {
+ let { label: t, body: n } = Lje[e];
return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;
}
// src/management-placeholder.ts
-var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => tc(e, {
+var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => tc(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -72725,7 +72740,7 @@ var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), Lje = [
+}), Rje = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -72735,39 +72750,39 @@ var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], Rje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
+], zje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${Lje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${Rje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, zje = {
- "/data-cleanup": () => zOe(),
- ...Object.fromEntries(Kf.map((e) => [e.path, () => w2(e.key)])),
- "/resource-sync": () => w2("resource-sync"),
- "/review": () => Rje(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Bje = {
+ "/data-cleanup": () => BOe(),
+ ...Object.fromEntries(Kf.map((e) => [e.path, () => T2(e.key)])),
+ "/resource-sync": () => T2("resource-sync"),
+ "/review": () => zje(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${T2("正在读取采集来源", {
+ ${E2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function E2(e, { followLayout: t, followSort: n, followDir: r }) {
- return uje(e, {
+function D2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return dje(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (zje[e] ?? (() => T2("正在读取页面")))();
+ }) || (Bje[e] ?? (() => E2("正在读取页面")))();
}
-var D2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function O2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = D2(t);
+var O2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function k2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = O2(t);
r && r === n || (e.innerHTML = t, lc(e));
}
// src/react/components/related-section.tsx
-function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, F.useCallback)((e) => {
e && (lc(e), t(e));
}, [t]);
@@ -72780,17 +72795,17 @@ function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: /* @__PURE__ */ (0, I.jsx)(QG, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(SV, {
+ children: /* @__PURE__ */ (0, I.jsx)(CV, {
size: "compact",
- icon: dV,
+ icon: fV,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(FL, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -72806,7 +72821,7 @@ function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function A2({ queue: e, children: t, queueCards: n }) {
+function j2({ queue: e, children: t, queueCards: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-detail-continuation": "",
"data-queue-cards": n == null ? void 0 : Math.min(3, n),
@@ -72814,7 +72829,7 @@ function A2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -72894,7 +72909,7 @@ function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(Bje, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(Vje, {
item: e,
selected: r === t,
onSelect: n,
@@ -72913,7 +72928,7 @@ function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function Bje({ item: e, selected: t, onSelect: n, render: r }) {
+function Vje({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");
return (0, F.useEffect)(() => {
if (!i.current || a) return;
@@ -72939,14 +72954,14 @@ function Bje({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var Vje = (e, t, n) => [
+var Hje = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function M2(e, t, n, r) {
+function N2(e, t, n, r) {
let i = new Set((t.group ? sa(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = sa(e);
@@ -72961,7 +72976,7 @@ function M2(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-async function Hje(e, t, n, r) {
+async function Uje(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ha(i),
status: "new",
@@ -72975,22 +72990,22 @@ async function Hje(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return M2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && M2(o, e, t, n).length < n && await s("", 0), {
+ return N2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && N2(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
// src/react/components/detail-tags.tsx
-var N2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var P2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
});
-function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Nt({
queryKey: ["tag-management", n],
queryFn: ({ signal: e }) => V(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),
enabled: f && (n === "online" || !t.length)
- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = EH(), _ = (e) => {
+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = DH(), _ = (e) => {
g.run("rename", async (t) => {
let r = (await U.fetchQuery({
queryKey: ["tag-management", n],
@@ -73022,9 +73037,9 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"data-edit-tag": e.k,
title: "修改标签名称",
"aria-label": `修改标签 ${a(e.k)}`,
- ...EV(!!g.busy),
+ ...DV(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "pencil" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -73033,10 +73048,10 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `删除标签 ${a(e.k)}`,
...l(e.k),
onClick: () => c(e),
- children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "x" })
})
]
- }, e.k)), /* @__PURE__ */ (0, I.jsx)(Uje, {
+ }, e.k)), /* @__PURE__ */ (0, I.jsx)(Wje, {
tags: e,
candidates: h,
label: a,
@@ -73047,11 +73062,11 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
loading: m.isFetching
})]
}),
- g.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ g.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: g.error
}) : null,
- m.isError ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ m.isError ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -73060,7 +73075,7 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, I.jsx)(h$, {
+ u ? /* @__PURE__ */ (0, I.jsx)(g$, {
operation: "rename",
selected: [u],
scope: n,
@@ -73069,8 +73084,8 @@ function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
- let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = ZV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
+function Wje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+ let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = QV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
adding: i,
query: h,
tags: e,
@@ -73115,7 +73130,7 @@ function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
_,
t.length
]);
- let w = p ? Nue(_, t, KP()) : {
+ let w = p ? Mue(_, t, qP()) : {
recent: [],
results: [],
create: ""
@@ -73158,7 +73173,7 @@ function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, I.jsx)(N2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, I.jsx)(P2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -73178,8 +73193,8 @@ function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
title: "添加标签",
"aria-label": "添加标签",
"aria-expanded": p,
- ...EV(!!i),
- children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" })
+ ...DV(!!i),
+ children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -73192,7 +73207,7 @@ function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: Rs("正在读取标签") }
- }) : /* @__PURE__ */ (0, I.jsx)(N2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
+ }) : /* @__PURE__ */ (0, I.jsx)(P2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -73236,7 +73251,7 @@ function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -73253,8 +73268,8 @@ function Uje({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function Wje({ item: e, label: t, actions: n }) {
- let r = EH(), i = () => U.invalidateQueries({ predicate: (e) => [
+function Gje({ item: e, label: t, actions: n }) {
+ let r = DH(), i = () => U.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
"tag-management"
@@ -73277,7 +73292,7 @@ function Wje({ item: e, label: t, actions: n }) {
}, "POST", t);
a(n), await i();
}, () => {
- o === "add" && qP(s);
+ o === "add" && JP(s);
let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";
n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {
let t = await H("/api/follow/tag", {
@@ -73293,10 +73308,10 @@ function Wje({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, I.jsx)(P2, {
- tags: Eje(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, I.jsx)(F2, {
+ tags: Dje(e, t).map((t) => ({
k: t,
- cat: Tje(e, t)
+ cat: Eje(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -73305,30 +73320,30 @@ function Wje({ item: e, label: t, actions: n }) {
onOpen: n.openTag,
onAdd: (e) => o("add", e),
onRemove: (e) => o("remove", e.k),
- busyAttrs: () => EV(!!r.busy)
- }), r.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ busyAttrs: () => DV(!!r.busy)
+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: r.error
}) : null]
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var F2 = (e) => Number(e) > 0, Gje = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var I2 = (e) => Number(e) > 0, Kje = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), I2 = z("external-link", "ui-externalmark");
-function Kje(e) {
+}), L2 = z("external-link", "ui-externalmark");
+function qje(e) {
let { id: t, actions: n } = e, r = Nt({
- queryKey: t2(t),
- queryFn: ({ signal: e }) => r2(t, e)
+ queryKey: n2(t),
+ queryFn: ({ signal: e }) => i2(t, e)
}), i = Nt({
queryKey: na,
queryFn: ({ signal: e }) => ra(e)
}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, I.jsx)(Yje, {
+ return r.data ? /* @__PURE__ */ (0, I.jsx)(Xje, {
...e,
data: r.data,
- context: Dje(r.data, a),
+ context: Oje(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -73337,9 +73352,9 @@ function Kje(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? qje(r.error) ? /* @__PURE__ */ (0, I.jsx)(Jje, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: r.isError ? Jje(r.error) ? /* @__PURE__ */ (0, I.jsx)(Yje, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -73347,8 +73362,8 @@ function Kje(e) {
})
});
}
-var qje = (e) => e instanceof n2 || e instanceof ar && e.status === 404;
-function Jje({ onBack: e }) {
+var Jje = (e) => e instanceof r2 || e instanceof ar && e.status === 404;
+function Yje({ onBack: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -73357,7 +73372,7 @@ function Jje({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Ls("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -73366,8 +73381,8 @@ var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function Yje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = _je(c, l, n, i), d = tMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
+function Xje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = vje(c, l, n, i), d = nMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
key: "",
kind: ""
}), h = {
@@ -73387,20 +73402,20 @@ function Yje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? vje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(V2, {
+ let g = !u.embedded.length && u.collection ? yje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(V2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(H2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, I.jsx)(Qje, {
+ }) : /* @__PURE__ */ (0, I.jsx)($je, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -73410,14 +73425,14 @@ function Yje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Zje, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Qje, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, I.jsx)($je, {
+ }, f), /* @__PURE__ */ (0, I.jsx)(eMe, {
item: c,
data: e,
context: t,
@@ -73427,9 +73442,9 @@ function Yje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, I.jsx)(A2, {
+ }), /* @__PURE__ */ (0, I.jsx)(j2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(Xje, {
+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(Zje, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -73439,23 +73454,23 @@ function Yje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function Xje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function Zje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Nt({
- queryKey: Vje(e.item.id, t, n),
- queryFn: ({ signal: r }) => Hje(e, t, n, r)
- }), [s] = (0, F.useState)(() => T2("正在读取推荐", {
+ queryKey: Hje(e.item.id, t, n),
+ queryFn: ({ signal: r }) => Uje(e, t, n, r)
+ }), [s] = (0, F.useState)(() => E2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, F.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = M2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = N2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, I.jsx)(k2, {
+ return /* @__PURE__ */ (0, I.jsx)(A2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -73465,11 +73480,11 @@ function Xje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(ZZ, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(QZ, {
variant: "next",
group: e,
media: t,
- authorSources: c2(e.primary, u),
+ authorSources: l2(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -73482,8 +73497,8 @@ function Xje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function Zje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = Oje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({
+function Qje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = kje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({
item: e,
selected: o
}), x = (0, F.useRef)(i.failed);
@@ -73497,14 +73512,14 @@ function Zje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void BZ(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void VZ(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -73512,10 +73527,10 @@ function Zje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: EG(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: DG(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, I.jsx)(j2, {
+ u ? /* @__PURE__ */ (0, I.jsx)(M2, {
items: c,
position: l,
onSelect: r,
@@ -73532,11 +73547,11 @@ function Zje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var R2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }
});
-function z2({ src: e }) {
+function B2({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
@@ -73546,27 +73561,27 @@ function z2({ src: e }) {
onError: () => n(!0)
});
}
-function B2(e) {
+function V2(e) {
return (0, F.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function Qje({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = ga(e), a = B2(n);
- return /* @__PURE__ */ (0, I.jsx)(GK, {
+function $je({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = ga(e), a = V2(n);
+ return /* @__PURE__ */ (0, I.jsx)(KK, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${OG(e.primary)} · ${i.length} 个视频`,
+ summary: `${kG(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = Sje(e, n, i ? n.provider_label : ""), o = i ? EG(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, I.jsxs)(KK, {
+ let i = e.duplicates.includes(n), a = Cje(e, n, i ? n.provider_label : ""), o = i ? DG(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, I.jsxs)(qK, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: "video" }), F2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: "video" }), I2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Kn(n.duration)
@@ -73584,15 +73599,15 @@ function Qje({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, I.jsx)("time", {
dateTime: n.published_at || "",
- children: LG(n)
+ children: RG(n)
})]
})]
}, n.id);
})
});
}
-function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = B2(r), c = [];
+function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = V2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -73602,26 +73617,26 @@ function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, I.jsx)(GK, {
+ return /* @__PURE__ */ (0, I.jsx)(KK, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${OG(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(xbe, {
+ summary: `${kG(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Sbe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(KK, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(qK, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, I.jsx)("b", {
"data-middle-truncate": "",
- children: Cje(n)
+ children: wje(n)
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -73629,13 +73644,13 @@ function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function eMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = PG(d, e), p = MG(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && Vn(e.author) !== Vn(p.author) ? e.author : "", h = FG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = FG(d, e), p = NG(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && Vn(e.author) !== Vn(p.author) ? e.author : "", h = IG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -73651,7 +73666,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: NG(d, e) + B(OG(e)) }
+ dangerouslySetInnerHTML: { __html: PG(d, e) + B(kG(e)) }
}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -73659,7 +73674,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: I2 }
+ dangerouslySetInnerHTML: { __html: L2 }
}) : null]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -73667,8 +73682,8 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, I.jsx)("span", { children: LG(e) }),
- F2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Kn(e.duration) }) : null,
+ /* @__PURE__ */ (0, I.jsx)("span", { children: RG(e) }),
+ I2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Kn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -73685,7 +73700,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(YZ, {
+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(XZ, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -73717,7 +73732,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, I.jsx)(eMe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, I.jsx)(tMe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -73740,9 +73755,9 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [xje(e), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [Sje(e), /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: I2 }
+ dangerouslySetInnerHTML: { __html: L2 }
})]
}, e))
}) : null,
@@ -73842,7 +73857,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...v(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Gje, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Kje, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -73851,7 +73866,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, I.jsx)(Wje, {
+ /* @__PURE__ */ (0, I.jsx)(Gje, {
item: e,
label: o.tagLabel,
actions: s
@@ -73860,7 +73875,7 @@ function $je({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function eMe({ text: e }) {
+function tMe({ text: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -73873,7 +73888,7 @@ function eMe({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: tL(e),
+ lang: nL(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -73885,8 +73900,8 @@ function eMe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function tMe(e, t, n) {
- let r = e.id, i = t2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
+function nMe(e, t, n) {
+ let r = e.id, i = n2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -73905,7 +73920,7 @@ function tMe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && xW(), t.toast(kje(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && wW(), t.toast(Aje(n), { undo: i === "saved" ? void 0 : async () => {
await H(Ar, {
item: r,
to: i
@@ -73915,7 +73930,7 @@ function tMe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Pt({
- mutationFn: () => H(mje, { item: r }),
+ mutationFn: () => H(hje, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -73923,7 +73938,7 @@ function tMe(e, t, n) {
onSettled: () => l("save", !1)
}), m = Pt({
mutationFn: async ({ index: e, hidden: t }) => {
- await H(hje, {
+ await H(gje, {
item: r,
media: e,
hidden: t
@@ -73939,12 +73954,12 @@ function tMe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Nt({
- queryKey: Gve(r),
- queryFn: ({ signal: e }) => Jve(r, e)
+ queryKey: Kve(r),
+ queryFn: ({ signal: e }) => bW(r, e)
}).data?.want ?? null, g = Pt({
- mutationFn: async (e) => (e ? await yW([e.id]) : await vW({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await SW([e.id]) : await xW({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), xW();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), wW();
},
onError: d,
onSettled: () => l("want", !1)
@@ -73983,8 +73998,8 @@ function tMe(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
- yL();
+function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+ bL();
let o = en(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${B(Qn(o))}</span>` + mo({
@@ -74030,7 +74045,7 @@ function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function U2({ people: e, onOpen: t }) {
+function W2({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
@@ -74063,7 +74078,7 @@ function U2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function W2(e) {
+function G2(e) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -74080,9 +74095,9 @@ function W2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(AQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(jQ, {
item: {
code: e.code,
has_cover: !1,
@@ -74096,7 +74111,7 @@ function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
src: c,
alt: "",
onError: () => a(c)
- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -74114,34 +74129,34 @@ function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var K2 = (e) => ["jav-detail", e], q2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), nMe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), J2 = (e, t) => U.ensureQueryData({
- queryKey: K2(e.code),
- queryFn: () => q2(e.code, t),
+var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), rMe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => U.ensureQueryData({
+ queryKey: q2(e.code),
+ queryFn: () => J2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function rMe(e, t) {
+function iMe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
// src/react/item-detail/external-playback.tsx
-var Y2 = "peach.playback-target.v1", X2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function iMe() {
+var X2 = "peach.playback-target.v1", Z2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function aMe() {
try {
- return localStorage.getItem(Y2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(X2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function Z2({ id: e, onOpened: t }) {
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(iMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = EH();
+function Q2({ id: e, onOpened: t }) {
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(aMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = DH();
(0, F.useEffect)(() => {
let e = new AbortController();
return V("/api/local-players", e.signal).then((t) => {
- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || X2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || Z2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => X2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => Z2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -74165,29 +74180,29 @@ function Z2({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, I.jsx)(p1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(m1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...X2],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...Z2],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(Y2, e);
+ localStorage.setItem(X2, e);
} catch {}
}
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
"aria-label": "使用外部播放器打开",
disabled: n === null,
- ...EV(f.busy === "open"),
+ ...DV(f.busy === "open"),
onClick: p,
children: "打开"
})]
}),
- f.error || c ? /* @__PURE__ */ (0, I.jsx)(pU, { children: f.error || c }) : null,
+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(mU, { children: f.error || c }) : null,
c ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !!f.busy,
@@ -74196,16 +74211,16 @@ function Z2({ id: e, onOpened: t }) {
},
children: "重新检测播放器"
}) : null,
- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vV, {
+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(yV, {
label: "网络播放地址",
value: o.url,
isReadOnly: !0
- }), /* @__PURE__ */ (0, I.jsx)(fU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
+ }), /* @__PURE__ */ (0, I.jsx)(pU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
]
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var aMe = YI({
+var oMe = XI({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -74267,23 +74282,23 @@ var aMe = YI({
}
}
});
-function oMe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = aMe[t];
+function sMe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = oMe[t];
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
- className: JI("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? JI("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: YI("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? YI("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, I.jsx)("span", {
- className: JI("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, I.jsx)("span", { className: JI("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: YI("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, I.jsx)("span", { className: YI("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, I.jsx)(xme, {
ref: i,
...a,
- className: (t) => JI("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(oMe, {
+ className: (t) => YI("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(sMe, {
state: e,
size: n,
shape: r
@@ -74294,12 +74309,12 @@ function Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var sMe = "/api/cover-crop", cMe = (e, t) => H(sMe, {
+var cMe = "/api/cover-crop", lMe = (e, t) => H(cMe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function $2({ className: e }) {
+function e4({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -74312,7 +74327,7 @@ function $2({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })
});
}
-function lMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function uMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74322,13 +74337,13 @@ function lMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, I.jsx)(yV, {
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, I.jsx)(bV, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, I.jsx)(uMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(dMe, {
code: e,
coverUrl: t,
box: n,
@@ -74337,9 +74352,9 @@ function lMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function uMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = ZV(), f = Pt({
- mutationFn: (t) => cMe(e, t),
+function dMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = QV(), f = Pt({
+ mutationFn: (t) => lMe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -74351,19 +74366,19 @@ function uMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : GEe(e, eo);
- c(pQ(t, e, null));
+ } : KEe(e, eo);
+ c(mQ(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(bV, { children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(xV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(nR, {
+ /* @__PURE__ */ (0, I.jsx)(rR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -74372,14 +74387,14 @@ function uMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "text-body-2-regular text-text-secondary",
children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]
}),
- f.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ f.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: sr(f.error)
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(SL, {
- icon: zB,
+ /* @__PURE__ */ (0, I.jsx)(CL, {
+ icon: BB,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -74389,24 +74404,24 @@ function uMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, I.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, I.jsx)(vQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(yQ, {
src: t,
aspect: l ? eo : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- dQ(e) && p(e);
+ fQ(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, I.jsx)(Q2, {
+ children: [/* @__PURE__ */ (0, I.jsx)($2, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(pQ(s, a, eo));
+ u(e), e && s && a && c(mQ(s, a, eo));
},
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -74416,14 +74431,14 @@ function uMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "flex flex-1 flex-wrap items-center justify-end gap-3",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(m),
+ ...DV(m),
onClick: () => {
m || f.mutate(null);
},
children: "恢复默认"
}), /* @__PURE__ */ (0, I.jsx)(J, {
disabled: !s || !a,
- ...EV(m),
+ ...DV(m),
onClick: () => {
s && !m && f.mutate(s);
},
@@ -74434,21 +74449,21 @@ function uMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var e4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var t4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), t4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+}), n4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), n4 = (e) => Number(e) > 0 ? Jn(Number(e)) : "大小未知";
-function dMe(e) {
+}), r4 = (e) => Number(e) > 0 ? Jn(Number(e)) : "大小未知";
+function fMe(e) {
let { queue: t, actions: n } = e, r = Nt({
- queryKey: t ? DP(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => IP(t, e.helpers, n),
+ queryKey: t ? OP(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => LP(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? zP(i, e.id) : t ? null : e.id, o = Nt({
- queryKey: EP(a ?? 0),
- queryFn: ({ signal: e }) => FP(a, e),
+ }), i = t && r.data || null, a = i ? BP(i, e.id) : t ? null : e.id, o = Nt({
+ queryKey: DP(a ?? 0),
+ queryFn: ({ signal: e }) => IP(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -74459,9 +74474,9 @@ function dMe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(r4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(i4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: yn(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -74471,13 +74486,13 @@ function dMe(e) {
})
});
}
- return /* @__PURE__ */ (0, I.jsx)(fMe, {
+ return /* @__PURE__ */ (0, I.jsx)(pMe, {
...e,
- item: Aue(o.data, i),
+ item: kue(o.data, i),
queue: i
}, o.data.id);
}
-var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74486,23 +74501,23 @@ var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function fMe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = DMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
+function pMe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = OMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
(0, F.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, F.useEffect)(() => {
- n?.kind === "playlist" && H(OP, {
+ n?.kind === "playlist" && H(kP, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = oP() ? "" : Bue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = BP(n, t.id);
+ let s = sP() ? "" : zue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = VP(n, t.id);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(pMe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(mMe, {
item: t,
gate: s,
helpers: i,
@@ -74515,22 +74530,22 @@ function fMe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, I.jsx)(vMe, {
+ }), /* @__PURE__ */ (0, I.jsx)(yMe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, I.jsx)(A2, {
+ }), /* @__PURE__ */ (0, I.jsx)(j2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, I.jsx)(hMe, {
+ queue: n ? /* @__PURE__ */ (0, I.jsx)(gMe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(EMe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(DMe, {
...e,
item: n ? {
...t,
@@ -74539,12 +74554,12 @@ function fMe(e) {
}) : null
})] });
}
-function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function mMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Nt({
- queryKey: K2(e.code || ""),
+ queryKey: q2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, q2(e.code, t, n);
+ return d.current = !1, J2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -74589,7 +74604,7 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": h ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, I.jsx)(r4, { onClose: r.close }),
+ /* @__PURE__ */ (0, I.jsx)(i4, { onClose: r.close }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -74599,21 +74614,21 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })
]
}),
- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(G2, {
+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(K2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, I.jsx)(j2, {
+ }, e.id), /* @__PURE__ */ (0, I.jsx)(M2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(G2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(K2, {
item: e,
image: t.index === -2 ? m[0].index : t.index,
source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,
@@ -74629,7 +74644,7 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
className: "relative block h-12 w-20 skeleton-sheen"
}) : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(f.isFetching),
+ ...DV(f.isFetching),
title: f.data?.message || yn(f.error),
"aria-label": "立即重试样图",
onClick: () => {
@@ -74638,7 +74653,7 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(mMe, {
+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(hMe, {
item: e,
badge: y,
helpers: n,
@@ -74649,7 +74664,7 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, I.jsx)(Z2, {
+ /* @__PURE__ */ (0, I.jsx)(Q2, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -74659,7 +74674,7 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, I.jsx)(t4, { html: y }),
+ /* @__PURE__ */ (0, I.jsx)(n4, { html: y }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74674,12 +74689,12 @@ function pMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", n4(e.size)] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", r4(e.size)] })]
}) : null
]
});
}
-function mMe({ item: e, badge: t, helpers: n, actions: r }) {
+function hMe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -74690,7 +74705,7 @@ function mMe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, I.jsx)(t4, { html: t }),
+ /* @__PURE__ */ (0, I.jsx)(n4, { html: t }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74704,8 +74719,8 @@ function mMe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function hMe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Iue(e), a = (0, F.useRef)(null), o = _Me(e, t, r), s = (0, F.useRef)(o);
+function gMe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Fue(e), a = (0, F.useRef)(null), o = vMe(e, t, r), s = (0, F.useRef)(o);
s.current = o;
let c = (0, F.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -74713,7 +74728,7 @@ function hMe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = gMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }, [n, e.kind]), l = _Me(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -74732,7 +74747,7 @@ function hMe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, I.jsx)(GK, {
+ return /* @__PURE__ */ (0, I.jsx)(KK, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -74741,11 +74756,11 @@ function hMe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, I.jsx)("i", {
- className: `javedition ${Pue[i.edition_label] || "censored"}`,
+ className: `javedition ${Nue[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && RP(i);
- return /* @__PURE__ */ (0, I.jsxs)(KK, {
+ }) : null, s = e.kind === "playlist" && zP(i);
+ return /* @__PURE__ */ (0, I.jsxs)(qK, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -74755,25 +74770,25 @@ function hMe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: Eo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: Eo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Kn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, I.jsx)(t4, { html: ko(i) }),
+ lead: /* @__PURE__ */ (0, I.jsx)(n4, { html: ko(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, I.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, I.jsxs)("span", {
@@ -74784,14 +74799,14 @@ function hMe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? JP(i.part_label) : Ao(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? YP(i.part_label) : Ao(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function gMe(e, t) {
- let n = Pt({ mutationFn: (t) => H(OP, {
+function _Me(e, t) {
+ let n = Pt({ mutationFn: (t) => H(kP, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -74804,11 +74819,11 @@ function gMe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function _Me(e, t, n) {
- let r = DP({
+function vMe(e, t, n) {
+ let r = OP({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (U.setQueryData(r, LP(e)), e), a = (t) => H(OP, {
+ }), i = (e) => (U.setQueryData(r, RP(e)), e), a = (t) => H(kP, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = Pt({
@@ -74824,8 +74839,8 @@ function _Me(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Rue(s, t, r, c);
- if (zue(l, s)) return;
+ let l = Lue(s, t, r, c);
+ if (Rue(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -74867,7 +74882,7 @@ function _Me(e, t, n) {
}
};
}
-function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function yMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-side": "",
@@ -74875,7 +74890,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(yMe, {
+ /* @__PURE__ */ (0, I.jsx)(bMe, {
item: e,
queue: t,
helpers: r,
@@ -74887,7 +74902,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, I.jsx)(xMe, {
+ /* @__PURE__ */ (0, I.jsx)(SMe, {
item: e,
write: n
}),
@@ -74898,7 +74913,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -74906,11 +74921,11 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n4(e.size) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: r4(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -74918,32 +74933,32 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Z2, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Q2, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, I.jsx)(SMe, {
+ /* @__PURE__ */ (0, I.jsx)(CMe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(CMe, {
+ /* @__PURE__ */ (0, I.jsx)(wMe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(rq, {
- assetIds: nq([e], r.javImage()),
+ /* @__PURE__ */ (0, I.jsx)(iq, {
+ assetIds: rq([e], r.javImage()),
onComplete: () => {
- U.invalidateQueries({ queryKey: EP(e.id) });
+ U.invalidateQueries({ queryKey: DP(e.id) });
}
}),
- /* @__PURE__ */ (0, I.jsx)(wMe, { item: e }),
+ /* @__PURE__ */ (0, I.jsx)(TMe, { item: e }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -74957,7 +74972,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74969,7 +74984,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74980,7 +74995,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74991,7 +75006,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "eye" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "eye" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75002,7 +75017,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75011,7 +75026,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "playlist" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "playlist" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75022,7 +75037,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "sparkles" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75033,11 +75048,11 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "trash" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(TMe, {
+ /* @__PURE__ */ (0, I.jsx)(EMe, {
item: e,
open: s,
write: n
@@ -75048,7 +75063,7 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, I.jsx)(e4, { name: "sperm" }),
+ /* @__PURE__ */ (0, I.jsx)(t4, { name: "sperm" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, I.jsx)("b", {
className: "mono",
@@ -75061,8 +75076,8 @@ function vMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function yMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = W2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Lue(e, t);
+function bMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Iue(e, t);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75089,23 +75104,23 @@ function yMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, I.jsx)(GH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(KH, {})
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, I.jsx)(lMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(uMe, {
code: e.cover_key || e.code || "",
coverUrl: so(e),
box: e.poster_box || null,
onSaved: (t) => {
U.invalidateQueries({
- queryKey: EP(e.id),
+ queryKey: DP(e.id),
exact: !0
- }), SP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), CP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(bMe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(xMe, {
id: e.id,
actions: r,
onStatus: i
@@ -75115,7 +75130,7 @@ function yMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function bMe({ id: e, actions: t, onStatus: n }) {
+function xMe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, F.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -75145,18 +75160,18 @@ function bMe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "folder-sync" })
})] });
}
-function xMe({ item: e, write: t }) {
- let n = wP(e.rating);
+function SMe({ item: e, write: t }) {
+ let n = TP(e.rating);
return /* @__PURE__ */ (0, I.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": CP(e.rating),
- children: [/* @__PURE__ */ (0, I.jsx)(gY, {
+ "data-value": wP(e.rating),
+ children: [/* @__PURE__ */ (0, I.jsx)(_Y, {
value: n,
onRate: (e) => t.rate(e),
busyStar: [
@@ -75170,14 +75185,14 @@ function xMe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Eue(e.rating)
+ children: Tue(e.rating)
})]
});
}
-function SMe({ item: e, actions: t }) {
- let n = (0, F.useMemo)(() => jue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function CMe({ item: e, actions: t }) {
+ let n = (0, F.useMemo)(() => Aue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, I.jsx)(H2, {
+ return /* @__PURE__ */ (0, I.jsx)(U2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -75209,7 +75224,7 @@ function SMe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "user-round" })
+ children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "user-round" })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -75221,7 +75236,7 @@ function SMe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: NB,
+ trailingIcon: PB,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -75240,18 +75255,18 @@ function SMe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, I.jsx)(U2, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(W2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function CMe({ item: e, write: t, helpers: n, actions: r }) {
+function wMe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, I.jsx)(P2, {
+ children: /* @__PURE__ */ (0, I.jsx)(F2, {
id: "detailTags",
- tags: Mue(e, n),
+ tags: jue(e, n),
candidates: n.tagCandidates(),
label: n.tagLabel,
adding: [...t.busy].some((e) => e.startsWith("add:")),
@@ -75262,8 +75277,8 @@ function CMe({ item: e, write: t, helpers: n, actions: r }) {
})
});
}
-function wMe({ item: e }) {
- let t = Vue(e);
+function TMe({ item: e }) {
+ let t = Bue(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75297,7 +75312,7 @@ function wMe({ item: e }) {
})]
});
}
-function TMe({ item: e, open: t, write: n }) {
+function EMe({ item: e, open: t, write: n }) {
let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
t && a.current?.focus();
@@ -75336,12 +75351,12 @@ function TMe({ item: e, open: t, write: n }) {
})]
});
}
-function EMe(e) {
+function DMe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Nt({
- queryKey: Due(t.id, n),
- queryFn: async ({ signal: e }) => (await V(kue(t.id, n), e)).items || []
+ queryKey: Eue(t.id, n),
+ queryFn: async ({ signal: e }) => (await V(Oue(t.id, n), e)).items || []
}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, I.jsx)(k2, {
+ return /* @__PURE__ */ (0, I.jsx)(A2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -75349,7 +75364,7 @@ function EMe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, I.jsx)(TY, {
+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(EY, {
mode: "items",
variant: "next",
items: a.data,
@@ -75362,11 +75377,11 @@ function EMe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, I.jsx)(t4, { html: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(n4, { html: o })
});
}
-function DMe(e, t, n) {
- let r = e.id, i = EP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
+function OMe(e, t, n) {
+ let r = e.id, i = DP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => U.getQueryData(i) || e, p = (e) => {
@@ -75382,7 +75397,7 @@ function DMe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return xP(r, n), t;
+ return SP(r, n), t;
}, m = (e, t) => H(e, {
id: r,
...t
@@ -75397,7 +75412,7 @@ function DMe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(kP, t === void 0 ? { kind: e } : {
+ let n = await m(AP, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -75417,21 +75432,21 @@ function DMe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = TP(n, e);
- await _("rate", r), t.toast(r ? `已评 ${wP(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = EP(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${TP(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(YP(e, r), { undo: async () => {
+ t.toast(XP(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => g("later", "更新稍后看", async () => {
- let e = await m(jP, {});
+ let e = await m(MP, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(jP, {})).watch_later });
+ p({ watch_later: (await m(MP, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -75441,9 +75456,9 @@ function DMe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(MP, { wanted: !e.wanted });
+ }), r = await m(NP, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(MP, e));
+ n(await m(NP, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -75457,7 +75472,7 @@ function DMe(e, t, n) {
});
u("保存中…");
try {
- o(await m(NP, {
+ o(await m(PP, {
liked: a,
reason: i
}));
@@ -75467,7 +75482,7 @@ function DMe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(NP, r));
+ o(await m(PP, r));
} });
});
},
@@ -75476,41 +75491,41 @@ function DMe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => UP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(AP, {
+ p((t) => WP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(jP, {
operation: "add",
tag: e.k
- }), p((t) => WP(t, e));
+ }), p((t) => GP(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(AP, {
+ let e = await m(jP, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- HP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => WP(e, {
+ UP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => GP(e, {
k: i,
cat: "general"
- })), qP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(AP, {
+ })), JP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(jP, {
operation: "remove",
tag: i
- }), p((e) => UP(e, i));
+ }), p((e) => WP(e, i));
} }));
});
}
};
}
// src/react/publication-cache.ts
-var i4 = 864e5, a4 = (e) => {
+var a4 = 864e5, o4 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function o4(e) {
+function s4(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -75518,25 +75533,25 @@ function o4(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function OMe(e, t = Date.now()) {
- let n = o4(e);
- return n !== void 0 && a4(t) > n ? Infinity : i4;
+function kMe(e, t = Date.now()) {
+ let n = s4(e);
+ return n !== void 0 && o4(t) > n ? Infinity : a4;
}
-function s4(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : OMe(t, n) === Infinity ? a4(e) > o4(t) : n - e < i4;
+function c4(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : kMe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;
}
// src/react/wants/resource-cache.ts
-var c4 = "peach.want-resources.v2";
-function l4(e) {
+var l4 = "peach.want-resources.v2";
+function u4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function u4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !l4(e) ? Date.now() - t < 6e4 : s4(t, n));
+function d4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !u4(e) ? Date.now() - t < 6e4 : c4(t, n));
}
-function d4() {
+function f4() {
try {
- let e = JSON.parse(localStorage.getItem(c4) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && l4(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(l4) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && u4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -75545,23 +75560,23 @@ function d4() {
return [];
}
}
-function kMe(e, t) {
- let n = d4().find((t) => t.code === e);
- return n && s4(n.saved, t) ? n : void 0;
+function AMe(e, t) {
+ let n = f4().find((t) => t.code === e);
+ return n && c4(n.saved, t) ? n : void 0;
}
-function AMe(e) {
- let t = new Map(d4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function jMe(e) {
+ let t = new Map(f4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && s4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && c4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function jMe(e, t) {
- if (t.state === "ready" && l4(t)) try {
- let n = d4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(c4, JSON.stringify([{
+function MMe(e, t) {
+ if (t.state === "ready" && u4(t)) try {
+ let n = f4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(l4, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -75569,15 +75584,15 @@ function jMe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function MMe(e) {
+function NMe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Jn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function NMe(e) {
+function PMe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function f4({ icon: e, children: t, title: n }) {
+function p4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -75587,8 +75602,8 @@ function f4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = EH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => kMe(h, e.release_date), [h, e.release_date]);
+function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = DH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => AMe(h, e.release_date), [h, e.release_date]);
(0, F.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -75608,22 +75623,22 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", jMe(h, i), i;
+ return m.current = n && i.state === "busy", MMe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
(0, F.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, F.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && qve(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && yW(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -75631,7 +75646,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await H(sW, {
+ let n = await H(cW, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -75642,7 +75657,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: cW });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: lW });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -75660,39 +75675,39 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: rV,
- ...EV(x),
+ leadingIcon: iV,
+ ...DV(x),
onClick: () => {
x || (m.current = !0, _.refetch());
},
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, I.jsx)(zH, { label: "正在查找资源链接" }) : null,
- S ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ x ? /* @__PURE__ */ (0, I.jsx)(BH, { label: "正在查找资源链接" }) : null,
+ S ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
title: "资源链接未取得",
children: S
}) : null,
- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(xV, {
+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
- children: NMe(e)
+ children: PMe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(PL, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(FL, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: UB,
+ trailingIcon: WB,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
children: "查看来源页"
}) : null,
- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: "暂未找到资源链接。"
}) : null,
- f.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ f.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
title: "操作未完成",
children: f.error
@@ -75707,7 +75722,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(aW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(oW, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -75721,26 +75736,26 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, I.jsx)(f4, {
+ /* @__PURE__ */ (0, I.jsx)(p4, {
icon: Qhe,
children: e.source
}),
- /* @__PURE__ */ (0, I.jsx)(f4, {
- icon: XB,
+ /* @__PURE__ */ (0, I.jsx)(p4, {
+ icon: ZB,
title: `来源大小:${e.size}`,
- children: MMe(e.size)
+ children: NMe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, I.jsx)(f4, {
+ e.files ? /* @__PURE__ */ (0, I.jsx)(p4, {
icon: Uhe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, I.jsx)(f4, {
+ /* @__PURE__ */ (0, I.jsx)(p4, {
icon: Mhe,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(f4, {
- icon: nV,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(p4, {
+ icon: rV,
children: e
}, e))
]
@@ -75749,11 +75764,11 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-actions": "",
className: "flex flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(PL, {
+ /* @__PURE__ */ (0, I.jsx)(FL, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: UB,
+ trailingIcon: WB,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -75763,17 +75778,17 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
variant: "secondary",
size: "small",
leadingIcon: Vhe,
- ...EV(f.busy === `copy:${e.id}`),
+ ...DV(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
}),
e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
size: "small",
- leadingIcon: v ? vU(v.key) : Lhe,
+ leadingIcon: v ? yU(v.key) : Lhe,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
- ...EV(f.busy === e.id),
+ ...DV(f.busy === e.id),
onClick: () => y(e),
children: r ? "已添加" : "添加下载"
}) : null
@@ -75784,7 +75799,7 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(hU, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(gU, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -75796,10 +75811,10 @@ function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var m4 = "peach.jav-reviews.v2";
-function h4() {
+var h4 = "peach.jav-reviews.v2";
+function g4() {
try {
- let e = localStorage.getItem(m4) || "[]";
+ let e = localStorage.getItem(h4) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -75807,21 +75822,21 @@ function h4() {
return [];
}
}
-function PMe(e, t) {
+function FMe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...h4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(m4, i);
+ }, ...g4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(h4, i);
} catch {}
}
-function FMe(e, t) {
- let n = h4(), r = [], i = Infinity;
+function IMe(e, t) {
+ let n = g4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !s4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !c4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -75829,16 +75844,16 @@ function FMe(e, t) {
saved: i
} : void 0;
}
-function IMe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && s4(Date.parse(e.checked_at || "") || t, n));
+function LMe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && c4(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function LMe(e) {
+function RMe(e) {
let t = (0, F.useRef)(!1), n = Nt({
- queryKey: K2(e.code),
+ queryKey: q2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, q2(e.code, n, r);
+ return t.current = !1, J2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -75848,21 +75863,21 @@ function LMe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, I.jsx)(RMe, {
+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(zMe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, I.jsx)(g4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(ZG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(QG, {
message: sr(n.error),
onRetry: r
}) : null]
})
});
}
-var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75871,7 +75886,7 @@ var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function zMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, F.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, F.useEffect)(() => {
@@ -75891,13 +75906,13 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = EH(), m = () => {
- p.run("want", async (e) => d ? (await yW([d], e), null) : (await vW({ code: t.code }, e)).want.id, (t) => {
- f(t), U.setQueryData(K2(e), (e) => e && {
+ ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = DH(), m = () => {
+ p.run("want", async (e) => d ? (await SW([d], e), null) : (await xW({ code: t.code }, e)).want.id, (t) => {
+ f(t), U.setQueryData(q2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), xW(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), wW(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -75906,24 +75921,24 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(g4, { close: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(_4, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(VMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(AQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(HMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(jQ, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, I.jsx)(j2, {
+ /* @__PURE__ */ (0, I.jsx)(M2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(AQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(jQ, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -75937,33 +75952,33 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(zMe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, I.jsx)(BMe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, I.jsx)(v4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, I.jsx)(v4, {
+ }), /* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, I.jsx)(BMe, {
+ /* @__PURE__ */ (0, I.jsx)(VMe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, I.jsx)(v4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, I.jsx)(v4, {
+ }), /* @__PURE__ */ (0, I.jsx)(y4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -75992,14 +76007,14 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
t.summary ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-jav-summary": "",
"data-long-text": "",
- lang: tL(t.summary),
+ lang: nL(t.summary),
children: t.summary
}) : null,
- t.message ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ t.message ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(a),
+ ...DV(a),
onClick: i,
children: "立即重试"
}),
@@ -76008,10 +76023,10 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-actions": "",
children: [
- t.source_url ? /* @__PURE__ */ (0, I.jsx)(PL, {
+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(FL, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: UB,
+ trailingIcon: WB,
href: t.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -76021,7 +76036,7 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
variant: "secondary",
disabled: r,
"aria-pressed": !!d,
- ...EV(!!p.busy),
+ ...DV(!!p.busy),
onClick: m,
children: d ? "取消想要" : "想要"
}),
@@ -76039,16 +76054,16 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
})
]
}),
- p.error ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ p.error ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, I.jsx)(HMe, {
+ /* @__PURE__ */ (0, I.jsx)(UMe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, I.jsx)(UMe, {
+ /* @__PURE__ */ (0, I.jsx)(WMe, {
item: t,
actions: n,
readOnly: r
@@ -76056,24 +76071,24 @@ function RMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, I.jsx)(mW, {
+ /* @__PURE__ */ (0, I.jsx)(hW, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var _4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var v4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: z(e) }
-}), v4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
+}), y4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
}) : null;
-function zMe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = W2(e.title), a = e.title === e.code ? "" : e.title;
+function BMe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = G2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, I.jsx)("h1", {
@@ -76089,7 +76104,7 @@ function zMe({ item: e }) {
r && !String(getSelection() || "") && i();
},
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
- lang: tL(a),
+ lang: nL(a),
children: a
})] }) : null]
})
@@ -76103,25 +76118,25 @@ function zMe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, I.jsx)(GH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(KH, {})
})
})]
});
}
-function y4({ score: e, review: t = !1 }) {
+function b4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
"data-review-rating": t ? "" : void 0,
role: "img",
"aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,
- children: [/* @__PURE__ */ (0, I.jsx)(gY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(_Y, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-value": "",
children: [e.toFixed(1), " / 5"]
})]
});
}
-function BMe({ item: e, navigate: t }) {
+function VMe({ item: e, navigate: t }) {
let n = (e, n) => t(Mn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -76130,14 +76145,14 @@ function BMe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(H2, {
+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(U2, {
kind: t,
person: {
...r,
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(jQ, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(MQ, {
code: e.code,
person: r,
detail: !0
@@ -76154,7 +76169,7 @@ function BMe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, I.jsx)(U2, {
+ }), /* @__PURE__ */ (0, I.jsx)(W2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -76163,18 +76178,18 @@ function BMe({ item: e, navigate: t }) {
})]
});
}
-function VMe({ src: e }) {
+function HMe({ src: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);
return (0, F.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), pue(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), fue(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
}, [e, i]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
"data-jav-video": "",
- children: n ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -76187,8 +76202,8 @@ function VMe({ src: e }) {
}) : null
});
}
-function HMe({ code: e, count: t, released: n }) {
- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => FMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Ft({
+function UMe({ code: e, count: t, released: n }) {
+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => IMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Ft({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -76197,12 +76212,12 @@ function HMe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => IMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => LMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await nMe(e, n, t, s.current);
- if (PMe(e, i), !i.ok || i.cache_stale) {
+ let i = await rMe(e, n, t, s.current);
+ if (FMe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -76212,7 +76227,7 @@ function HMe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: rMe
+ getNextPageParam: iMe
});
(0, F.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -76220,7 +76235,7 @@ function HMe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? sr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, I.jsxs)(hU, {
+ children: /* @__PURE__ */ (0, I.jsxs)(gU, {
trailing: !0,
summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)(Nhe, { "aria-hidden": !0 }),
@@ -76260,7 +76275,7 @@ function HMe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, {
score: Number(e.score),
review: !0
}) : null,
@@ -76272,28 +76287,28 @@ function HMe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, I.jsx)("p", {
"data-long-text": "",
- lang: tL(e.content),
+ lang: nL(e.content),
children: e.content
})]
}, e.id)),
- d ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ d ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(c.isFetching),
+ ...DV(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
children: "立即重试"
}),
children: d
- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(SV, {
tone: "neutral",
children: "暂无评论"
}) : null,
!d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(c.isFetching),
+ ...DV(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
@@ -76301,13 +76316,13 @@ function HMe({ code: e, count: t, released: n }) {
}) : null,
c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...EV(c.isFetchingNextPage),
+ ...DV(c.isFetchingNextPage),
onClick: () => {
c.isFetchingNextPage || c.fetchNextPage();
},
children: "更多评论"
}) : null,
- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(xV, {
+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(SV, {
tone: "neutral",
children: [
"已显示 ",
@@ -76319,21 +76334,21 @@ function HMe({ code: e, count: t, released: n }) {
})
});
}
-function UMe({ item: e, actions: t, readOnly: n }) {
+function WMe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, F.useState)(!1), a = Nt({
- queryKey: cW,
+ queryKey: lW,
enabled: r,
- queryFn: ({ signal: e }) => V(`${sW}?limit=50`, e)
+ queryFn: ({ signal: e }) => V(`${cW}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, I.jsx)(hU, {
+ children: /* @__PURE__ */ (0, I.jsx)(gU, {
trailing: !0,
- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, I.jsx)(p4, {
+ children: s ? /* @__PURE__ */ (0, I.jsx)(m4, {
want: {
id: 0,
code: e.code,
@@ -76350,31 +76365,31 @@ function UMe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var b4 = null, x4 = null, S4 = null, C4 = null, w4 = null, T4 = !1, E4 = 0, D4 = null, O4 = () => !1, k4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function WMe(e, t) {
- b4 = e, O4 = () => t.isOpen(), D4 = () => t.requestClose(), Ole({
+var x4 = null, S4 = null, C4 = null, w4 = null, T4 = null, E4 = !1, D4 = 0, O4 = null, k4 = () => !1, A4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function GMe(e, t) {
+ x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Dle({
...e.player,
stage: () => document.getElementById("stage")
- }), kle({
- inMiniplayer: (e) => x4?.player === e,
- kind: (e) => x4?.player === e ? x4.kind : S4?.kind ?? C4?.kind ?? "item",
- expand: () => Y4(),
- toMiniplayer: () => X4()
- }), A4 || (A4 = !0, addEventListener("pagehide", () => tP()));
-}
-var A4 = !1;
-function j4() {
- if (!b4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return b4;
-}
-function M4(e) {
- C4 = e;
-}
-var GMe = () => C4;
-function N4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = k4(n, r.id, i?.index ?? null);
- if (x4 && x4.key === a) return qMe(e, x4);
- x4 && J4();
+ }), Ole({
+ inMiniplayer: (e) => S4?.player === e,
+ kind: (e) => S4?.player === e ? S4.kind : C4?.kind ?? w4?.kind ?? "item",
+ expand: () => X4(),
+ toMiniplayer: () => Z4()
+ }), j4 || (j4 = !0, addEventListener("pagehide", () => nP()));
+}
+var j4 = !1;
+function M4() {
+ if (!x4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return x4;
+}
+function N4(e) {
+ w4 = e;
+}
+var KMe = () => w4;
+function P4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = A4(n, r.id, i?.index ?? null);
+ if (S4 && S4.key === a) return JMe(e, S4);
+ S4 && Y4();
let o = {
player: null,
kind: n,
@@ -76382,52 +76397,52 @@ function N4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- S4 = o;
+ C4 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = mP(s, {
+ let c = hP(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- S4 === o && (o.player = e);
+ C4 === o && (o.player = e);
},
- handedOff: (e) => x4?.player === e
+ handedOff: (e) => S4?.player === e
});
return () => {
- let e = !!o.player && x4?.player === o.player;
- S4 === o && (S4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), tP());
+ let e = !!o.player && S4?.player === o.player;
+ C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), nP());
};
}
-async function KMe(e, t, n) {
+async function qMe(e, t, n) {
let r = await Cn(`/api/item?id=${e.id}`, { signal: n });
if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await j4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(j4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await M4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(M4().player.offlineReason(String(r.root_id || r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- M4(a);
- let o = N4(t, {
+ N4(a);
+ let o = P4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && C4 === a && F4(!0), o(), C4 === a && M4(null));
+ s || (s = !0, e && w4 === a && I4(!0), o(), w4 === a && N4(null));
};
}
-function qMe(e, t) {
+function JMe(e, t) {
let { player: n } = t;
- K4(t), x4 = null, q4(), n.el().classList.remove("vjs-peach-mini"), fP(e), e.append(n.el()), aN(n);
+ q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), pP(e), e.append(n.el()), oN(n);
let r = {
player: n,
kind: t.kind,
@@ -76435,23 +76450,23 @@ function qMe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- S4 = r;
- let i = pP(n, e);
- return oN(n), () => {
- S4 === r && (S4 = null), i(), x4?.player !== n && (iN() === n && aN(null), KN(n), tP());
+ C4 = r;
+ let i = mP(n, e);
+ return sN(n), () => {
+ C4 === r && (C4 = null), i(), S4?.player !== n && (aN() === n && oN(null), qN(n), nP());
};
}
-var P4 = () => {
- let e = S4?.player;
+var F4 = () => {
+ let e = C4?.player;
return e && !e.isDisposed() ? e : null;
};
-function F4(e) {
- let t = T4;
- T4 = !1, x4?.pending && J4();
- let n = S4, r = n?.player, i = C4;
- if (!n || !r || r.isDisposed() || !i || !w4) return;
- let a = j4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && ZMe({
+function I4(e) {
+ let t = E4;
+ E4 = !1, S4?.pending && Y4();
+ let n = C4, r = n?.player, i = w4;
+ if (!n || !r || r.isDisposed() || !i || !T4) return;
+ let a = M4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && QMe({
player: r,
kind: n.kind,
item: n.item,
@@ -76459,46 +76474,46 @@ function F4(e) {
key: n.key
}, i);
}
-function I4(e, t) {
- T4 = !1, x4 && (x4.kind === e && x4.item.id === t ? (x4.pending = !0, q4()) : J4());
-}
-function L4(e) {
- w4 = e, w4 && W4();
+function L4(e, t) {
+ E4 = !1, S4 && (S4.kind === e && S4.item.id === t ? (S4.pending = !0, J4()) : Y4());
}
-var R4 = () => !!x4 && !x4.pending && !x4.player.isDisposed();
-function JMe() {
- return R4() ? w4?.frame.querySelector("video") ?? null : null;
+function R4(e) {
+ T4 = e, T4 && G4();
}
+var z4 = () => !!S4 && !S4.pending && !S4.player.isDisposed();
function YMe() {
- return O4() ? document.getElementById("stage")?.querySelector("video") ?? null : P4()?.el().querySelector("video") ?? JMe();
+ return z4() ? T4?.frame.querySelector("video") ?? null : null;
}
-function z4(e) {
- w4 && (w4.title.textContent = e.title || "", w4.sub.textContent = e.sub || "", w4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function XMe() {
+ return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? YMe();
}
-function B4(e = x4?.item) {
- if (!w4) return;
- let t = w4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- w4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function B4(e) {
+ T4 && (T4.title.textContent = e.title || "", T4.sub.textContent = e.sub || "", T4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function V4() {
- let e = x4?.player;
- if (!e || e.isDisposed() || !w4) return;
- let t = e.paused();
- w4.play.setAttribute("aria-label", t ? "播放" : "暂停"), w4.play.querySelector("[data-icon-swap]") || (w4.play.innerHTML = Ws("player-pause", "player-play", t ? "b" : "a")), Gs(w4.play, t ? "b" : "a");
+function V4(e = S4?.item) {
+ if (!T4) return;
+ let t = T4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ T4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
function H4() {
- let e = x4?.player;
- if (!e || e.isDisposed() || !w4) return;
- let t = Gn(x4?.item.duration) || Gn(e.duration());
- w4.time.textContent = `${qn(e.currentTime())} / ${t ? qn(t) : "0:00"}`;
-}
-var U4 = () => Math.max(1, Number(j4().player.settings().seekSeconds) || 10);
-function W4() {
- if (!w4 || !b4) return;
- let e = U4();
- for (let [t, n] of [[w4.back, `后退 ${e} 秒`], [w4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function G4(e) {
+ let e = S4?.player;
+ if (!e || e.isDisposed() || !T4) return;
+ let t = e.paused();
+ T4.play.setAttribute("aria-label", t ? "播放" : "暂停"), T4.play.querySelector("[data-icon-swap]") || (T4.play.innerHTML = Ws("player-pause", "player-play", t ? "b" : "a")), Gs(T4.play, t ? "b" : "a");
+}
+function U4() {
+ let e = S4?.player;
+ if (!e || e.isDisposed() || !T4) return;
+ let t = Gn(S4?.item.duration) || Gn(e.duration());
+ T4.time.textContent = `${qn(e.currentTime())} / ${t ? qn(t) : "0:00"}`;
+}
+var W4 = () => Math.max(1, Number(M4().player.settings().seekSeconds) || 10);
+function G4() {
+ if (!T4 || !x4) return;
+ let e = W4();
+ for (let [t, n] of [[T4.back, `后退 ${e} 秒`], [T4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function K4(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -76510,17 +76525,17 @@ function G4(e) {
"play",
"pause",
"ended"
- ], V4), t([
+ ], H4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], H4), t("loadedmetadata", () => B4()), V4(), H4(), B4(), W4();
+ ], U4), t("loadedmetadata", () => V4()), H4(), U4(), V4(), G4();
}
-function K4(e) {
+function q4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function XMe() {
- let e = w4?.root;
+function ZMe() {
+ let e = T4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -76528,8 +76543,8 @@ function XMe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function q4() {
- let e = w4?.root;
+function J4() {
+ let e = T4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -76540,73 +76555,73 @@ function q4() {
e.style.transform = "";
}
}
-function ZMe(e, t) {
- if (!w4) return;
+function QMe(e, t) {
+ if (!T4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- x4 = n, E4++, e.player.el().classList.add("vjs-peach-mini"), w4.frame.prepend(e.player.el()), z4(t), G4(n), XMe(), oN(e.player);
-}
-function J4() {
- let e = x4;
- e && K4(e), x4 = null, E4++;
- let t = e?.player ?? null;
- t && iN() === t && aN(null), KN(t), t && tP(), w4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), nN(), q4();
+ S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), ZMe(), sN(e.player);
}
function Y4() {
- if (!R4() || !x4) return;
- let { kind: e, item: t, mediaIndex: n } = x4;
- j4().expand(e, t.id, n);
+ let e = S4;
+ e && q4(e), S4 = null, D4++;
+ let t = e?.player ?? null;
+ t && aN() === t && oN(null), qN(t), t && nP(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), rN(), J4();
}
function X4() {
- R4() && !O4() ? Y4() : O4() && P4() && D4 && (T4 = !0, D4());
+ if (!z4() || !S4) return;
+ let { kind: e, item: t, mediaIndex: n } = S4;
+ M4().expand(e, t.id, n);
}
-function QMe() {
- let e = x4?.player;
+function Z4() {
+ z4() && !k4() ? X4() : k4() && F4() && O4 && (E4 = !0, O4());
+}
+function $Me() {
+ let e = S4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function Z4(e) {
- let t = x4?.player;
+function Q4(e) {
+ let t = S4?.player;
if (!t || t.isDisposed()) return;
- let n = Gn(t.duration()) || Gn(x4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + U4() * e);
+ let n = Gn(t.duration()) || Gn(S4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + W4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function Q4(e) {
- return !(!R4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || j4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function $Me(e) {
- if (!R4() || !x4 || !w4) return;
- let t = ++E4, n = await Cn(`/api/item?id=${e}`).catch(() => null);
- if (t !== E4 || !R4() || !x4 || !w4 || !n || n.error) return;
- if (!Q4(n)) {
- j4().openItem(e);
+function $4(e) {
+ return !(!z4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || M4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function eNe(e) {
+ if (!z4() || !S4 || !T4) return;
+ let t = ++D4, n = await Cn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== D4 || !z4() || !S4 || !T4 || !n || n.error) return;
+ if (!$4(n)) {
+ M4().openItem(e);
return;
}
- let r = x4;
- K4(r), iN() === r.player && aN(null), KN(r.player), tP(), w4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = S4;
+ q4(r), aN() === r.player && oN(null), qN(r.player), nP(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", w4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", T4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- z4(a), mP(i, {
+ B4(a), hP(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== E4) {
- r && iN() === r && aN(null), KN(r);
+ if (t !== D4) {
+ r && aN() === r && oN(null), qN(r);
return;
}
if (!r) {
- J4(), j4().openItem(e);
+ Y4(), M4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -76615,25 +76630,25 @@ async function $Me(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: k4("item", n.id, null),
+ key: A4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- x4 = i, G4(i);
+ S4 = i, K4(i);
}
- }), B4(n);
+ }), V4(n);
}
// src/react/stage/miniplayer.tsx
-var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
-}), eNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, e3 = (e) => (t) => {
+}), tNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {
t.stopPropagation(), e();
-}, tNe = (0, F.memo)(function() {
+}, nNe = (0, F.memo)(function() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);
- return (0, F.useLayoutEffect)(() => (L4({
+ return (0, F.useLayoutEffect)(() => (R4({
root: e.current,
frame: n.current,
play: r.current,
@@ -76643,7 +76658,7 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => L4(null)), []), (0, F.useEffect)(() => rNe(e.current, t.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
+ }), () => R4(null)), []), (0, F.useEffect)(() => iNe(e.current, t.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -76667,24 +76682,24 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: e3(Y4),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "maximize-2" })
+ onClick: t3(X4),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: e3(J4),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "x" })
+ onClick: t3(Y4),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "x" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: e3(() => Z4(-1)),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-ccw" })
+ onClick: t3(() => Q4(-1)),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: r,
@@ -76693,16 +76708,16 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: e3(QMe),
- dangerouslySetInnerHTML: eNe
+ onClick: t3($Me),
+ dangerouslySetInnerHTML: tNe
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: e3(() => Z4(1)),
- children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-cw" })
+ onClick: t3(() => Q4(1)),
+ children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
ref: i,
@@ -76719,7 +76734,7 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => Y4(),
+ onClick: () => X4(),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -76733,7 +76748,7 @@ var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
})
});
});
-function nNe(e, t, n) {
+function rNe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -76755,7 +76770,7 @@ function nNe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function rNe(e, t) {
+function iNe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -76781,7 +76796,7 @@ function rNe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), nNe(e, i.dx, i.dy));
+ }, 0), rNe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -76792,57 +76807,57 @@ function rNe(e, t) {
};
}
// src/react/stage/stage.tsx
-var t3 = null, n3 = null, r3 = null, i3 = /* @__PURE__ */ new Set(), a3 = 0, o3 = null, s3 = !1, c3 = !1, l3 = () => {
+var n3 = null, r3 = null, i3 = null, a3 = /* @__PURE__ */ new Set(), o3 = 0, s3 = null, c3 = !1, l3 = !1, u3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function u3() {
- if (!t3) throw Error("舞台还没有接上宿主(configureStage)");
- return t3;
+function d3() {
+ if (!n3) throw Error("舞台还没有接上宿主(configureStage)");
+ return n3;
}
-function iNe(e) {
- return i3.add(e), () => {
- i3.delete(e);
+function aNe(e) {
+ return a3.add(e), () => {
+ a3.delete(e);
};
}
-function aNe() {
- for (let e of [...i3]) e();
+function oNe() {
+ for (let e of [...a3]) e();
}
-function d3() {
- (0, It.flushSync)(aNe);
+function f3() {
+ (0, It.flushSync)(oNe);
}
-function oNe({ view: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(sNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(tNe, {})] });
+function sNe({ view: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(cNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(nNe, {})] });
}
-var f3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
+var p3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: lje() }
+ dangerouslySetInnerHTML: { __html: uje() }
});
-function p3(e) {
+function m3(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function m3() {
- let e = l3(), t = e && fje(e);
+function h3() {
+ let e = u3(), t = e && pje(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : h3();
+ }))) : g3();
}
-function sNe({ view: e }) {
+function cNe({ view: e }) {
let t = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), m3());
+ t.target === e && (t.preventDefault(), h3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(dMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(LMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(Kje, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(fMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(RMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(qje, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, I.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -76850,27 +76865,27 @@ function sNe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), m3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), h3());
},
onPointerDown: (e) => {
- c3 = p3(e);
+ l3 = m3(e);
},
onClick: (e) => {
- c3 && p3(e) && h3();
+ l3 && m3(e) && g3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(f3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(p3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(f3, {})
+ children: /* @__PURE__ */ (0, I.jsx)(p3, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
children: /* @__PURE__ */ (0, I.jsx)(MD, {
- getContainer: () => Q0(t.current),
+ getContainer: () => $0(t.current),
children: i
})
})
@@ -76878,14 +76893,14 @@ function sNe({ view: e }) {
]
});
}
-function h3() {
- n3 && !s3 && (s3 = !0, n3.request.actions.close());
+function g3() {
+ r3 && !c3 && (c3 = !0, r3.request.actions.close());
}
-function g3(e, t) {
- let n = l3();
+function _3(e, t) {
+ let n = u3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function _3(e) {
+function v3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -76893,30 +76908,30 @@ function _3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: h3
+ close: g3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => u3().player.settings(), i = () => n3?.request === e;
+ }, r = () => d3().player.settings(), i = () => r3?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: h3,
+ close: g3,
present: (e, t) => {
let n = e.performers;
- M4({
+ N4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), g3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), _3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => N4(e, {
+ mountPlayer: (e, t, r, i) => P4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -76934,18 +76949,18 @@ function _3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: h3,
+ close: g3,
present: (e, t) => {
- M4({
+ N4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), g3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), _3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => N4(e, {
+ mountPlayer: (e, t, r, i) => P4(e, {
kind: "follow",
item: t,
media: r,
@@ -76962,106 +76977,106 @@ function _3(e) {
}
};
}
-function cNe(e, t) {
+function lNe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), n3?.generation === t && n3.phase === "reveal" && (n3 = {
- ...n3,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), r3?.generation === t && r3.phase === "reveal" && (r3 = {
+ ...r3,
phase: "content"
- }, d3());
+ }, f3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function v3(e) {
- let t = l3();
- return !n3 || n3.content.kind !== e || s3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function y3(e) {
+ let t = u3();
+ return !r3 || r3.content.kind !== e || c3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function lNe(e) {
- !r3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (r3 = {
+async function uNe(e) {
+ !i3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (i3 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = v3(e.kind);
+ let t = y3(e.kind);
if (t) {
- await dNe(e, t);
+ await fNe(e, t);
return;
}
- n3 && y3({ miniplayer: !1 });
- let n = ++a3, r = new AbortController();
- o3 = r, s3 = !1, c3 = !1, e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN);
- let i = _3(e);
- n3 = {
+ r3 && b3({ miniplayer: !1 });
+ let n = ++o3, r = new AbortController();
+ s3 = r, c3 = !1, l3 = !1, e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN);
+ let i = v3(e);
+ r3 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? VP(i.props, r.signal) : i.kind === "jav" ? J2(i.props, r.signal) : i2(i.props, r.signal);
- if (n !== a3 || n3?.request !== e) {
+ let a = i.kind === "item" ? HP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);
+ if (n !== o3 || r3?.request !== e) {
await a.catch(() => {});
return;
}
- let o = uNe(i);
- n3 = {
- ...n3,
+ let o = dNe(i);
+ r3 = {
+ ...r3,
phase: o ? "content" : "skeleton"
- }, d3();
- let s = l3();
+ }, f3();
+ let s = u3();
if (!s) {
await a.catch(() => {});
return;
}
- o || lc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);
+ o || lc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), t2(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== a3 || !n3 || o) return;
+ if (n !== o3 || !r3 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- n3 = {
- ...n3,
+ r3 = {
+ ...r3,
phase: c ? "content" : "reveal"
- }, d3(), c || cNe(s, n), Zs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, f3(), c || lNe(s, n), Zs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function uNe(e) {
- if (e.kind === "jav") return !!U.getQueryData(K2(e.props.code));
- if (e.kind === "follow") return !!U.getQueryData(t2(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? U.getQueryData(DP(t)) : null;
+function dNe(e) {
+ if (e.kind === "jav") return !!U.getQueryData(q2(e.props.code));
+ if (e.kind === "follow") return !!U.getQueryData(n2(e.props.id));
+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(OP(t)) : null;
if (t && !r) return !1;
- let i = r ? zP(r, n) : n;
- return i != null && !!U.getQueryData(EP(i));
+ let i = r ? BP(r, n) : n;
+ return i != null && !!U.getQueryData(DP(i));
}
-async function dNe(e, t) {
- let n = ++a3;
- o3?.abort();
+async function fNe(e, t) {
+ let n = ++o3;
+ s3?.abort();
let r = new AbortController();
- o3 = r, c3 = !1;
- let i = _3(e);
+ s3 = r, l3 = !1;
+ let i = v3(e);
try {
- i.kind === "item" ? await VP(i.props, r.signal) : i.kind === "jav" ? await J2(i.props, r.signal) : await i2(i.props, r.signal);
+ i.kind === "item" ? await HP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== a3 || !n3 || v3(e.kind) !== t) return;
- e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN), kl(t), nN(), n3 = {
- ...n3,
+ if (n !== o3 || !r3 || y3(e.kind) !== t) return;
+ e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), kl(t), rN(), r3 = {
+ ...r3,
request: e,
content: i,
phase: "content"
- }, d3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Zs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, f3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Zs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function fNe() {
- e2(null);
- let e = l3();
+function pNe() {
+ t2(null);
+ let e = u3();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -77071,14 +77086,14 @@ function fNe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function y3({ miniplayer: e = !0 } = {}) {
- if (a3++, o3?.abort(), o3 = null, F4(e), !n3) return;
- let t = l3();
- t && kl(t), nN(), e2(null), t?.open && t.close(), n3 = null, s3 = !1, c3 = !1, d3(), M4(null), document.body.removeAttribute("data-detail-open");
- let n = r3;
- r3 = null;
+function b3({ miniplayer: e = !0 } = {}) {
+ if (o3++, s3?.abort(), s3 = null, I4(e), !r3) return;
+ let t = u3();
+ t && kl(t), rN(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");
+ let n = i3;
+ i3 = null;
let r = () => {
- !n3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !r3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -77086,80 +77101,80 @@ function y3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function pNe(e) {
- n3 && (n3 = {
- ...n3,
- content: n3.content.kind === "item" ? {
+function mNe(e) {
+ r3 && (r3 = {
+ ...r3,
+ content: r3.content.kind === "item" ? {
kind: "item",
props: {
- ...n3.content.props,
+ ...r3.content.props,
...e
}
- } : n3.content.kind === "jav" ? n3.content : {
+ } : r3.content.kind === "jav" ? r3.content : {
kind: "follow",
props: {
- ...n3.content.props,
+ ...r3.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, d3());
+ }, f3());
}
-function mNe() {
- let e = GMe(), t = e?.kind === "item" ? e.item : null, n = t ? Do(t, u3().player.settings().javImage) : "";
+function hNe() {
+ let e = KMe(), t = e?.kind === "item" ? e.item : null, n = t ? Do(t, d3().player.settings().javImage) : "";
if (!n) return;
- let r = P4();
+ let r = F4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var hNe = {
- open: lNe,
- update: pNe,
- exit: fNe,
- dispose: y3,
- requestClose: h3,
- requestEscape: m3,
- repaintPoster: mNe,
- isOpen: () => !!n3,
- showing: () => n3 && v3(n3.content.kind) ? n3.content.kind : null,
- activeVideo: () => YMe(),
- mountWallPlayer: KMe,
+var gNe = {
+ open: uNe,
+ update: mNe,
+ exit: pNe,
+ dispose: b3,
+ requestClose: g3,
+ requestEscape: h3,
+ repaintPoster: hNe,
+ isOpen: () => !!r3,
+ showing: () => r3 && y3(r3.content.kind) ? r3.content.kind : null,
+ activeVideo: () => XMe(),
+ mountWallPlayer: qMe,
toggleTheater: () => {
- n3 && NN(!u3().player.settings().theaterMode);
+ r3 && PN(!d3().player.settings().theaterMode);
},
- toggleMiniplayer: () => X4(),
- closeMiniplayer: () => J4(),
- miniplayerActive: () => R4(),
- miniplayerTakesCard: (e) => Q4(e),
+ toggleMiniplayer: () => Z4(),
+ closeMiniplayer: () => Y4(),
+ miniplayerActive: () => z4(),
+ miniplayerTakesCard: (e) => $4(e),
miniplayerPlay: (e) => {
- $Me(e);
+ eNe(e);
}
};
-function gNe(e) {
- return t3 = e, WMe(e, {
- isOpen: () => !!n3,
- requestClose: h3
- }), hNe;
+function _Ne(e) {
+ return n3 = e, GMe(e, {
+ isOpen: () => !!r3,
+ requestClose: g3
+ }), gNe;
}
-function _Ne() {
- let e = (0, F.useSyncExternalStore)(iNe, () => n3);
- return t3 ? /* @__PURE__ */ (0, I.jsx)(oNe, { view: e }) : null;
+function vNe() {
+ let e = (0, F.useSyncExternalStore)(aNe, () => r3);
+ return n3 ? /* @__PURE__ */ (0, I.jsx)(sNe, { view: e }) : null;
}
// src/react/stats/stats.ts
-var vNe = "/api/stats", b3 = ["stats"], x3 = (e) => V(vNe, e);
-async function yNe(e) {
+var yNe = "/api/stats", x3 = ["stats"], S3 = (e) => V(yNe, e);
+async function bNe(e) {
await U.fetchQuery({
- queryKey: b3,
- queryFn: () => x3(e)
+ queryKey: x3,
+ queryFn: () => S3(e)
});
}
-var S3 = (e) => e != null && Number.isFinite(e), bNe = (e) => S3(e) ? e.toLocaleString() : "未取得", xNe = (e, t) => S3(e) && S3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, SNe = (e, t) => {
- let n = xNe(e, t);
- return !n && S3(e) && e > 0 && S3(t) && t > 0 ? "<1%" : `${n}%`;
-}, C3 = (e) => {
- if (!S3(e)) return "未取得";
+var C3 = (e) => e != null && Number.isFinite(e), xNe = (e) => C3(e) ? e.toLocaleString() : "未取得", SNe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, CNe = (e, t) => {
+ let n = SNe(e, t);
+ return !n && C3(e) && e > 0 && C3(t) && t > 0 ? "<1%" : `${n}%`;
+}, w3 = (e) => {
+ if (!C3(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, w3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, T3 = (e) => (e.max_reached || 0) * 100, CNe = (e) => e.kind === "online" ? "在线直接观看" : w3(e) < T3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", wNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function TNe(e, t = 6) {
+}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, wNe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", TNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function ENe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);
@@ -77169,7 +77184,7 @@ function TNe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var ENe = (e) => Math.max(1, ...e) * 1.1, DNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, ONe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), kNe = {
+var DNe = (e) => Math.max(1, ...e) * 1.1, ONe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, kNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), ANe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -77177,18 +77192,18 @@ var ENe = (e) => Math.max(1, ...e) * 1.1, DNe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, ANe = (e) => e.map((e) => ({
- name: kNe[e.k] ?? e.k,
+}, jNe = (e) => e.map((e) => ({
+ name: ANe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), jNe = {
+})).sort((e, t) => t.value - e.value), MNe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, E3 = (e, t = {}) => e.map((e) => ({
+}, D3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), MNe = (e) => E3(e, jNe), NNe = [
+})), NNe = (e) => D3(e, MNe), PNe = [
[
1,
1,
@@ -77224,12 +77239,12 @@ var ENe = (e) => Math.max(1, ...e) * 1.1, DNe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], PNe = (e) => NNe.map(([t, n, r]) => ({
+], FNe = (e) => PNe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
}));
// node_modules/d3-array/src/max.js
-function D3(e, t) {
+function O3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -77239,7 +77254,7 @@ function D3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function O3(e, t) {
+function k3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -77249,7 +77264,7 @@ function O3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function k3(e, t) {
+function A3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -77259,64 +77274,64 @@ function k3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function FNe(e, t) {
+function INe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function A3(e) {
+function j3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
-function j3(e, t) {
- return N3(e.source, t.source) || e.index - t.index;
-}
function M3(e, t) {
- return N3(e.target, t.target) || e.index - t.index;
+ return P3(e.source, t.source) || e.index - t.index;
}
function N3(e, t) {
+ return P3(e.target, t.target) || e.index - t.index;
+}
+function P3(e, t) {
return e.y0 - t.y0;
}
-function P3(e) {
+function F3(e) {
return e.value;
}
-function INe(e) {
+function LNe(e) {
return e.index;
}
-function LNe(e) {
+function RNe(e) {
return e.nodes;
}
-function RNe(e) {
+function zNe(e) {
return e.links;
}
-function F3(e, t) {
+function I3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function I3({ nodes: e }) {
+function L3({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function zNe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = INe, c = FNe, l, u, d = LNe, f = RNe, p = 6;
+function BNe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = LNe, c = INe, l, u, d = RNe, f = zNe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), I3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), L3(e), e;
}
m.update = function(e) {
- return I3(e), e;
+ return L3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : A3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : j3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : A3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : j3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -77324,9 +77339,9 @@ function zNe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : A3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : j3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : A3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : j3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -77342,12 +77357,12 @@ function zNe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = F3(n, t)), typeof i != "object" && (i = r.target = F3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = I3(n, t)), typeof i != "object" && (i = r.target = I3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(k3(t.sourceLinks, P3), k3(t.targetLinks, P3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(A3(t.sourceLinks, F3), A3(t.targetLinks, F3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -77372,7 +77387,7 @@ function zNe() {
}
}
function y({ nodes: t }) {
- let r = D3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = O3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -77381,7 +77396,7 @@ function zNe() {
return o;
}
function b(e) {
- let n = O3(e, (e) => (r - t - (e.length - 1) * o) / k3(e, P3));
+ let n = k3(e, (e) => (r - t - (e.length - 1) * o) / A3(e, F3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -77398,7 +77413,7 @@ function zNe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (D3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (O3(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -77417,7 +77432,7 @@ function zNe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(N3), w(i, n);
+ l === void 0 && i.sort(P3), w(i, n);
}
}
function C(e, t, n) {
@@ -77433,7 +77448,7 @@ function zNe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(N3), w(i, n);
+ l === void 0 && i.sort(P3), w(i, n);
}
}
function w(e, n) {
@@ -77454,12 +77469,12 @@ function zNe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(M3);
- for (let { target: { targetLinks: t } } of e) t.sort(j3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(N3);
+ for (let { target: { targetLinks: t } } of e) t.sort(M3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(M3), n.sort(j3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(N3), n.sort(M3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -77488,15 +77503,15 @@ function zNe() {
return m;
}
// node_modules/d3-path/src/path.js
-var L3 = Math.PI, R3 = 2 * L3, z3 = 1e-6, BNe = R3 - z3;
-function B3() {
+var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, VNe = z3 - B3;
+function V3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function V3() {
- return new B3();
+function H3() {
+ return new V3();
}
-B3.prototype = V3.prototype = {
- constructor: B3,
+V3.prototype = H3.prototype = {
+ constructor: V3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -77517,11 +77532,11 @@ B3.prototype = V3.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > z3) {
- if (!(Math.abs(u * s - c * l) > z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > B3) {
+ if (!(Math.abs(u * s - c * l) > B3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((L3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > z3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((R3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > B3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -77529,7 +77544,7 @@ B3.prototype = V3.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > z3 || Math.abs(this._y1 - l) > z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % R3 + R3), d > BNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= L3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > VNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -77539,93 +77554,93 @@ B3.prototype = V3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function H3(e) {
+function U3(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function VNe(e) {
+function HNe(e) {
return e[0];
}
-function HNe(e) {
+function UNe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var UNe = Array.prototype.slice;
+var WNe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function WNe(e) {
+function GNe(e) {
return e.source;
}
-function GNe(e) {
+function KNe(e) {
return e.target;
}
-function KNe(e) {
- var t = WNe, n = GNe, r = VNe, i = HNe, a = null;
+function qNe(e) {
+ var t = GNe, n = KNe, r = HNe, i = UNe, a = null;
function o() {
- var o, s = UNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = V3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = WNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = H3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : H3(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : U3(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : H3(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : U3(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function qNe(e, t, n, r, i) {
+function JNe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function JNe() {
- return KNe(qNe);
+function YNe() {
+ return qNe(JNe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function YNe(e) {
+function XNe(e) {
return [e.source.x1, e.y0];
}
-function XNe(e) {
+function ZNe(e) {
return [e.target.x0, e.y1];
}
-function ZNe() {
- return JNe().source(YNe).target(XNe);
+function QNe() {
+ return YNe().source(XNe).target(ZNe);
}
// src/react/taste/taste.ts
-var QNe = "/api/taste", U3 = "/api/taste/refresh", $Ne = "/api/taste/import", W3 = "/api/taste/source", G3 = (e) => ["taste", e], ePe = ["taste", "refresh"], tPe = [
+var $Ne = "/api/taste", W3 = "/api/taste/refresh", ePe = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], tPe = ["taste", "refresh"], nPe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], nPe = 2e3, rPe = (e) => e?.stale && !e.error ? nPe : !1, iPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], rPe = 2e3, iPe = (e) => e?.stale && !e.error ? rPe : !1, aPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", aPe = (e, t) => H(W3, {
+}) : "—", oPe = (e, t) => H(G3, {
...e,
window: t
-}), K3 = (e, t, n = !1) => V(`${QNe}?window=${e}${n ? "&retry=1" : ""}`, t), oPe = (e) => V(U3, e);
-async function sPe(e, t) {
+}), q3 = (e, t, n = !1) => V(`${$Ne}?window=${e}${n ? "&retry=1" : ""}`, t), sPe = (e) => V(W3, e);
+async function cPe(e, t) {
await U.fetchQuery({
- queryKey: G3(e),
- queryFn: () => K3(e, t)
+ queryKey: K3(e),
+ queryFn: () => q3(e, t)
});
}
-var cPe = (e) => H(U3, {
+var lPe = (e) => H(W3, {
window: e,
background: !0
-}), lPe = (e, t) => H(W3, {
+}), uPe = (e, t) => H(G3, {
operation: "remove",
source_key: e,
window: t
});
-async function uPe(e) {
- let t = await fetch($Ne, {
+async function dPe(e) {
+ let t = await fetch(ePe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -77643,52 +77658,52 @@ async function uPe(e) {
}
return n;
}
-var dPe = 1e4, q3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function fPe(e) {
+var fPe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function pPe(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
if (!e.range_start && !e.range_end) return t;
let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {
month: "numeric",
day: "numeric"
- }) : q3(e);
+ }) : J3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var pPe = C3, mPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), hPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function gPe(e) {
+var mPe = w3, hPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), gPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function _Pe(e) {
if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();
let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;
return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function _Pe(e) {
- let t = e.map(hPe), n = Math.max(1, ...t);
+function vPe(e) {
+ let t = e.map(gPe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var J3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var Y3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function vPe(e) {
- let t = J3(e, 6);
+function yPe(e) {
+ let t = Y3(e, 6);
return t.length < 3 ? [] : t;
}
-var Y3 = {
+var X3 = {
width: 720,
height: 435
-}, yPe = {
+}, bPe = {
source: 145,
target: 545
-}, X3 = 30, bPe = 240;
-function Z3(e, t, n) {
+}, Z3 = 30, xPe = 240;
+function Q3(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function xPe(e = []) {
+function SPe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = Z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = Q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -77697,7 +77712,7 @@ function xPe(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * X3 + bPe), u = zNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(X3).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Z3 + xPe), u = BNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -77712,7 +77727,7 @@ function xPe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = ZNe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = QNe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -77740,17 +77755,17 @@ function xPe(e = []) {
};
}),
total: d,
- height: l + Y3.height - 404
+ height: l + X3.height - 404
};
}
-var SPe = (e) => $n(e, 17), Q3 = {
+var CPe = (e) => $n(e, 17), $3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, CPe = [[
+}, wPe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -77758,7 +77773,7 @@ var SPe = (e) => $n(e, 17), Q3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], wPe = [[
+]], TPe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -77766,7 +77781,7 @@ var SPe = (e) => $n(e, 17), Q3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], TPe = [[
+]], EPe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -77774,7 +77789,7 @@ var SPe = (e) => $n(e, 17), Q3 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], EPe = [
+]], DPe = [
[
"studios",
"厂牌",
@@ -77790,7 +77805,7 @@ var SPe = (e) => $n(e, 17), Q3 = {
"系列",
"file-stack"
]
-], DPe = [[
+], OPe = [[
"local",
"本地",
"hard-drive"
@@ -77798,7 +77813,7 @@ var SPe = (e) => $n(e, 17), Q3 = {
"online",
"在线",
"rss"
-]], OPe = [
+]], kPe = [
[
"performers",
"艺人",
@@ -77814,7 +77829,7 @@ var SPe = (e) => $n(e, 17), Q3 = {
"在线",
"rss"
]
-], kPe = [[
+], APe = [[
"cloud",
"标签云",
"tags"
@@ -77822,8 +77837,8 @@ var SPe = (e) => $n(e, 17), Q3 = {
"alphabet",
"字母表",
"text-aa"
-]], $3 = (e) => e === "compact" ? "compact" : "big";
-function e6(e, t) {
+]], e6 = (e) => e === "compact" ? "compact" : "big";
+function t6(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -77833,7 +77848,7 @@ function e6(e, t) {
category: n.get("category") || "all"
};
}
-var t6 = (e, t, n) => Vs(e.map(([e, t, n]) => ({
+var n6 = (e, t, n) => Vs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -77841,12 +77856,12 @@ var t6 = (e, t, n) => Vs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), APe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
+}), jPe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div>
<div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>
- <span class="ml-auto">${Yc("tag-view", "标签视图", kPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function jPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = Q3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Yc("people-layout", o + "索引版式", e === "series" ? TPe : c ? wPe : CPe, a) : "";
+ <span class="ml-auto">${Yc("tag-view", "标签视图", APe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function MPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Yc("people-layout", o + "索引版式", e === "series" ? EPe : c ? TPe : wPe, a) : "";
return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
@@ -77858,24 +77873,24 @@ function jPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
}) : ""}
<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ts("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? t6(DPe, n, "词表") : e === "performers" || e === "creators" ? t6(OPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t6(EPe, e, "资料类型") : ""}
- ${e === "tags" ? APe(r) : ""}
- ${e === "performers" && n !== "online" ? MTe(i) : ""}
+ ${e === "tags" ? n6(OPe, n, "词表") : e === "performers" || e === "creators" ? n6(kPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(DPe, e, "资料类型") : ""}
+ ${e === "tags" ? jPe(r) : ""}
+ ${e === "performers" && n !== "online" ? NTe(i) : ""}
${nc({
kind: e,
layout: a,
mode: r
})}`;
}
-var MPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function n6(e, t, n) {
- let r = jPe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== MPe(r) && (e.innerHTML = r, lc(e));
+var NPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function r6(e, t, n) {
+ let r = MPe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== NPe(r) && (e.innerHTML = r, lc(e));
}
// src/react/router/pages/index-entity.tsx
-var NPe = () => lu, PPe = () => Jl, r6 = () => document.getElementById("index");
-function i6(e, t, n = {}) {
- let r = (0, F.useSyncExternalStore)(bu, NPe);
+var PPe = () => lu, FPe = () => Jl, i6 = () => document.getElementById("index");
+function a6(e, t, n = {}) {
+ let r = (0, F.useSyncExternalStore)(bu, PPe);
Zd();
let i = Lf(G.navigation.location.pathname), a = (0, F.useRef)({
mounted: !0,
@@ -77923,11 +77938,11 @@ function i6(e, t, n = {}) {
i
]);
}
-async function FPe(e, t, n, r) {
- let i = r6();
+async function IPe(e, t, n, r) {
+ let i = i6();
if (!i) return;
- let a = `/${t}`, o = e6(t, n), s = $3(pM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
- c || (e.surfaceChanged("index", a), n6(i, o, s), cm(r, i, { pending: !0 })), await dp(a, {
+ let a = `/${t}`, o = t6(t, n), s = e6(mM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
+ c || (e.surfaceChanged("index", a), r6(i, o, s), cm(r, i, { pending: !0 })), await dp(a, {
...o,
layout: s,
selectMode: Jl,
@@ -77938,23 +77953,23 @@ async function FPe(e, t, n, r) {
reuse: c
}) && r() && (e.surfaceShown?.("index", a), cm(r, i));
}
-function IPe(e) {
- let t = r6(), n = t ? op(t) : null;
+function LPe(e) {
+ let t = i6(), n = t ? op(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function LPe({ epoch: e }) {
- let t = (0, F.useContext)(nG), n = Zd(), r = n.pathname.split("/").filter(Boolean)[0];
- return i6(e, (e, i) => {
- t && FPe(t, r, n.search, i);
- }, { shown: () => IPe(`/${r}`) }), null;
+function RPe({ epoch: e }) {
+ let t = (0, F.useContext)(aG), n = Zd(), r = n.pathname.split("/").filter(Boolean)[0];
+ return a6(e, (e, i) => {
+ t && IPe(t, r, n.search, i);
+ }, { shown: () => LPe(`/${r}`) }), null;
}
-function RPe() {
- let e = tG(), t = (0, F.useSyncExternalStore)(bu, PPe), n = (0, F.useRef)(t);
+function zPe() {
+ let e = iG(), t = (0, F.useSyncExternalStore)(bu, FPe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && pp(r6(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, I.jsx)(LPe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && pp(i6(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(RPe, { epoch: e }, e);
}
-function zPe(e) {
+function BPe(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -77968,9 +77983,9 @@ function zPe(e) {
name: a
} : null;
}
-var a6 = /* @__PURE__ */ new WeakMap();
-function BPe(e) {
- let t = a6.get(e);
+var o6 = /* @__PURE__ */ new WeakMap();
+function VPe(e) {
+ let t = o6.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -77980,14 +77995,14 @@ function BPe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, a6.set(e, t)), t;
+ }, o6.set(e, t)), t;
}
-function o6() {
- let e = r6(), t = e ? op(e) : null;
+function s6() {
+ let e = i6(), t = e ? op(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function VPe(e, t, n, r, i, a, o) {
- let s = r6();
+async function HPe(e, t, n, r, i, a, o) {
+ let s = i6();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (!a()) return;
@@ -78010,7 +78025,7 @@ async function VPe(e, t, n, r, i, a, o) {
let g = {
...h,
hosts: m,
- card: BPe(e),
+ card: VPe(e),
resolvedEntity: o,
restoreNavigation: om(),
actions: {
@@ -78025,16 +78040,16 @@ async function VPe(e, t, n, r, i, a, o) {
isCurrent: a,
beforePlace: () => e.surfaceChanged("entity", r),
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && o6() && (e.surfaceShown?.("entity", r), cm(a, m.filter));
+ }) && a() && s6() && (e.surfaceShown?.("entity", r), cm(a, m.filter));
}
-function HPe({ target: e }) {
- let t = (0, F.useContext)(nG), n = tG(), r = Zd();
- return i6(n, (n, i) => {
+function UPe({ target: e }) {
+ let t = (0, F.useContext)(aG), n = iG(), r = Zd();
+ return a6(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
- if (n || !o6()) {
+ if (n || !s6()) {
if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;
- cm(i, r6(), { pending: !0 });
+ cm(i, i6(), { pending: !0 });
}
let o = new URLSearchParams({ kind: e.kind });
o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);
@@ -78060,7 +78075,7 @@ function HPe({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Mn(e.kind, c, Number(s.id));
- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? cm(i, r6()?.querySelector("[data-entity-filter]")) : VPe(t, a, {
+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? cm(i, i6()?.querySelector("[data-entity-filter]")) : HPe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : Tp(l + r.search + r.hash, {
@@ -78068,16 +78083,16 @@ function HPe({ target: e }) {
state: G.navigation.location.state
});
})();
- }, { shown: () => o6() && !r6()?.hidden }), null;
+ }, { shown: () => s6() && !i6()?.hidden }), null;
}
-function UPe() {
- let e = zPe(Zd().pathname);
- return e ? /* @__PURE__ */ (0, I.jsx)(HPe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function WPe() {
+ let e = BPe(Zd().pathname);
+ return e ? /* @__PURE__ */ (0, I.jsx)(UPe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/router/pages/follow.tsx
-var s6 = () => document.getElementById("stats"), WPe = () => hu;
-async function GPe(e, t) {
- let n = s6(), r = e.follow;
+var c6 = () => document.getElementById("stats"), GPe = () => hu;
+async function KPe(e, t) {
+ let n = c6(), r = e.follow;
if (!n || !r) return;
let i = am("follow"), a = r.refresh(i), o = r.props();
if (im("follow", {
@@ -78086,34 +78101,34 @@ async function GPe(e, t) {
revision: o.revision
}), a) return;
let s = U.getQueryData(ta(o.view, o.revision).queryKey) !== void 0;
- s || (e.surfaceChanged("follow", "/follow"), O2(n, r.skeleton()), cm(t, n, { pending: !0 })), await dp("/follow", o, {
+ s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), cm(t, n, { pending: !0 })), await dp("/follow", o, {
container: n,
isCurrent: t,
beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0
}), t() && cm(t, n.querySelector("[data-filter-frame]"));
}
-function KPe() {
- let e = s6(), t = e ? op(e) : null;
+function qPe() {
+ let e = c6(), t = e ? op(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function qPe() {
- let e = (0, F.useContext)(nG);
- return i6(tG(), (t, n) => {
- e && GPe(e, n);
+function JPe() {
+ let e = (0, F.useContext)(aG);
+ return a6(iG(), (t, n) => {
+ e && KPe(e, n);
}, {
- shown: KPe,
+ shown: qPe,
onCovered: () => {
G.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function c6(e) {
+function l6(e) {
let t = e ? op(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function JPe(e, t) {
- let n = s6();
- n && (e.surfaceChanged("playlists", "/playlists"), O2(n, E2("/playlists", {
+async function YPe(e, t) {
+ let n = c6();
+ n && (e.surfaceChanged("playlists", "/playlists"), k2(n, D2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -78122,54 +78137,54 @@ async function JPe(e, t) {
isCurrent: t
}), t() && cm(t));
}
-function YPe() {
- let e = (0, F.useContext)(nG), t = (0, F.useSyncExternalStore)(bu, WPe), n = (0, F.useRef)(t);
+function XPe() {
+ let e = (0, F.useContext)(aG), t = (0, F.useSyncExternalStore)(bu, GPe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = s6();
- c6(e) && pp(e, { revision: t });
- }, [t]), i6(tG(), (t, n) => {
- e && JPe(e, n);
+ let e = c6();
+ l6(e) && pp(e, { revision: t });
+ }, [t]), a6(iG(), (t, n) => {
+ e && YPe(e, n);
}, { shown: () => {
- let e = s6();
- return c6(e) && !e.hidden;
+ let e = c6();
+ return l6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function XPe() {
+function ZPe() {
let e = new URLSearchParams(G.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function ZPe() {
- let e = (0, F.useContext)(nG);
- return YW(() => {
- e?.openImmerse(XPe());
+function QPe() {
+ let e = (0, F.useContext)(aG);
+ return QW(() => {
+ e?.openImmerse(ZPe());
}, !0), null;
}
-function QPe() {
- return /* @__PURE__ */ (0, I.jsx)(ZPe, {}, tG());
+function $Pe() {
+ return /* @__PURE__ */ (0, I.jsx)(QPe, {}, iG());
}
// src/react/router/pages/managed.tsx
-var $Pe = () => lu > 0, l6 = () => (0, F.useSyncExternalStore)(bu, $Pe), u6 = () => pM().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);
-function f6(e) {
+var eFe = () => lu > 0, u6 = () => (0, F.useSyncExternalStore)(bu, eFe), d6 = () => mM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
+function p6(e) {
return Cn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (wn(e)) return null;
throw e;
});
}
-function p6(e, t) {
+function m6(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function eFe(e, t) {
+async function tFe(e, t) {
if (e === "/jav") {
- let e = await f6(t);
+ let e = await p6(t);
return t.live ? {
- tab: YH(d6().get("tab")),
+ tab: XH(f6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -78180,50 +78195,50 @@ async function eFe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && vu({ configurationRequestedSection: "网络与访问" });
- let t = d6().get("section") || ou || Df(e);
+ let t = f6().get("section") || ou || Df(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = d6().get("category") || "", n = await f6(t);
+ let e = f6().get("category") || "", n = await p6(t);
return t.live ? {
- category: GY(e) ? e : "",
- queue: JY(d6().get("queue")),
- ...p6(n, "/review")
+ category: KY(e) ? e : "",
+ queue: YY(f6().get("queue")),
+ ...m6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = eQ("?" + d6().toString()), n = await f6(t);
+ let e = tQ("?" + f6().toString()), n = await p6(t);
if (!t.live) return null;
- let r = pM().value;
+ let r = mM().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: u6(),
- ...p6(n, "/subscriptions")
+ layout: d6(),
+ ...m6(n, "/subscriptions")
};
}
return {};
}
-async function tFe(e, t, n) {
+async function nFe(e, t, n) {
let r = G.navigation.seq, i = () => n.live && G.navigation.seq === r;
- if (e === "/jav" && YH(d6().get("tab")) === "library") {
- G.replace(N_e(window.location.search));
+ if (e === "/jav" && XH(f6().get("tab")) === "library") {
+ G.replace(P_e(window.location.search));
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "wants") {
+ if (e === "/subscriptions" && f6().get("tab") === "wants") {
Tp("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "source") {
+ if (e === "/subscriptions" && f6().get("tab") === "source") {
Tp("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
if (!a) return;
- t.surfaceChanged("management", e), O2(a, E2(e, {
- followLayout: u6(),
- followSort: d6().get("sort") || "",
- followDir: d6().get("dir") || ""
+ t.surfaceChanged("management", e), k2(a, D2(e, {
+ followLayout: d6(),
+ followSort: f6().get("sort") || "",
+ followDir: f6().get("dir") || ""
})), cm(i, a, { pending: !0 }), e === "/taste" && (vu({ state: {
...W,
creator: "",
@@ -78239,7 +78254,7 @@ async function tFe(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let o = await eFe(e, n);
+ let o = await tFe(e, n);
if (!o) return;
let s = await dp(e, o, {
container: a,
@@ -78255,19 +78270,19 @@ async function tFe(e, t, n) {
}) : cm(i);
}
}
-function m6({ path: e }) {
- let t = tG();
+function h6({ path: e }) {
+ let t = iG();
Zd();
let n = Lf(G.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);
n || i.current && r.current !== null || (r.current = t), i.current = n;
let a = e.startsWith("/settings/") ? "/settings/configuration" : e;
- return /* @__PURE__ */ (0, I.jsx)(nFe, {
+ return /* @__PURE__ */ (0, I.jsx)(rFe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function nFe({ path: e, covered: t }) {
- let n = (0, F.useContext)(nG), r = l6(), i = (0, F.useRef)(null);
+function rFe({ path: e, covered: t }) {
+ let n = (0, F.useContext)(aG), r = u6(), i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
e.startsWith("/settings/") && pp(document.getElementById("stats"), { section: Df(e) });
}, [e]), (0, F.useEffect)(() => {
@@ -78278,15 +78293,15 @@ function nFe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && tFe(e, n, a);
+ a.live && nFe(e, n, a);
});
}, [r]), (0, F.useEffect)(() => () => {
let e = i.current;
e && (e.live = !1, e.controller.abort());
}, []), null;
}
-function rFe() {
- let e = l6(), t = (0, F.useRef)(!1);
+function iFe() {
+ let e = u6(), t = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e || t.current || Lf(G.navigation.location.pathname)) return;
t.current = !0;
@@ -78299,24 +78314,24 @@ function rFe() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var h6 = [], g6 = "peach.chunkReloadAt", iFe = 3e4;
-async function aFe() {
+var g6 = [], _6 = "peach.chunkReloadAt", aFe = 3e4;
+async function oFe() {
try {
- let e = Number(sessionStorage.getItem(g6) || 0);
- if (Date.now() - e < iFe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(_6) || 0);
+ if (Date.now() - e < aFe || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
- sessionStorage.setItem(g6, String(Date.now())), location.reload();
+ sessionStorage.setItem(_6, String(Date.now())), location.reload();
} catch {}
}
-function _6(e) {
+function v6(e) {
let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {
throw n = null, e;
});
- return h6.push(r), {
+ return g6.push(r), {
preload: () => r().catch(async (e) => {
- throw await aFe(), e;
+ throw await oFe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -78324,10 +78339,10 @@ function _6(e) {
}
};
}
-function oFe() {
+function sFe() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
- let t = [...h6], n = () => {
+ let t = [...g6], n = () => {
let r = t.shift();
r && e(() => {
r().catch(() => {}).finally(n);
@@ -78336,31 +78351,31 @@ function oFe() {
document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });
}
// src/react/router/managed-routes.tsx
-async function v6(e, t) {
+async function y6(e, t) {
let [n, r] = await Promise.allSettled([e.preload(), t]);
if (r.status === "rejected") throw r.reason;
if (n.status === "rejected") throw n.reason;
}
-var y6 = _6(() => import("./peach-app.jav-page-C2bS144a.js")), b6 = _6(() => import("./peach-app.stats-page-DhNggTPt.js")), x6 = _6(() => import("./peach-app.taste-page-O5P41pRb.js")), S6 = _6(() => import("./peach-app.review-page-kd1HFP2A.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {
+var b6 = v6(() => import("./peach-app.jav-page-C2bS144a.js")), x6 = v6(() => import("./peach-app.stats-page-DhNggTPt.js")), S6 = v6(() => import("./peach-app.taste-page-O5P41pRb.js")), C6 = v6(() => import("./peach-app.review-page-kd1HFP2A.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {
let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BzA2e_yA.js"), import("./peach-app.diagnostics-page-yTNOV5os.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), O6 = _6(() => import("./peach-app.activity-page-BI05_rqb.js")), k6 = _6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function sFe(e, t, n) {
+}), k6 = v6(() => import("./peach-app.activity-page-1INo77Cb.js")), A6 = v6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function cFe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- N6(r) ? n(r) : t.openManage(e);
+ P6(r) ? n(r) : t.openManage(e);
}
-var j6 = (e) => ({
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: e }),
- prefetch: (t, n) => v6(D6, Promise.all([Tke(n), ...e === "/settings/diagnostics" ? [ZDe(n)] : []]).then(() => {})),
+var M6 = (e) => ({
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: e }),
+ prefetch: (t, n) => y6(O6, Promise.all([Eke(n), ...e === "/settings/diagnostics" ? [QDe(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -78371,12 +78386,12 @@ var j6 = (e) => ({
})
});
}
-}), M6 = {
+}), N6 = {
...Kf.reduce((e, t) => (e[t.path] = {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: t.path }),
- prefetch: (e, n) => v6(C6, STe(t.key, n)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: t.path }),
+ prefetch: (e, n) => y6(w6, CTe(t.key, n)),
page: (e, n) => {
- let { DataCleanupToolPage: r } = C6.get();
+ let { DataCleanupToolPage: r } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
tool: t.key,
failure: n.failure,
@@ -78385,10 +78400,10 @@ var j6 = (e) => ({
}
}, e), {}),
"/jav": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/jav" }),
- prefetch: (e, t) => v6(y6, DW(e.tab, t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/jav" }),
+ prefetch: (e, t) => y6(b6, AW(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = y6.get();
+ let { JavPage: n } = b6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
navigate: t.navigate,
@@ -78397,10 +78412,10 @@ var j6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/stats" }),
- prefetch: (e, t) => v6(b6, yNe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/stats" }),
+ prefetch: (e, t) => y6(x6, bNe(t)),
page: (e, t) => {
- let { StatsPage: n } = b6.get();
+ let { StatsPage: n } = x6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
tagLabel: Nl,
onTag: t.openTag
@@ -78408,10 +78423,10 @@ var j6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/taste" }),
- prefetch: (e, t) => v6(x6, sPe("all", t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/taste" }),
+ prefetch: (e, t) => y6(S6, cPe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = x6.get();
+ let { TastePage: r } = S6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -78421,10 +78436,10 @@ var j6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/review" }),
- prefetch: (e, t) => v6(S6, fwe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/review" }),
+ prefetch: (e, t) => y6(C6, pwe(t)),
page: (e, t) => {
- let { ReviewPage: n } = S6.get();
+ let { ReviewPage: n } = C6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeReview,
@@ -78436,23 +78451,23 @@ var j6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/data-cleanup" }),
- prefetch: (e, t) => v6(C6, xTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => y6(w6, STe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = C6.get();
+ let { DataCleanupPage: r } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
navigate: n,
failure: t.failure,
- open: (e) => sFe(e, t, n),
+ open: (e) => cFe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/duplicates" }),
- prefetch: (e, t) => v6(w6, OCe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/duplicates" }),
+ prefetch: (e, t) => y6(T6, kCe(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = w6.get();
+ let { DuplicatesPage: n } = T6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -78461,46 +78476,46 @@ var j6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/quality-goals" }),
- prefetch: (e, t) => v6(T6, BCe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/quality-goals" }),
+ prefetch: (e, t) => y6(E6, VCe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = T6.get();
+ let { QualityGoalsPage: n } = E6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: iL,
- javDisplayName: rL,
+ javTitleHtml: aL,
+ javDisplayName: iL,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/sources" }),
- prefetch: (e, t) => v6(E6, hke(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/sources" }),
+ prefetch: (e, t) => y6(D6, gke(t)),
page: (e, t) => {
- let { ScrapingPage: n } = E6.get();
+ let { ScrapingPage: n } = D6.get();
return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });
}
},
- "/settings/library": j6("/settings/library"),
- "/settings/subscriptions": j6("/settings/subscriptions"),
- "/settings/downloads": j6("/settings/downloads"),
- "/settings/network": j6("/settings/network"),
- "/settings/maintenance": j6("/settings/maintenance"),
- "/settings/diagnostics": j6("/settings/diagnostics"),
+ "/settings/library": M6("/settings/library"),
+ "/settings/subscriptions": M6("/settings/subscriptions"),
+ "/settings/downloads": M6("/settings/downloads"),
+ "/settings/network": M6("/settings/network"),
+ "/settings/maintenance": M6("/settings/maintenance"),
+ "/settings/diagnostics": M6("/settings/diagnostics"),
"/tasks": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/tasks" }),
- prefetch: (e, t) => v6(O6, Bfe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/tasks" }),
+ prefetch: (e, t) => y6(k6, zfe(t)),
page: () => {
- let { ActivityPage: e } = O6.get();
+ let { ActivityPage: e } = k6.get();
return /* @__PURE__ */ (0, I.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/subscriptions" }),
- prefetch: (e, t) => v6(k6, Ii(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/subscriptions" }),
+ prefetch: (e, t) => y6(A6, Ii(t)),
page: (e, t) => {
- let { FollowManagePage: n } = k6.get();
+ let { FollowManagePage: n } = A6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -78510,12 +78525,12 @@ var j6 = (e) => ({
});
}
}
-}, N6 = (e) => Object.hasOwn(M6, e), cFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(rFe, {}) } }, lFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(QPe, {}) } }, P6 = {
+}, P6 = (e) => Object.hasOwn(N6, e), lFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(iFe, {}) } }, uFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)($Pe, {}) } }, F6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, I.jsx)(YPe, {}),
- prefetch: (e, t) => v6(A6, $Oe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(XPe, {}),
+ prefetch: (e, t) => y6(j6, eke(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = A6.get();
+ let { PlaylistsPage: n } = j6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -78526,14 +78541,14 @@ var j6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, I.jsx)(qPe, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(JPe, {}),
prefetch: (e, t) => ia(e, t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(AEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(jEe, { ...e })
}
-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {
- element: /* @__PURE__ */ (0, I.jsx)(RPe, {}),
- prefetch: (e, t) => UTe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(dOe, {
+}, I6 = (e) => Object.hasOwn(F6, e), L6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(zPe, {}),
+ prefetch: (e, t) => WTe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(fOe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -78546,82 +78561,82 @@ var j6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, L6 = {
- "/performers": I6,
- "/creators": I6,
- "/studios": I6,
- "/agencies": I6,
- "/tags": I6,
- "/series": I6
}, R6 = {
- element: /* @__PURE__ */ (0, I.jsx)(UPe, {}),
- prefetch: (e) => jTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(KDe, { ...e })
+ "/performers": L6,
+ "/creators": L6,
+ "/studios": L6,
+ "/agencies": L6,
+ "/tags": L6,
+ "/series": L6
}, z6 = {
- "/performers/*": R6,
- "/studios/*": R6,
- "/creators/*": R6,
- "/series/*": R6,
- "/agencies/*": R6,
- "/tags/*": R6
+ element: /* @__PURE__ */ (0, I.jsx)(WPe, {}),
+ prefetch: (e) => MTe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(qDe, { ...e })
}, B6 = {
+ "/performers/*": z6,
+ "/studios/*": z6,
+ "/creators/*": z6,
+ "/series/*": z6,
+ "/agencies/*": z6,
+ "/tags/*": z6
+}, V6 = {
"/": {
- element: /* @__PURE__ */ (0, I.jsx)(WW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(qW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(TY, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(EY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, I.jsx)(WW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(qW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(wOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(TOe, { ...e })
}
-}, V6 = (e) => Object.hasOwn(B6, e), uFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(ove, { ...e }) : /* @__PURE__ */ (0, I.jsx)(V$, { ...e }), H6 = {
+}, H6 = (e) => Object.hasOwn(V6, e), dFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(sve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(H$, { ...e }), U6 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Tye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Eye, { ...e })
},
"feed-new": {
- prefetch: (e) => DTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(QDe, { ...e })
+ prefetch: (e) => OTe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)($De, { ...e })
},
"library-processing": {
- prefetch: (e, t) => vH(t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(uFe, { ...e })
+ prefetch: (e, t) => yH(t),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(dFe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(xke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Ske, { ...e })
}
-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {
+}, W6 = (e) => Object.hasOwn(U6, e), G6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Gce, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Wce, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Ele, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Tle, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(yfe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(vfe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(xde, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(bde, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Wke, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Gke, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(oAe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(sAe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(_Ne, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(vNe, {})
}
-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [
+}, K6 = (e) => Object.hasOwn(G6, e), q6 = [
"/",
"/wall",
"/unseen",
@@ -78631,99 +78646,99 @@ var j6 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(M6),
- ...Object.keys(P6),
- ...Object.keys(L6),
- ...Object.keys(z6),
- ...K6
+ ...Object.keys(N6),
+ ...Object.keys(F6),
+ ...Object.keys(R6),
+ ...Object.keys(B6),
+ ...q6
];
-var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);
-function J6(e) {
- return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];
+var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);
+function Y6(e) {
+ return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];
}
-function dFe(e, t, n) {
- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function fFe(e, t, n) {
+ return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function fFe(e, t, n, r) {
- return J6(e).page(t, n, r);
+function pFe(e, t, n, r) {
+ return Y6(e).page(t, n, r);
}
// src/react/application-residents.ts
-var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();
-function pFe(e) {
- return Y6 = e, X6 && e(X6), () => {
- Y6 === e && (Y6 = null);
+var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();
+function mFe(e) {
+ return X6 = e, Z6 && e(Z6), () => {
+ X6 === e && (X6 = null);
};
}
-function mFe(e) {
- return Y6 && (X6 = e, Y6(e), ap(Promise.resolve(dFe)), oFe()), Promise.resolve();
+function hFe(e) {
+ return X6 && (Z6 = e, X6(e), ap(Promise.resolve(fFe)), sFe()), Promise.resolve();
}
-async function $6(e, t, n = (e) => e) {
- let r = Z6;
- if (t.isConnected || Q6.add(t), !await dp(e, {}, {
+async function e8(e, t, n = (e) => e) {
+ let r = Q6;
+ if (t.isConnected || $6.add(t), !await dp(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!Y6 && r === Z6,
+ isCurrent: () => !!X6 && r === Q6,
place: () => n(t)
- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");
-}
-function hFe() {
- Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;
- for (let e of Q6) e.remove();
- Q6.clear(), c$();
-}
-var e8 = null, t8 = null;
-function n8(e) {
- return e8 ??= (async () => {
- let t = gNe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;
- })(), e8;
-}
-var r8 = () => t8, i8 = null, a8 = null;
-function gFe(e) {
- return i8 ??= (async () => {
- let t = bde(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;
- })(), i8;
-}
-var o8 = () => a8, s8 = null, c8 = null;
+ }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");
+}
+function gFe() {
+ Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;
+ for (let e of $6) e.remove();
+ $6.clear(), l$();
+}
+var t8 = null, n8 = null;
+function r8(e) {
+ return t8 ??= (async () => {
+ let t = _Ne(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;
+ })(), t8;
+}
+var i8 = () => n8, a8 = null, o8 = null;
function _Fe(e) {
- return s8 ??= (async () => {
- let t = Uke(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;
- })(), s8;
+ return a8 ??= (async () => {
+ let t = yde(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;
+ })(), a8;
}
-var l8 = () => c8, u8 = null, d8 = null;
+var s8 = () => o8, c8 = null, l8 = null;
function vFe(e) {
- return u8 ??= (async () => {
- let t = aAe(e);
- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;
- })(), u8;
+ return c8 ??= (async () => {
+ let t = Wke(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;
+ })(), c8;
}
-var f8 = () => d8, p8 = null, m8 = null;
+var u8 = () => l8, d8 = null, f8 = null;
function yFe(e) {
- return p8 ??= (async () => {
- let t = vfe(e);
- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;
- })(), p8;
+ return d8 ??= (async () => {
+ let t = oAe(e);
+ return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;
+ })(), d8;
}
-var h8 = () => m8, g8 = null, _8 = null;
+var p8 = () => f8, m8 = null, h8 = null;
function bFe(e) {
- return g8 ??= (async () => {
- let t = Wce(e);
- return await $6("batch-dock", e.root), _8 = t, t;
- })(), g8;
+ return m8 ??= (async () => {
+ let t = _fe(e);
+ return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;
+ })(), m8;
}
-var v8 = () => _8, y8 = null;
+var g8 = () => h8, _8 = null, v8 = null;
function xFe(e) {
- return y8 ??= (async () => {
- Tle(e), await $6("glow-picker", e.root);
- })(), y8;
+ return _8 ??= (async () => {
+ let t = Uce(e);
+ return await e8("batch-dock", e.root), v8 = t, t;
+ })(), _8;
}
-function b8(e, t, n, r) {
- l$(e, t), u$(n, r);
+var y8 = () => v8, b8 = null;
+function SFe(e) {
+ return b8 ??= (async () => {
+ wle(e), await e8("glow-picker", e.root);
+ })(), b8;
+}
+function x8(e, t, n, r) {
+ u$(e, t), d$(n, r);
}
// src/application/receipts.js
-var x8 = {
+var S8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -78732,13 +78747,13 @@ var x8 = {
rollSeed: void 0,
seededSample: void 0
};
-function SFe() {
- l$(R("#toasts"), {
+function CFe() {
+ u$(R("#toasts"), {
success: z("check"),
error: z("circle-alert")
- }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {
- Xo(i || (t ? "error" : "success")), b8(R("#toasts"), {
+ }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {
+ Xo(i || (t ? "error" : "success")), x8(R("#toasts"), {
success: z("check"),
error: z("circle-alert")
}, a, {
@@ -78753,10 +78768,10 @@ function SFe() {
} : null
});
};
- return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };
- }, x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };
+ }, S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = x8.toast({ text: e }, {
+ return r = S8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -78769,14 +78784,14 @@ function SFe() {
}
} : null
}), r;
- }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => nr(), x8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => nr(), S8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => tr(n, r(e)) - tr(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var CFe = [
+var wFe = [
"loc",
"creator",
"studio",
@@ -78797,10 +78812,10 @@ var CFe = [
"folder",
"folder_recursive"
];
-function S8(e, t, n, r = n.defaultSort) {
- return Jj(e, t, n.defaultSort, n.defaultSortDirection, r);
+function C8(e, t, n, r = n.defaultSort) {
+ return Yj(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function wFe(e, t, n) {
+function TFe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = kn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -78816,7 +78831,7 @@ function wFe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: Dn[r] || o("state") || "",
- ...S8(o("sort"), o("dir"), t),
+ ...C8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -78826,18 +78841,18 @@ function wFe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function TFe(e, t) {
+function EFe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function EFe(e) {
+function DFe(e) {
let t = En[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of CFe) {
+ for (let t of wFe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === Gj(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Kj(e.sort ?? "") || n.set(t, r);
}
return !En[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function DFe(e, t, n) {
+function OFe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -78853,7 +78868,7 @@ function DFe(e, t, n) {
year: "",
state: "",
sort: t.defaultSort,
- dir: qj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: Jj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -78863,7 +78878,7 @@ function DFe(e, t, n) {
folder_recursive: ""
};
}
-function C8(e) {
+function w8(e) {
return {
state: e,
barsContext: {
@@ -78874,7 +78889,7 @@ function C8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var OFe = class {
+var kFe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -78919,44 +78934,44 @@ var OFe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, w8 = Infinity, T8 = 0, kFe = (e, t = T8) => [
+}, T8 = Infinity, E8 = 0, AFe = (e, t = E8) => [
"facets",
e,
t
-], AFe = (e, t, n = T8) => [
+], jFe = (e, t, n = E8) => [
"tops",
e,
t,
n
-], jFe = (e, t = T8) => [
+], MFe = (e, t = E8) => [
"tops",
e,
t
];
-async function E8(e) {
+async function D8(e) {
let t = String(e), n = await Cn(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Cn(`/api/tops?${r}`));
}
-function MFe(e, t) {
+function NFe(e, t) {
return Promise.all([U.fetchQuery({
- queryKey: kFe(e),
+ queryKey: AFe(e),
queryFn: () => Cn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: w8
+ staleTime: T8
}), U.fetchQuery({
- queryKey: AFe(t, e),
- queryFn: () => E8(t),
- staleTime: w8
+ queryKey: jFe(t, e),
+ queryFn: () => D8(t),
+ staleTime: T8
})]);
}
-function NFe(e) {
+function PFe(e) {
return U.fetchQuery({
- queryKey: jFe(e),
- queryFn: () => E8(e),
- staleTime: w8
+ queryKey: MFe(e),
+ queryFn: () => D8(e),
+ staleTime: T8
});
}
-function D8() {
- T8 += 1;
+function O8() {
+ E8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
U.removeQueries({
queryKey: ["facets"],
@@ -78967,7 +78982,7 @@ function D8() {
});
}
// src/application/navigation-items.ts
-var O8 = [
+var k8 = [
[
"",
"首页",
@@ -79018,7 +79033,7 @@ var O8 = [
"管理",
"wrench"
]
-], k8 = [
+], A8 = [
[
"stats",
"统计",
@@ -79064,18 +79079,18 @@ var O8 = [
"Peach 配置",
"folder-cog"
]
-], A8 = [
+], j8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], PFe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], FFe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), FFe = [...O8, ...j8], IFe = {
+]]), IFe = [...k8, ...M8], LFe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -79083,18 +79098,18 @@ var O8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, M8 = [
+}, N8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function N8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function P8({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function P8(e, t, n) {
+function F8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: ho(e.k, r ? {
@@ -79107,20 +79122,20 @@ function P8(e, t, n) {
face: _o(e.avatar_focus)
};
}
-function F8(e) {
+function I8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${za({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${B(n)}</span>${r}`;
}
-function LFe(e) {
+function RFe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Da(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(N8(t), n);
+ e.route(P8(t), n);
},
- personAvatar: P8,
- authorAvatar: F8,
+ personAvatar: F8,
+ authorAvatar: I8,
openFollowAuthor(n) {
t(Oa(e.followView(), n));
},
@@ -79130,7 +79145,7 @@ function LFe(e) {
};
}
// src/application/effects.ts
-var I8 = class {
+var L8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -79211,12 +79226,12 @@ var I8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, L8 = new I8();
-function RFe() {
- return L8.dispose(), L8 = new I8(), L8;
+}, R8 = new L8();
+function zFe() {
+ return R8.dispose(), R8 = new L8(), R8;
}
// src/application/source-action.ts
-function zFe(e) {
+function BFe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -79231,36 +79246,36 @@ function zFe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var R8 = () => Object.fromEntries($X.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function z8(e, t) {
- let n = new URLSearchParams(e), r = R8();
- for (let e of $X) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var z8 = () => Object.fromEntries(eZ.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function B8(e, t) {
+ let n = new URLSearchParams(e), r = z8();
+ for (let e of eZ) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Jj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Yj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function B8(e) {
+function V8(e) {
let t = new URLSearchParams();
- for (let n of $X) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Gj(e.sort || "") || t.set(n, e[n]);
+ for (let n of eZ) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kj(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function V8(e) {
+function H8(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function H8(e, t) {
- let n = new URLSearchParams(B8(e));
+function U8(e, t) {
+ let n = new URLSearchParams(V8(e));
return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();
}
-function BFe(e, t, n, r) {
- let i = H8(n, r);
+function VFe(e, t, n, r) {
+ let i = U8(n, r);
return Mn(e, t) + (i ? `?${i}` : "");
}
-function VFe() {
+function HFe() {
let e = "";
return {
fresh(t, n) {
@@ -79269,22 +79284,22 @@ function VFe() {
read(t, n, r, i) {
let a = e === Mn(t, n) && !r;
e = "";
- let o = a ? R8() : { ...z8(r, i) };
+ let o = a ? z8() : { ...B8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : V8(r)
+ } : H8(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function HFe(e, t) {
+function UFe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function UFe(e) {
+function WFe(e) {
let t = () => {
let t = e.preferences();
for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);
@@ -79306,12 +79321,12 @@ function UFe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function WFe(e, t, n) {
+function GFe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(BFe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(VFe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -79325,7 +79340,7 @@ function WFe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : R8();
+ return n?.kind === t && n.name === a ? n.filters : z8();
}, l = {
...n,
route: (e, n) => {
@@ -79338,7 +79353,7 @@ function WFe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = Kj(e, n.sort || "new", n.dir || "");
+ let n = c(), i = qj(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -79389,7 +79404,7 @@ function WFe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function GFe(e) {
+function KFe(e) {
return async (t, n, r) => {
e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {
r() && e.syncParts(t, n);
@@ -79399,7 +79414,7 @@ function GFe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function KFe(e, t) {
+function qFe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? mo({
kind: e,
id: t.id,
@@ -79421,11 +79436,11 @@ function KFe(e, t) {
return r || (i?.avatar ? `<img src="${B(i.avatar)}" alt="${B(t.canonical_name)}" referrerpolicy="no-referrer" ${za({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function qFe(e) {
- let t = VFe(), n = {
+function JFe(e) {
+ let t = HFe(), n = {
...e.helpers,
- portraitImg: KFe
- }, r = WFe(e.controller, n, e.actions);
+ portraitImg: qFe
+ }, r = GFe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -79434,12 +79449,12 @@ function qFe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: GFe(e.loading),
- photos: UFe(e.photos)
+ loading: KFe(e.loading),
+ photos: WFe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function JFe(e) {
+function YFe(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {
let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : ho(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${B(Mn("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;
@@ -79447,7 +79462,7 @@ function JFe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var U8 = {
+var W8 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -79463,56 +79478,56 @@ var U8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function W8(e) {
+function G8(e) {
return e.has_cover ? bo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Bs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : bo(e, "big").replace(/ src="[^"]*"/, ` src="${B(lo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function YFe(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? iL({
+function XFe(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? aL({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${SM}">${n}
+ ${a}<div class="pic" style="--card-ratio:${CM}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${z("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${z("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${z("check")}</button></div></div>
- <div class="meta">${JFe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${YFe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function XFe() {
+function ZFe() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;
- U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Vn(e)}`, t.parts]));
+ W8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Vn(e)}`, t.parts]));
} catch {}
}
-async function G8() {
- let e = L8, t = await Cn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Vn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(R("#feedNew"))), U8.entityShapes;
+async function K8() {
+ let e = R8, t = await Cn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (W8.entityShapesComplete = !0, W8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Vn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && J8(t.home.feed), Q8(location.pathname) && Y8(R("#feedNew"))), W8.entityShapes;
}
-var K8 = "peach.home-feed.v1";
-function q8(e) {
+var q8 = "peach.home-feed.v1";
+function J8(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(K8, e ? "1" : "0");
+ localStorage.setItem(q8, e ? "1" : "0");
} catch {}
}
-function ZFe() {
+function QFe() {
try {
- let e = localStorage.getItem(K8);
+ let e = localStorage.getItem(q8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function J8(e) {
- !e || sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));
+function Y8(e) {
+ !e || sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));
}
-function QFe(e, t) {
+function $Fe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Ls(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -79520,55 +79535,55 @@ function QFe(e, t) {
actionHref: "/sources"
});
}
-function Y8(e) {
- let t = e && !e.error && e.items || [];
- return QFe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(YFe).join("")}</div>`;
-}
function X8(e) {
- e && (n9(e), Z.appSettings.feedAutoScroll && Ic(e));
+ let t = e && !e.error && e.items || [];
+ return $Fe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(XFe).join("")}</div>`;
}
function Z8(e) {
+ e && (r9(e), Z.appSettings.feedAutoScroll && Ic(e));
+}
+function Q8(e) {
return kn(e) && e !== "/junk-files";
}
-function $Fe() {
+function eIe() {
let e = R("#feedNew");
- sp(e) ? e.hidden = X.homeHasFeed !== !0 : (J8(e), dp("feed-new", {
+ sp(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), dp("feed-new", {
host: e,
- revision: U8.feedRevision,
- helpers: U8.feedNewHelpers,
- actions: U8.feedNewActions
+ revision: W8.feedRevision,
+ helpers: W8.feedNewHelpers,
+ actions: W8.feedNewActions
}, {
container: e,
- isCurrent: () => Z8(location.pathname)
+ isCurrent: () => Q8(location.pathname)
}));
}
-function Q8() {
+function $8() {
let e = R("#feedNew");
e.querySelectorAll(".feednewrow").forEach(Lc), e.hidden = !0;
}
-function $8() {
- U8.feedRevision += 1, pp(R("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });
+function e5() {
+ W8.feedRevision += 1, pp(R("#feedNew"), { revision: W8.feedRevision }), s5({ feedRevision: W8.feedRevision });
}
-function eIe() {
+function tIe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Ic(e) : Lc(e));
}
-var e5 = 0;
-function tIe([e]) {
- let t = e.contentRect.width >= U8.HERO_WIDE_PX;
- cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {
- e5 = 0, R("#index")?.toggleAttribute("data-hero-wide", t);
+var t5 = 0;
+function nIe([e]) {
+ let t = e.contentRect.width >= W8.HERO_WIDE_PX;
+ cancelAnimationFrame(t5), t5 = requestAnimationFrame(() => {
+ t5 = 0, R("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function nIe() {
- U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${SM}"></div>
+function rIe() {
+ W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${CM}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
- <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${Vn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${Vn(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {
- feedRowHtml: Y8,
- wireFeedRow: (e) => X8(e)
- }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, L8.resize(tIe).observe(R("#index"));
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(W8.FEED_SKELETON_CARDS)}</div>`, W8.entityShapes = null, W8.entityShapesComplete = !1, W8.hasEntityShape = (e, t) => W8.entityShapesComplete || !!W8.entityShapes?.has(`${e}/${Vn(t)}`), W8.hasEntityPart = (e, t, n) => !!t && !!W8.entityShapes?.get(`${e}/${Vn(t)}`)?.includes(n), W8.feedNewSkeletonSection = () => `<section class="feednew">${W8.feedNewSkeletonHtml()}</section>`, W8.COSTAR_SKELETON_PEOPLE = 12, W8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(W8.COSTAR_SKELETON_PEOPLE)}</div></div>`, W8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, W8.feedRevision = 0, W8.feedNewHelpers = {
+ feedRowHtml: X8,
+ wireFeedRow: (e) => Z8(e)
+ }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(nIe).observe(R("#index"));
}
// src/entity-skeleton.ts
-function rIe(e, t, n, r = "") {
+function iIe(e, t, n, r = "") {
let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">
@@ -79582,10 +79597,10 @@ function rIe(e, t, n, r = "") {
<div class="entitysection">${o}</div></div></section>`;
}
// src/filter-controls-skeleton.ts
-var t5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Cs(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${IU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${LU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;
-function i5(e, t) {
- let n = yG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${n5}>${t5("shuffle")}</button>${i}${r5("馆藏显示方式", n, [[
+var n5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Cs(e, "size-4 shrink-0"), r5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", i5 = (e, t, n) => `<span data-entity-layout="" class="${LU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${RU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${r5}>${n5(r)}</span>`).join("")}</span>`;
+function a5(e, t) {
+ let n = bG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? i5(t.label, t.value, t.options) : "";
+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${r5}>${n5("shuffle")}</button>${i}${i5("馆藏显示方式", n, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -79593,7 +79608,7 @@ function i5(e, t) {
"list",
"列表",
"ri-list-unordered"
- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${n5}>${B(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${r5}>${n5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${r5}>${B(e.label)}${e.dir ? n5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/application/entity.js
var Y = {
@@ -79621,16 +79636,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function a5() {
+function o5() {
let e = op(R("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function o5(e) {
+function s5(e) {
Y.entityPageCurrent() && pp(R("#index"), e);
}
-function s5() {
+function c5() {
if (Wl.type === "item") return Wl;
- let e = a5();
+ let e = o5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -79642,23 +79657,23 @@ function s5() {
}
return Wl;
}
-function c5(e, t, n = n7()) {
- return XIe(n).map(([n, r]) => {
- let i = e === n, a = Kj(n, e, t);
+function l5(e, t, n = r7()) {
+ return ZIe(n).map(([n, r]) => {
+ let i = e === n, a = qj(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Wj(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Wj(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Gj(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Gj(a.sort, a.dir) : ""}排序` : ""
};
});
}
-function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function u5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function u5() {
- return HFe({
+function d5() {
+ return UFe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !R("#index").hidden,
@@ -79667,37 +79682,37 @@ function u5() {
statsVisible: !R("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function d5() {
+function f5() {
Y.photos.sync();
}
-function f5() {
- u5() ? vle(OM()) : VM();
+function p5() {
+ d5() ? _le(kM()) : HM();
}
-function iIe(e) {
+function aIe(e) {
Y.photos.setSize(e);
}
-var p5 = zFe({
+var m5 = BFe({
request: (e) => Cn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => x8.toast({ text: "已在资源管理器中显示" }),
+ success: () => S8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function m5(e) {
+async function h5(e) {
let t = { textContent: "" };
- return await p5(e, t), t.textContent;
+ return await m5(e, t), t.textContent;
}
-async function aIe(e) {
+async function oIe(e) {
let t = { textContent: "" }, n = [];
- return await h5(e, t, (e) => {
+ return await g5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function h5(e, t, n) {
+async function g5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await Cn("/api/purge-missing", {
@@ -79710,7 +79725,7 @@ async function h5(e, t, n) {
}
if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), x8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -79722,22 +79737,22 @@ async function h5(e, t, n) {
restored: e.length
});
} : null });
- } else x8.actionReceipt("目录核对完成,无需改动");
+ } else S8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), x8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);
}
}
-function oIe(e) {
+function sIe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function sIe(e, t) {
+function cIe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && L8.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && L8.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));
+ r && R8.handler(r, "onclick", () => m5(Number(r.dataset.reveal), n, { button: r })), i && R8.handler(i, "onclick", () => g5(Number(i.dataset.sync), n, t));
}
-async function cIe(e, t) {
+async function lIe(e, t) {
let n = rl({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -79749,9 +79764,9 @@ async function cIe(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- L8.handler(r, "oninput", () => {
+ R8.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => L8.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => R8.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -79760,53 +79775,53 @@ async function cIe(e, t) {
remove: !0
});
} catch (e) {
- x8.actionFailure("撤销别名", e);
+ S8.actionFailure("撤销别名", e);
return;
}
- x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function g5(e, t) {
- let n = ["performer", "studio"].includes(e) && U8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ws()}${e === "agency" ? "" : i5(c5(W.sort, W.dir, n), n ? {
+function _5(e, t) {
+ let n = ["performer", "studio"].includes(e) && W8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ws()}${e === "agency" ? "" : a5(l5(W.sort, W.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: wM(),
- options: yM
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${n5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = rIe(e, r, e === "agency" ? nc({
+ value: TM(),
+ options: bM
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${r5}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${r5}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${r5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = iIe(e, r, e === "agency" ? nc({
kind: "performers",
- layout: M5.peopleIndexLayout()
- }) : oY("正在读取作品", MM(jM({
+ layout: N5.peopleIndexLayout()
+ }) : sY("正在读取作品", NM(MM({
active: n,
home: !1,
portrait: !1
}))), i);
- R("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (R("#index").innerHTML = a, _5(e, t), lc(R("#index")));
+ R("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? v5(e, t) : (R("#index").innerHTML = a, v5(e, t), lc(R("#index")));
}
-function _5(e, t) {
+function v5(e, t) {
let n = R("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && W8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", W8.costarSkeletonFoot())), r(n.querySelector(".feednew"), W8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", W8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && W8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", W8.factsSkeleton()));
}
-function v5(e) {
- let t = An[e] || e, n = Q3[t] || "条目", r = Q3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function y5(e) {
+ let t = An[e] || e, n = $3[t] || "条目", r = $3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
R("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function y5(e, t) {
- b9(Y.application.fresh(e, t));
+function b5(e, t) {
+ x9(Y.application.fresh(e, t));
}
-function lIe() {
+function uIe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -79818,40 +79833,40 @@ function lIe() {
"year",
"sort",
"dir"
- ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {
+ ], Y.emptyEntityFilters = z8, Y.parseEntityFilters = (e) => B8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = V8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = s5();
+ let e = c5();
return e.type === "home" ? W : e.filters;
}, R("#q").value = W.q, X.rememberSearchValue();
}
-function uIe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {
- let n = a5();
+function dIe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!o5(), Y.entityPageLive = (e, t) => {
+ let n = o5();
return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, Y.entityBodySkeleton = () => J7(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = H8, Y.entityViewSearch = U8, Y.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, Y.entityBodySkeleton = () => Y7(), Y.entityPageHelpers = {
wireDrag: (e) => {
- e && n9(e);
+ e && r9(e);
},
wireScroller: (e) => {
e && Ec(e);
},
- wireFeedRow: (e) => X8(e),
- feedRowHtml: Y8,
- receipt: (e, t) => x8.actionReceipt(e, t),
- failure: (e, t) => x8.actionFailure(e, t),
- aliasForm: (e, t) => cIe(e, t),
- sourceToolsHtml: (e) => oIe(e),
- wireSourceTools: (e, t) => sIe(e, t),
- comboItems: (e) => L7(e),
- sortKeys: (e, t, n) => c5(e, t, n)
+ wireFeedRow: (e) => Z8(e),
+ feedRowHtml: X8,
+ receipt: (e, t) => S8.actionReceipt(e, t),
+ failure: (e, t) => S8.actionFailure(e, t),
+ aliasForm: (e, t) => lIe(e, t),
+ sourceToolsHtml: (e) => sIe(e),
+ wireSourceTools: (e, t) => cIe(e, t),
+ comboItems: (e) => R7(e),
+ sortKeys: (e, t, n) => l5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -79874,11 +79889,11 @@ function uIe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${z("folder-sync")}</button>`;
}
-function dIe() {
- Y.application = qFe({
+function fIe() {
+ Y.application = JFe({
controller: {
context: () => {
- let e = s5();
+ let e = c5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -79890,28 +79905,28 @@ function dIe() {
filters: W
} }),
releaseBodyPreviews: () => kl(R("#index [data-entity-body]")),
- push: o5,
+ push: s5,
state: () => ({
seed: String(W.seed || ""),
jav: W.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: U8.feedRevision,
- photoSize: OM(),
- photoLayout: kM(),
- photoLayouts: xM,
+ feedRevision: W8.feedRevision,
+ photoSize: kM(),
+ photoLayout: AM(),
+ photoLayouts: SM,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: wM(),
- javLayouts: yM,
+ javLayout: TM(),
+ javLayouts: bM,
states: X.VIEW_PILLS,
- peopleLayout: M5.peopleIndexLayout(),
- layout: q7(),
+ peopleLayout: N5.peopleIndexLayout(),
+ layout: J7(),
selectMode: Jl,
selected: new Set(Kl),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: n9,
+ wireDrag: r9,
skeletonHtml: Y.entityBodySkeleton,
canLoadMore: Y.entityBodyCanLoadMore,
follow: {
@@ -79919,52 +79934,52 @@ function dIe() {
actions: Y.entityFollowActions
}
}),
- changeFilter: w7,
- rollSeed: () => x8.rollSeed(),
+ changeFilter: T7,
+ rollSeed: () => S8.rollSeed(),
writeSeed: (e) => {
W.seed = e, yu();
},
- setJavLayout: a7,
- javLayout: wM,
- setPhotoLayout: PM,
- syncPhotoWalls: d5,
- openEntity: y5,
- photoViewActive: u5,
+ setJavLayout: o7,
+ javLayout: TM,
+ setPhotoLayout: FM,
+ syncPhotoWalls: f5,
+ openEntity: b5,
+ photoViewActive: d5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: f5,
- scheduleSticky: f7,
+ syncDensity: p5,
+ scheduleSticky: p7,
releasePage: () => mp(R("#index")),
- showMissing: v5,
- dropBars: D8
+ showMissing: y5,
+ dropBars: O8
},
loading: {
- shapesReady: (e, t) => U8.hasEntityShape(e, t),
- waitShapes: z5,
- paintSkeleton: g5,
+ shapesReady: (e, t) => W8.hasEntityShape(e, t),
+ waitShapes: B5,
+ paintSkeleton: _5,
resetView: () => {
vu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: G8,
- syncParts: _5
+ loadShapes: K8,
+ syncParts: v5
},
photos: {
preferences: () => ({
- size: OM(),
- layout: kM(),
+ size: kM(),
+ layout: AM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: o5,
- pushFollow: T9,
- syncDensity: f5,
- storeSize: gle
+ pushEntity: s5,
+ pushFollow: E9,
+ syncDensity: p5,
+ storeSize: hle
},
helpers: Y.entityPageHelpers,
actions: {
- toggleTag: I7,
- openFollowAuthor: F5,
+ toggleTag: L7,
+ openFollowAuthor: I5,
javContext: (e) => vu({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -79974,8 +79989,8 @@ function dIe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var b5 = { playlistWrite: void 0 };
-function fIe(e, t) {
+var x5 = { playlistWrite: void 0 };
+function pIe(e, t) {
e === "tag" ? (vu({ state: {
...W,
tag: t,
@@ -79985,17 +80000,17 @@ function fIe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(_7()), W5(), P7()) : y5(e, t);
+ } }), X.clearSearchField(), Q.route(v7()), G5(), F7()) : b5(e, t);
}
-function x5(e = "") {
+function S5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;
}
-async function pIe({ title: e, count: t, save: n }) {
+async function mIe({ title: e, count: t, save: n }) {
let r = rl({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: x5(e),
+ body: S5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -80005,28 +80020,28 @@ async function pIe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await c9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {
- await b5.playlistWrite({
+ i && (await l9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await x5.playlistWrite({
action: "delete",
id: a.id
- }), b9("/playlists");
+ }), x9("/playlists");
} }));
}
-async function mIe(e) {
+async function hIe(e) {
let t = ((await Cn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Us(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = rl({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Ls("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: S5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Ls("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await x5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await b5.playlistWrite({
+ for (let t of r) await x5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -80040,46 +80055,46 @@ async function mIe(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- L8.listen(n.dialog, "input", r), L8.listen(n.dialog, "change", r);
+ R8.listen(n.dialog, "input", r), R8.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await b5.playlistWrite({
+ S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await x5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await b5.playlistWrite({
+ a.created && await x5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function S5() {
- kl(), o9(!1), U5();
+function C5() {
+ kl(), s9(!1), W5();
let e = op(R("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (H5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (U5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));
}
-function hIe(e) {
+function gIe(e) {
let t = new URLSearchParams(location.search);
for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);
Q.route("/review" + (t.size ? "?" + t : ""));
}
-function C5(e) {
+function w5(e) {
vu({ configurationRequestedSection: e }), Q.navigatePath(jf(e));
}
-function gIe() {
- b5.playlistWrite = (e) => Cn("/api/playlist", {
+function _Ie() {
+ x5.playlistWrite = (e) => Cn("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function w5(e) {
+function T5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function T5(e, t, n, r, i = !1) {
+function E5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -80087,23 +80102,23 @@ function T5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function E5(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = HY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function D5(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = UY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...T5(e, t, n, !0),
+ ...E5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function _Ie(e, t, n, r) {
- let i = w5(t);
+function vIe(e, t, n, r) {
+ let i = T5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: XU(n).view === "dismissed"
+ junkDismissed: ZU(n).view === "dismissed"
};
}
// src/application/selection.js
-var D5 = {
+var O5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -80111,43 +80126,43 @@ var D5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function O5() {
- G7({
+function k5() {
+ K7({
selected: new Set(Kl),
selectMode: Jl
- }), o5({
+ }), s5({
selected: new Set(Kl),
selectMode: Jl
- }), T9({
+ }), E9({
selected: new Set(ql),
selectMode: Jl
- }), D5.batchDockProps = DIe(), v8() && (v8().render(D5.batchDockProps), Z.syncGlassOptics());
+ }), O5.batchDockProps = OIe(), y8() && (y8().render(O5.batchDockProps), Z.syncGlassOptics());
}
-function k5(e, t = !1) {
- vu(T5({
+function A5(e, t = !1) {
+ vu(E5({
selected: Kl,
followSelected: ql
- }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), R("#selectMode").setAttribute("aria-pressed", String(Jl)), O5();
+ }, M5(), T5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), R("#selectMode").setAttribute("aria-pressed", String(Jl)), k5();
}
-function vIe() {
- return [...I5.gridCards()].map((e) => +e.dataset.id);
+function yIe() {
+ return [...L5.gridCards()].map((e) => +e.dataset.id);
}
-function A5(e, t = !1) {
- vu(E5({
+function j5(e, t = !1) {
+ vu(D5({
selected: Kl,
followSelected: ql
- }, j5(), w5(location.pathname), vIe(), e, t)), k5(!0);
+ }, M5(), T5(location.pathname), yIe(), e, t)), A5(!0);
}
-function yIe() {
+function bIe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function bIe(e, t = !1) {
- vu(E5({
+function xIe(e, t = !1) {
+ vu(D5({
selected: Kl,
followSelected: ql
- }, j5(), "follow", yIe(), e, t)), k5(!0);
+ }, M5(), "follow", bIe(), e, t)), A5(!0);
}
-async function xIe(e, t) {
+async function SIe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -80179,9 +80194,9 @@ async function xIe(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- k5(!1, !0), await s7();
+ A5(!1, !0), await c7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -80206,23 +80221,23 @@ async function xIe(e, t) {
operation: r
})
});
- await s7();
+ await c7();
} : null });
} catch (e) {
throw Kc(t, !1), e;
} finally {
- Kc(t, !1), O5();
+ Kc(t, !1), k5();
}
}
});
}
-async function SIe() {
+async function CIe() {
let e = [...Kl];
if (!e.length) return;
let t = rl({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + O5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -80242,13 +80257,13 @@ async function SIe() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => L8.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => R8.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (k5(!1, !0), await s7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (A5(!1, !0), await c7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function CIe(e, t) {
+async function wIe(e, t) {
let n = [...ql];
if (!n.length) return;
let r = {
@@ -80274,16 +80289,16 @@ async function CIe(e, t) {
items: n,
to: e
})
- }), k5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), A5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Kc(t, !1), e;
} finally {
- Kc(t, !1), O5();
+ Kc(t, !1), k5();
}
}
});
}
-async function wIe(e, t) {
+async function TIe(e, t) {
let n = [...Kl];
if (!n.length) return;
let r = {
@@ -80310,68 +80325,68 @@ async function wIe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), k5(!1, !0), await z7();
+ }), A5(!1, !0), await B7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await z7();
+ }), await B7();
} : null });
} catch (e) {
throw Kc(t, !1), e;
} finally {
- Kc(t, !1), O5();
+ Kc(t, !1), k5();
}
}
});
}
-function TIe() {
- bFe({
+function EIe() {
+ xFe({
root: R("[data-batch-dock]"),
run: (e, t, n) => {
- D5.BATCH_RUNNERS[e]?.(t, n);
+ O5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(D5.batchDockProps), Z.syncGlassOptics();
+ e.render(O5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function EIe() {
- D5.batchDockProps = {
+function DIe() {
+ O5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), L8.handler(R("#selectMode"), "onclick", () => k5(!Jl, !!Jl)), D5.REGION_CHOICES = [
+ }, O5.trashCount = null, O5.currentSelectSurface = () => T5(location.pathname), R8.handler(R("#selectMode"), "onclick", () => A5(!Jl, !!Jl)), O5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], D5.BATCH_RUNNERS = {
- batch: xIe,
- region: SIe,
- follow: CIe,
- junk: wIe,
- clear: () => k5(!1, !0)
- }, L8.handler(R("#density"), "onclick", () => {
- u5() ? iIe(OM() === "big" ? "small" : "big") : _le();
- }), VM(), Dl({
+ ], O5.BATCH_RUNNERS = {
+ batch: SIe,
+ region: CIe,
+ follow: wIe,
+ junk: TIe,
+ clear: () => A5(!1, !0)
+ }, R8.handler(R("#density"), "onclick", () => {
+ d5() ? aIe(kM() === "big" ? "small" : "big") : gle();
+ }), HM(), Dl({
selecting: () => Jl,
- censored: () => e9(),
+ censored: () => t9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), L8.listen(window, "pagehide", () => kl()), L8.listen(document, "visibilitychange", () => {
+ }), R8.listen(window, "pagehide", () => kl()), R8.listen(document, "visibilitychange", () => {
document.hidden && kl();
- }), wl(), D5.coverRecheck = 0, L8.listen(window, "resize", () => {
- xl(R("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = L8.delay(() => R("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), wl(), O5.coverRecheck = 0, R8.listen(window, "resize", () => {
+ xl(R("#index")), clearTimeout(O5.coverRecheck), O5.coverRecheck = R8.delay(() => R("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && fl(e);
}), 200);
}, { passive: !0 });
}
-function j5() {
+function M5() {
return {
selectMode: Jl,
selectSurface: Zl,
@@ -80379,73 +80394,73 @@ function j5() {
followLastSelectedId: Xl
};
}
-function DIe() {
- return _Ie({
+function OIe() {
+ return vIe({
selected: Kl,
followSelected: ql
}, location.pathname, location.search, W.state);
}
// src/application/index.js
-var M5 = {
+var N5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function OIe() {
- return Z.appSettings.followLayout === "table" ? "table" : "default";
-}
function kIe() {
- return eQ(location.search);
+ return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function AIe(e) {
- return tQ(e);
+function AIe() {
+ return tQ(location.search);
}
function jIe(e) {
- Q.route(AIe(e));
+ return nQ(e);
+}
+function MIe(e) {
+ Q.route(jIe(e));
}
-function MIe(e = "") {
- return nQ(location.search, e);
+function NIe(e = "") {
+ return rQ(location.search, e);
}
-function NIe(e) {
- return F8(e);
+function PIe(e) {
+ return I8(e);
}
-function N5(e) {
- return N8(e);
+function P5(e) {
+ return P8(e);
}
-function P5() {
- R("#stats").hidden = !0, R("#index").hidden = !1, V7(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;
+function F5() {
+ R("#stats").hidden = !0, R("#index").hidden = !1, H7(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;
}
-function PIe(e, t) {
+function FIe(e, t) {
vu({ state: {
...W,
state: "",
tag: e.join(","),
tag_match: t
- } }), k5(!1, !1), Q.route(_7()), W5(), g9(), P7();
+ } }), A5(!1, !1), Q.route(v7()), G5(), _9(), F7();
}
-function F5(e) {
- M5.controller.openFollowAuthor(e);
+function I5(e) {
+ N5.controller.openFollowAuthor(e);
}
-function FIe(e) {
- M5.controller.openFollowTag(e);
-}
-function IIe() {
- $.FOLLOW_MANAGE_TABS = $Z, L8.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");
- }), M5.peopleIndexLayout = () => $3(Z.appSettings.peopleLayout), M5.personAvatar = P8;
+function IIe(e) {
+ N5.controller.openFollowTag(e);
}
function LIe() {
- M5.controller = LFe({
+ $.FOLLOW_MANAGE_TABS = eQ, R8.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") && w5("媒体库与入库");
+ }), N5.peopleIndexLayout = () => e6(Z.appSettings.peopleLayout), N5.personAvatar = F8;
+}
+function RIe() {
+ N5.controller = RFe({
route: Q.route,
- followView: S9,
- adoptFollowView: C9,
+ followView: C9,
+ adoptFollowView: w9,
hideIndex: () => {
R("#index").hidden = !0;
},
- openPage: b9
+ openPage: x9
});
}
// src/application/loading.js
-var I5 = {
+var L5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -80454,58 +80469,58 @@ var I5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function L5(e = "正在读取作品") {
+function R5(e = "正在读取作品") {
if (location.pathname === "/wall") {
R("#loadSentinel").hidden = !0;
return;
}
let t = R("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Ave(XU(location.search)), lc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && E7({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = jve(ZU(location.search)), lc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && D7({
count: null,
- ...k7()
- })), R("#loadSentinel").hidden = !0, W7()) return;
- let r = R("#grid"), i = J7(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== D2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Y7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), lc(R("#grid")));
-}
-function R5() {
- R("#catalogFilter").style.display = "none", T7();
+ ...A7()
+ })), R("#loadSentinel").hidden = !0, G7()) return;
+ let r = R("#grid"), i = Y7(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== O2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== X7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : L5.setGridCards(i), lc(R("#grid")));
}
function z5() {
+ R("#catalogFilter").style.display = "none", E7();
+}
+function B5() {
let e = new Promise((e) => {
- let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = L5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? L8.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? R8.delay(r, Math.min(t, 50)) : e();
};
- L8.delay(r, 50);
+ R8.delay(r, 50);
});
- return Promise.race([I5.entityShapesReady ||= G8(), e]);
+ return Promise.race([L5.entityShapesReady ||= K8(), e]);
}
-function RIe() {
+function zIe() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();
- else if (/^\/assets\/\d+$/.test(e)) R5();
- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();
- else if (e === "/junk-files") L5("正在读取垃圾文件");
- else if (e === "/jav" && YH(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), z5();
+ else if (/^\/assets\/\d+$/.test(e)) z5();
+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) z5();
+ else if (e === "/junk-files") R5("正在读取垃圾文件");
+ else if (e === "/jav" && XH(new URLSearchParams(location.search).get("tab")) === "library") R5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- R5();
+ z5();
let t = R("#stats");
- t.hidden = !1, V7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), lc(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), n6(R("#index"), e6(e.slice(1), location.search), M5.peopleIndexLayout());
+ t.hidden = !1, H7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : L5.managementPlaceholder(e), lc(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) z5(), F5(), r6(R("#index"), t6(e.slice(1), location.search), N5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- R5(), R("#index").hidden = !1, V7();
+ z5(), R("#index").hidden = !1, H7();
let t = jn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {
- R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), lc(R("#index")));
+ (W8.hasEntityShape(t, n) ? Promise.resolve() : B5()).then(() => {
+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (_5(t, n), lc(R("#index")));
});
- } else Q.routeMeta(e) ? L5() : (V7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? R5() : (H7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
}
-function zIe() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => T2(t, {
+function BIe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => E2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: OM()
+ gridSize: kM()
}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed>
<div data-follow-head><h2 data-follow-title>关注</h2></div>
<div class="tier followauthors" data-skeleton-tier="av"></div>
@@ -80513,37 +80528,37 @@ function zIe() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = Bs(zs), I5.setGridCards = (e) => ec(R("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = Bs(zs), L5.setGridCards = (e) => ec(R("#grid"), () => {
R("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => E2(e, {
- followLayout: OIe(),
+ }), L5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), L5.managementPlaceholder = (e) => D2(e, {
+ followLayout: kIe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(kIe())
- }), I5.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {
+ }))(AIe())
+ }), L5.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", L5.entityShapesReady = null, L5.ENTITY_SHAPES_WAIT = 400, L5.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = Zf(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();
};
}
// src/sidebar-skeleton.ts
-var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var V5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function BIe(e, t, n) {
+function VIe(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${B5(r)}"/></svg>`;
- return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${V5(r)}"/></svg>`;
+ return `<button type="button" data-nav="${V5(e)}" aria-pressed="${n(e)}" aria-label="${V5(t)}">${i}<span>${V5(t)}</span></button>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function VIe(e, t, n, r = !1) {
+function HIe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -80561,7 +80576,7 @@ function VIe(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var V5 = {
+var H5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -80583,20 +80598,20 @@ var V5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function H5({ manage: e = !0, placeholder: t = "" } = {}) {
- R("#stats").hidden = !1, R("#index").hidden = !0, V7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? Q5() : ($5(""), g9()), t && O2(R("#stats"), t);
-}
-function U5() {
- R("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");
+function U5({ manage: e = !0, placeholder: t = "" } = {}) {
+ R("#stats").hidden = !1, R("#index").hidden = !0, H7(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? $5() : (e7(""), _9()), t && k2(R("#stats"), t);
}
function W5() {
- R("#javLibraryHeader").hidden = !kn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), mp(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, Z8(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", T7(), Q5(), e7();
+ R("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), z5(), document.body.classList.remove("entity-open", "index-open");
+}
+function G5() {
+ R("#javLibraryHeader").hidden = !kn(location.pathname) || !r7(), document.body.classList.remove("entity-open", "index-open"), mp(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, Q8(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", E7(), $5(), t7();
}
-function HIe() {
- Q.route("/"), W5();
+function UIe() {
+ Q.route("/"), G5();
}
-function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
- h9({
+function K5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ g9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -80619,28 +80634,28 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function K5(e) {
- WLe({
- ...S9(),
+function q5(e) {
+ GLe({
+ ...C9(),
...e
- }), h9({ filters: $.followSidebarFilters() });
+ }), g9({ filters: $.followSidebarFilters() });
}
-function q5() {
+function J5() {
return matchMedia("(max-width:760px)").matches;
}
-function J5(e) {
+function Y5(e) {
let t = R("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && q5(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && J5(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function Y5() {
- q5() && J5(!1);
+function X5() {
+ J5() && Y5(!1);
}
-function UIe() {
+function WIe() {
su === null && (vu({ runtimeConfigurable: !1 }), Cn("/healthz").then((e) => {
- vu({ runtimeConfigurable: !!e.configurable }), su && Z5() && Q5();
+ vu({ runtimeConfigurable: !!e.configurable }), su && Q5() && $5();
}).catch(() => {}));
}
-function X5(e = "", t = !1) {
+function Z5(e = "", t = !1) {
if (!t && !kf(location.pathname)) {
let t = G.navigation;
G.push(jf(e), { settingsBackground: {
@@ -80653,38 +80668,38 @@ function X5(e = "", t = !1) {
replace: !0,
state: G.navigation.location.state
});
- return e ||= Af(location.pathname), _Fe(V5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= Af(location.pathname), vFe(H5.settingsHost()).then((t) => (t.open(e), t));
}
-function WIe() {
+function GIe() {
kf(location.pathname) && (Mf(G.navigation.location.state) ? G.go(-1) : Q.navigatePath("/", !0));
}
-function GIe() {
+function KIe() {
return {
scroll: R("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: V5.NAV_CATALOG,
- navOn: l7,
- navTo: u7,
+ navCatalog: H5.NAV_CATALOG,
+ navOn: u7,
+ navTo: d7,
navToTop: () => {
- Y5(), sm();
+ X5(), sm();
},
- toggleChip: (e, t, n) => w7((r) => {
+ toggleChip: (e, t, n) => T7((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");
} else r[e] = r[e] === t ? "" : t;
}),
- setDuration: (e, t) => w7((n) => {
+ setDuration: (e, t) => T7((n) => {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), x9(S9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());
+ $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), x9(S9());
},
- selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => K5({
+ selectFollowProvider: (e) => q5({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => q5({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -80693,111 +80708,111 @@ function GIe() {
}
};
}
-function KIe() {
+function qIe() {
let e = R("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = BIe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), L8.listen(e, "click", (e) => {
- if (f8()) return;
+ e.innerHTML = VIe(Z.appSettings.sidebarOrder, H5.NAV_CATALOG, u7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {
+ if (p8()) return;
let t = e.target.closest?.("[data-nav]");
- t && u7(t.dataset.nav);
- }), vFe(GIe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});
+ t && d7(t.dataset.nav);
+ }), yFe(KIe()).then((e) => e.render(H5.sidebarProps)).catch(() => {});
}
-async function qIe() {
- let e = L8, t = null;
+async function JIe() {
+ let e = R8, t = null;
try {
t = await Cn("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && mM(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && hM(t, (e) => Z.settingsEffects[e]?.());
}
-function Z5() {
+function Q5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");
}
-function Q5() {
- let e = Z5();
- UIe(), e && R5(), R("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), $5(e);
+function $5() {
+ let e = Q5();
+ WIe(), e && z5(), R("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (O5.trashCount = null), e7(e);
}
-function JIe(e) {
+function YIe(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: V5.MANAGE_SECTIONS,
- menu: e ? V5.manageMenuSections() : [],
- trash: D5.trashCount
+ sections: H5.MANAGE_SECTIONS,
+ menu: e ? H5.manageMenuSections() : [],
+ trash: O5.trashCount
};
}
-function $5(e = Z5()) {
- e7();
- let t = JIe(e), n = h8();
+function e7(e = Q5()) {
+ t7();
+ let t = YIe(e), n = g8();
if (n) n.render(t);
else {
- let e = Tde(t);
- e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);
+ let e = wde(t);
+ e !== H5.manageHeaderSkeleton && (H5.manageHeaderSkeleton = e, H5.manageHeaderRoot().innerHTML = e);
}
- let r = qF(t)?.title || "";
- r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Zs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = JF(t)?.title || "";
+ r !== H5.lastManagePageLabel && (H5.lastManagePageLabel = r, r && Zs(H5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function YIe() {
- let e = V5.manageHeaderRoot();
- L8.listen(e, "click", (e) => {
- if (h8()) return;
+function XIe() {
+ let e = H5.manageHeaderRoot();
+ R8.listen(e, "click", (e) => {
+ if (g8()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) t7(t.dataset.manage);
+ if (t) n7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && F7();
- }), yFe({
+ } else e.target.closest?.("[data-empty-trash]") && I7();
+ }), bFe({
root: e,
- openManage: t7,
+ openManage: n7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: F7
- }).then(() => $5()).catch(() => {});
+ emptyTrash: I7
+ }).then(() => e7()).catch(() => {});
}
-function e7() {
+function t7() {
let e = R("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !Z5() && kn(t) && On[W.state] || "";
- e.hidden = !n, n && (e.textContent = n), R("#catalogPageHeading").hidden = !!Z5() || !kn(t) || !!n || W.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !Q5() && kn(t) && On[W.state] || "";
+ e.hidden = !n, n && (e.textContent = n), R("#catalogPageHeading").hidden = !!Q5() || !kn(t) || !!n || W.jav === "1";
}
-function t7(e = "stats") {
+function n7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", yu(), Q.route(ZU()), W5(), g9(), P7());
+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", yu(), Q.route(QU()), G5(), _9(), F7());
}
-function n7() {
+function r7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || du : !1;
}
-function XIe(e = n7()) {
- let t = zj.filter(([e]) => e !== "seed");
- return e ? [Bj, ...t] : t;
+function ZIe(e = r7()) {
+ let t = Bj.filter(([e]) => e !== "seed");
+ return e ? [Vj, ...t] : t;
}
-function r7() {
+function i7() {
return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";
}
-function i7() {
- return TM(r7());
+function a7() {
+ return EM(i7());
}
-function ZIe(e) {
- mle(e), o7(), R("#grid").hidden || X7();
+function QIe(e) {
+ ple(e), s7(), R("#grid").hidden || Z7();
}
-function a7(e) {
- NM(e), o7(), X7();
+function o7(e) {
+ PM(e), s7(), Z7();
}
-function o7() {
+function s7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === i7();
- }), X.catalogFilterProps && E7({ layout: O7() });
-}
-function QIe(e) {
- hle(e), o7(), X7();
+ e.checked = e.value === a7();
+ }), X.catalogFilterProps && D7({ layout: k7() });
}
-async function s7() {
- D8(), X.mixRelatedCache.clear(), await Promise.all([c7(), P7()]);
+function $Ie(e) {
+ mle(e), s7(), Z7();
}
async function c7() {
+ O8(), X.mixRelatedCache.clear(), await Promise.all([l7(), F7()]);
+}
+async function l7() {
if (Y.entityPageCurrent() && !R("#index").hidden) {
- o5({ revision: ++Y.entityPageRevision });
+ s5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -80806,30 +80821,30 @@ async function c7() {
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await z7();
+ t?.route.reload ? await t.route.reload() : await B7();
}
-function l7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];
- if (r) return Z5() === r;
+function u7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = H5.DIRECT_MANAGE_NAV[e];
+ if (r) return Q5() === r;
if (e === "manage") {
- let e = Z5();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);
+ let e = Q5();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => H5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Z5() && !W.state && !n7() && W.orient !== "竖屏" : En[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || r7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Q5() && !W.state && !r7() && W.orient !== "竖屏" : En[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";
}
-function u7(e) {
+function d7(e) {
let t = tm(e);
if (t === location.pathname + location.search + location.hash) return;
- if (Y5(), t) {
+ if (X5(), t) {
Q.navigatePath(t);
return;
}
- if (V5.DIRECT_MANAGE_NAV[e]) {
- t7(V5.DIRECT_MANAGE_NAV[e]);
+ if (H5.DIRECT_MANAGE_NAV[e]) {
+ n7(H5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- t7();
+ n7();
return;
}
if (e === "jav") {
@@ -80837,25 +80852,25 @@ function u7(e) {
return;
}
if (e === "") {
- v7();
+ y7();
return;
}
let n = En[e] ? null : Q.routePathOf("nav", e);
- n ? Q.openRoutePath(n) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), yu(), Q.route(_7()), g9(), P7());
+ n ? Q.openRoutePath(n) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), yu(), Q.route(v7()), _9(), F7());
}
-function d7() {
+function f7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- Jl && Zl !== D5.currentSelectSurface() && k5(!1, !0);
+ Jl && Zl !== O5.currentSelectSurface() && A5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(jn, t[0]), r = kn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- R("#selectMode").hidden = !i, R("#density").hidden = !a, d5(), !i && Jl && k5(!1, !0);
+ R("#selectMode").hidden = !i, R("#density").hidden = !a, f5(), !i && Jl && A5(!1, !0);
}
-function $Ie() {
+function eLe() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;
+ (t !== H5.mobileFilterHost || location.pathname !== H5.mobileFilterPath) && (H5.mobileFilterScroll = null), H5.mobileFilterHost = t, H5.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- V5.mobileFilterScroll = VIe(V5.mobileFilterScroll, n, innerWidth <= 760, r);
+ H5.mobileFilterScroll = HIe(H5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && V5.mobileFilterScroll.free;
+ let e = n === t && H5.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -80867,63 +80882,63 @@ function $Ie() {
});
}
}
-function eLe() {
- $Ie(), [".board-filter-frame", "#count"].forEach((e) => {
+function tLe() {
+ eLe(), [".board-filter-frame", "#count"].forEach((e) => {
let t = R(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
-function f7() {
- V5.stickyFrame ||= L8.frame(() => {
- V5.stickyFrame = 0, eLe();
+function p7() {
+ H5.stickyFrame ||= R8.frame(() => {
+ H5.stickyFrame = 0, tLe();
});
}
-function tLe() {
+function nLe() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), L8.handler(R("#filterBtn"), "onclick", () => J5(!R("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = O8, V5.MANAGE_SECTIONS = k8, V5.MANAGE_MENU_SECTIONS = A8, V5.manageMenuSections = () => PFe(su === !0), V5.OPTIONAL_SIDEBAR_ITEMS = j8, V5.NAV_CATALOG = FFe, V5.DIRECT_MANAGE_NAV = IFe, V5.settingsHost = () => ({
+ }), R8.handler(R("#filterBtn"), "onclick", () => Y5(!R("#drawer").classList.contains("open"))), H5.SIDEBAR_ITEMS = k8, H5.MANAGE_SECTIONS = A8, H5.MANAGE_MENU_SECTIONS = j8, H5.manageMenuSections = () => FFe(su === !0), H5.OPTIONAL_SIDEBAR_ITEMS = M8, H5.NAV_CATALOG = IFe, H5.DIRECT_MANAGE_NAV = LFe, H5.settingsHost = () => ({
selectSection: (e) => Tp(jf(e), {
replace: !0,
state: G.navigation.location.state
}),
- closed: WIe,
+ closed: GIe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Xo(e),
- navCatalog: V5.NAV_CATALOG,
- themeOptions: lle,
- videoLayouts: yM,
- followInitialRanges: M8,
- videoLayout: () => i7(),
- setVideoLayout: QIe,
- censored: e9,
- setCensored: CLe,
+ navCatalog: H5.NAV_CATALOG,
+ themeOptions: cle,
+ videoLayouts: bM,
+ followInitialRanges: N8,
+ videoLayout: () => a7(),
+ setVideoLayout: $Ie,
+ censored: t9,
+ setCensored: wLe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: wLe,
- receipt: (e) => x8.actionReceipt(e),
- failure: x8.actionFailure,
- syncRemote: (e) => mM(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: TLe,
+ receipt: (e) => S8.actionReceipt(e),
+ failure: S8.actionFailure,
+ syncRemote: (e) => hM(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => Cn("/healthz").then((e) => (vu({ runtimeConfigurable: !!e.configurable }), su)).catch(() => null)
- }), L8.handler(R("#settingsBtn"), "onclick", () => void X5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => R("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", L8.listen(document, "focusin", f7), L8.listen(document, "focusout", f7), L8.listen(window, "scroll", () => {
- f7(), location.pathname === "/follow" && w9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(V5.scrollT), V5.scrollT = L8.delay(() => {
+ }), R8.handler(R("#settingsBtn"), "onclick", () => void Z5()), H5.lastManagePageLabel = "", H5.manageHeaderSkeleton = "", H5.manageHeaderRoot = () => R("[data-manage-header]"), window.__scrolling = !1, H5.scrollT = null, H5.stickyFrame = 0, H5.mobileFilterScroll = null, H5.mobileFilterHost = null, H5.mobileFilterPath = "", R8.listen(document, "focusin", p7), R8.listen(document, "focusout", p7), R8.listen(window, "scroll", () => {
+ p7(), location.pathname === "/follow" && T9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(H5.scrollT), H5.scrollT = R8.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), L8.listen(window, "resize", f7, { passive: !0 }), L8.handler(R("#scrim"), "onclick", () => J5(!1));
+ }, { passive: !0 }), R8.listen(window, "resize", p7, { passive: !0 }), R8.handler(R("#scrim"), "onclick", () => Y5(!1));
}
// src/catalog-filter-skeleton.ts
-var p7 = 64, m7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var m7 = 64, h7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), h7 = (e) => e.repeat(p7);
-function nLe(e, t, n) {
- let r = e.map((e) => `<a href="${m7(e.href)}" data-catalog-view="${m7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${m7(e.label)}</a>`).join(""), i = qG();
- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + h7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + h7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(p7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ws()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), g7 = (e) => e.repeat(m7);
+function rLe(e, t, n) {
+ let r = e.map((e) => `<a href="${h7(e.href)}" data-catalog-view="${h7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${h7(e.label)}</a>`).join(""), i = JG();
+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + g7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + g7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(m7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ws()}</span>` + (n ? a5(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/application/catalog.js
var X = {
@@ -80962,43 +80977,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function rLe() {
- X.initialParams.has("loc") || (W.loc = g7(W.loc), yu());
+function iLe() {
+ X.initialParams.has("loc") || (W.loc = _7(W.loc), yu());
}
-function g7(e) {
- return TFe(e, Z.sourceOnline);
+function _7(e) {
+ return EFe(e, Z.sourceOnline);
}
-function _7(e = W) {
- return EFe(e);
+function v7(e = W) {
+ return DFe(e);
}
-function iLe() {
- vu(C8(DFe(W, Z.appSettings, x8.rollSeed)));
+function aLe() {
+ vu(w8(OFe(W, Z.appSettings, S8.rollSeed)));
}
-function v7(e = null) {
- iLe(), e && (Object.assign(W, e), yu()), Q.route(e ? _7() : "/"), X.clearSearchField(), o9(!1), g9(), P7();
+function y7(e = null) {
+ aLe(), e && (Object.assign(W, e), yu()), Q.route(e ? v7() : "/"), X.clearSearchField(), s9(!1), _9(), F7();
}
-function aLe(e, t = null) {
+function oLe(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? u9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);
+ !e.medium || e.medium === "video" ? d9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : j5(n);
}
-function y7(e) {
+function b7(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Cn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function oLe(e, t) {
- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : b7(e, t);
+function sLe(e, t) {
+ i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : x7(e, t);
}
-function b7(e, t) {
- e.edition_group ? jLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? MLe(e.part_group.seed_id, e.id, !0, t) : u9(e.id, !0, null, t);
+function x7(e, t) {
+ e.edition_group ? MLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? NLe(e.part_group.seed_id, e.id, !0, t) : d9(e.id, !0, null, t);
}
-async function sLe(e, t) {
+async function cLe(e, t) {
try {
let n = await Cn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await Cn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -81006,10 +81021,10 @@ async function sLe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- x8.actionFailure("更新稍后看", e);
+ S8.actionFailure("更新稍后看", e);
}
}
-async function cLe(e, t) {
+async function lLe(e, t) {
try {
await Cn("/api/batch", {
method: "POST",
@@ -81017,9 +81032,9 @@ async function cLe(e, t) {
ids: [e.id],
operation: t
})
- }), await z7();
+ }), await B7();
let n = t === "restore" ? "dispose" : "restore";
- x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -81027,14 +81042,14 @@ async function cLe(e, t) {
operation: n,
...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}
})
- }), await z7();
+ }), await B7();
} });
} catch (e) {
- throw x8.actionFailure("操作", e), e;
+ throw S8.actionFailure("操作", e), e;
}
}
-async function lLe(e, t, n, r) {
- let i = Number(e.rating) || 0, a = TP(i, t), o = async (t, r) => {
+async function uLe(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = EP(i, t), o = async (t, r) => {
let i = (await Cn("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -81048,14 +81063,14 @@ async function lLe(e, t, n, r) {
};
try {
let e = await o(a, r);
- x8.actionReceipt(e ? `已评 ${wP(e)} 星` : "已取消评分", { undo: () => o(i) });
+ S8.actionReceipt(e ? `已评 ${TP(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || x8.actionFailure("评分", e), e;
+ throw r?.aborted || S8.actionFailure("评分", e), e;
}
}
-async function x7(e) {
+async function S7(e) {
let t = new URLSearchParams();
- if (n7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {
+ if (r7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {
let e = Y.activeFilterState();
[
"loc",
@@ -81077,33 +81092,33 @@ async function x7(e) {
e[n] && t.set(n, e[n]);
});
}
- return MFe(t.toString(), X.topsQueryParams(e).toString());
+ return NFe(t.toString(), X.topsQueryParams(e).toString());
}
-function S7(e) {
- s5().type !== "entity" && E7({ tags: A7(e) }), h9({ filters: { ...e } }), R7();
+function C7(e) {
+ c5().type !== "entity" && D7({ tags: j7(e) }), g9({ filters: { ...e } }), z7();
}
-async function C7(e) {
- let t = ++X.facetCountsSeq, [n] = await x7(e);
- t === X.facetCountsSeq && (e.type === "home" && (r9.facets = n), h9({ latest: $7(n, e) }));
+async function w7(e) {
+ let t = ++X.facetCountsSeq, [n] = await S7(e);
+ t === X.facetCountsSeq && (e.type === "home" && (i9.facets = n), g9({ latest: e9(n, e) }));
}
-function w7(e) {
- let t = s5();
+function T7(e) {
+ let t = c5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), l5(t.kind, t.name, n), S7(n), C7(s5());
+ e(n), u5(t.kind, t.name, n), C7(n), w7(c5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(Gl);
- if (o9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), l5(t.kind, t.name, t.filters) ? P7() : vu({ pageOpens: lu + 1 });
+ if (s9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), u5(t.kind, t.name, t.filters) ? F7() : vu({ pageOpens: lu + 1 });
return;
}
e(W), vu({ barsContext: {
type: "home",
filters: W
- } }), Q.route(_7()), W5(), P7();
- } else e(W), yu(), Q.route(_7()), S7(W), C7(Wl);
+ } }), Q.route(v7()), G5(), F7();
+ } else e(W), yu(), Q.route(v7()), C7(W), w7(Wl);
}
-function uLe() {
+function dLe() {
return {
tiers: null,
tiersPending: !1,
@@ -81121,94 +81136,94 @@ function uLe() {
combo: [],
comboHidden: !0,
comboHost: R("#combo"),
- actions: D7(),
+ actions: O7(),
helpers: {
- wireDrag: n9,
+ wireDrag: r9,
wireScroller: (e) => {
e && Ec(e);
}
}
};
}
-function T7() {
- X.catalogFilterProps && E7({});
+function E7() {
+ X.catalogFilterProps && D7({});
}
-function E7(e) {
+function D7(e) {
let t = R("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || uLe(),
+ ...X.catalogFilterProps || dLe(),
...e
- }, !X.catalogFilterMounting && (sp(t) ? pp(t, e) : (!t.firstChild && !n && (t.innerHTML = nLe(X.catalogViews(), X.catalogFilterProps.state, k7()), lc(t)), X.catalogFilterMounting = dp("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (sp(t) ? pp(t, e) : (!t.firstChild && !n && (t.innerHTML = rLe(X.catalogViews(), X.catalogFilterProps.state, A7()), lc(t)), X.catalogFilterMounting = dp("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => pp(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function D7() {
+function O7() {
return {
currentHref: () => {
- let e = new URL(_7(), location.origin);
+ let e = new URL(v7(), location.origin);
return e.searchParams.set("loc", W.loc || ""), e.searchParams.set("thumb", W.thumb || "0"), e.searchParams.set("sort", W.sort || ""), e.searchParams.set("dir", W.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => y5(e, t),
+ openEntity: (e, t) => b5(e, t),
setView: (e) => {
- W.state = e, yu(), E7({ state: e }), Q.route(_7()), P7();
+ W.state = e, yu(), D7({ state: e }), Q.route(v7()), F7();
},
- toggleTag: (e) => I7(e),
- clearFilter: (e) => w7((t) => {
+ toggleTag: (e) => L7(e),
+ clearFilter: (e) => T7((t) => {
t[e] = "";
}),
- clearAll: () => w7((e) => {
+ clearAll: () => T7((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = Kj(e, W.sort, W.dir);
- t && (W.sort = t.sort, W.dir = t.dir, yu(), Q7());
+ let t = qj(e, W.sort, W.dir);
+ t && (W.sort = t.sort, W.dir = t.dir, yu(), $7());
},
- reshuffle: () => SLe(),
+ reshuffle: () => CLe(),
setLayout: (e) => {
- n7() ? a7(e) : ZIe(e);
+ r7() ? o7(e) : QIe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await NFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(j7) : n.map(M7);
+ let n = (await PFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(M7) : n.map(N7);
}
};
}
-function O7() {
- return n7() ? {
+function k7() {
+ return r7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: wM(),
- options: yM
- } : r7() ? {
+ value: TM(),
+ options: bM
+ } : i7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: i7(),
- options: yM
+ value: a7(),
+ options: bM
} : null;
}
-function k7() {
+function A7() {
return {
- sorts: c5(W.sort, W.dir),
- layout: O7(),
+ sorts: l5(W.sort, W.dir),
+ layout: k7(),
state: W.state || "",
trash: W.state === "trash"
};
}
-function A7(e) {
+function j7(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function j7(e) {
+function M7(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${B(Qn(en("performer", e.k, e.id)))}</span>${mo({
@@ -81222,102 +81237,102 @@ function j7(e) {
})}`
};
}
-function M7(e) {
+function N7(e) {
return {
name: e.k,
fallback: Zn(e.k, 2),
logo: e.has_logo ? uo(e.k, "icon", e.logo_version) : ""
};
}
-function dLe(e, t) {
- X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? E7({
+function fLe(e, t) {
+ X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? D7({
tiersPending: !0,
state: e.state || ""
- }) : (X.barsRendered = "", E7({
+ }) : (X.barsRendered = "", D7({
tiers: null,
tiersPending: !0,
state: e.state || ""
}));
}
-function N7(e) {
- X.barsPendingSeq === e && (X.barsPendingSeq = 0, E7({ tiersPending: !1 }));
+function P7(e) {
+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, D7({ tiersPending: !1 }));
}
-async function P7() {
+async function F7() {
let e = ++X.barsRequestSeq;
- if (h9(), !Vl(location.pathname) || Wl.type === "item") return;
- let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([
+ if (g9(), !Vl(location.pathname) || Wl.type === "item") return;
+ let t = c5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
W.state || "",
W.seed || "",
- n7()
+ r7()
]);
- dLe(n, e);
+ fLe(n, e);
let i;
try {
- i = await x7(t);
+ i = await S7(t);
} catch (t) {
- throw N7(e), t;
+ throw P7(e), t;
}
let [a, o] = i;
if (e !== X.barsRequestSeq) {
- N7(e);
+ P7(e);
return;
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- X.barsPendingSeq = 0, E7({ tiersPending: !1 }), V5.sidebarCatalog && h9({
- content: V5.sidebarCatalog,
+ X.barsPendingSeq = 0, D7({ tiersPending: !1 }), H5.sidebarCatalog && g9({
+ content: H5.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = s, t.type === "home" && (r9.facets = a);
+ X.barsRendered = s, t.type === "home" && (i9.facets = a);
let c = a.tags || [];
Ja(o.performers), Ja(o.studios);
- let l = t.type === "home" && !n7() && !W.state && !W.q && !a.locations.some((e) => e.n > 0);
+ let l = t.type === "home" && !r7() && !W.state && !W.q && !a.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = x8.seededSample(p, X.TAGS_FIRST, `tags:${W.seed || ""}`), h = new Set(m.map((e) => e.k));
+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${W.seed || ""}`), h = new Set(m.map((e) => e.k));
X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({
k: e.k,
label: Nl(e.k),
n: e.n ?? null
- })), X.barsPendingSeq = 0, E7({
+ })), X.barsPendingSeq = 0, D7({
tiers: {
key: String(X.barsRequestSeq),
- performers: o.performers.map(j7),
- studios: o.studios.map(M7)
+ performers: o.performers.map(M7),
+ studios: o.studios.map(N7)
},
tiersPending: !1,
empty: l,
- tags: A7(n),
+ tags: j7(n),
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), R7(), V5.sidebarCatalog = {
+ }), z7(), H5.sidebarCatalog = {
kind: "catalog",
- key: String(++V5.sidebarContentSeq),
- facets: $7(a, t)
- }, h9({
- content: V5.sidebarCatalog,
+ key: String(++H5.sidebarContentSeq),
+ facets: e9(a, t)
+ }, g9({
+ content: H5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function fLe(e, t) {
- r9.total = e, W.state === "trash" && (D5.trashCount = {
- total: r9.total,
+function pLe(e, t) {
+ i9.total = e, W.state === "trash" && (O5.trashCount = {
+ total: i9.total,
shown: t
- }), Q5(), E7({ count: {
- total: r9.total,
+ }), $5(), D7({ count: {
+ total: i9.total,
shown: t
} });
}
-function F7() {
+function I7() {
return al({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -81327,19 +81342,19 @@ function F7() {
try {
let e = await Cn("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- x8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ S8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await z7();
+ await B7();
}
}
});
}
-function I7(e) {
- w7((t) => {
+function L7(e) {
+ T7((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function L7(e) {
+function R7(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -81363,13 +81378,13 @@ function L7(e) {
label: Nl(e)
})), t;
}
-function R7() {
- E7({
- combo: L7(W),
+function z7() {
+ D7({
+ combo: R7(W),
comboHidden: !X.catalogOnScreen()
});
}
-async function z7() {
+async function B7() {
let e = Q.claimSurface(Q.surfacePath());
if (vu({
barsContext: {
@@ -81377,42 +81392,42 @@ async function z7() {
filters: W
},
detailReturnBarsContext: null
- }), o9(!1), W.state === "ads") return hLe(e);
- X.controller.page === "/junk-files" && V7(), L5(), W5();
- let t = H7(e);
- if (Z8(location.pathname) && W.browse !== "folders") {
- if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- $Fe();
- } else Q8();
- return R7(), R("#count").classList.remove("manage-static", "junkcount"), t;
-}
-function B7(e) {
+ }), s9(!1), W.state === "ads") return gLe(e);
+ X.controller.page === "/junk-files" && H7(), R5(), G5();
+ let t = U7(e);
+ if (Q8(location.pathname) && W.browse !== "folders") {
+ if (await L5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ eIe();
+ } else $8();
+ return z7(), R("#count").classList.remove("manage-static", "junkcount"), t;
+}
+function V7(e) {
X.controller.settle(e);
}
-function V7() {
+function H7() {
let e = R("#grid");
kl(e), mp(e), X.controller.clear(), e.innerHTML = "";
}
-function H7(e) {
- return K7("/", mLe, e, { place: KLe });
+function U7(e) {
+ return q7("/", hLe, e, { place: qLe });
}
-function pLe(e) {
- return K7("/junk-files", _Le, e);
+function mLe(e) {
+ return q7("/junk-files", vLe, e);
}
-function U7() {
+function W7() {
return !!op(R("#grid"));
}
-function W7() {
- return X.controller.taken(U7());
+function G7() {
+ return X.controller.taken(W7());
}
-function G7(e) {
+function K7(e) {
pp(R("#grid"), e);
}
-function K7(e, t, n, r = {}) {
+function q7(e, t, n, r = {}) {
let i = R("#grid");
- X.controller.page && X.controller.page !== e && V7();
- let a = X.controller.begin(e, U7()), o = t();
- if (!a.mount) return G7(o), a.settled;
+ X.controller.page && X.controller.page !== e && H7();
+ let a = X.controller.begin(e, W7()), o = t();
+ if (!a.mount) return K7(o), a.settled;
kl(i);
let s = () => mp(i);
return a.signal.addEventListener("abort", s, { once: !0 }), dp(e, o, {
@@ -81420,70 +81435,70 @@ function K7(e, t, n, r = {}) {
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
}).catch((e) => console.error(e)).finally(() => {
- a.signal.removeEventListener("abort", s), a.finish(U7());
+ a.signal.removeEventListener("abort", s), a.finish(W7());
}), a.settled;
}
-function q7() {
- let e = r7();
- return jM({
- active: n7() || e,
+function J7() {
+ let e = i7();
+ return MM({
+ active: r7() || e,
home: e,
portrait: W.orient === "竖屏"
});
}
-function J7(e = "正在读取作品") {
- return oY(e, Y7());
-}
-function Y7() {
- return W ? MM(q7()) : 16 / 9;
+function Y7(e = "正在读取作品") {
+ return sY(e, X7());
}
function X7() {
- W7() && (kl(R("#grid")), G7({
- layout: q7(),
+ return W ? NM(J7()) : 16 / 9;
+}
+function Z7() {
+ G7() && (kl(R("#grid")), K7({
+ layout: J7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (kl(R("#index [data-entity-hero]")), o5({
- layout: q7(),
+ })), Y.entityPageCurrent() && (kl(R("#index [data-entity-hero]")), s5({
+ layout: J7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function mLe() {
+function hLe() {
let e = decodeURIComponent(location.pathname), t = kn(e), n = W.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: q7(),
+ layout: J7(),
wall: e === "/wall",
restoreNavigation: om(),
selectMode: Jl,
selected: new Set(Kl),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: n9,
- settled: B7,
- skeletonHtml: () => J7(),
+ wireDrag: r9,
+ settled: V7,
+ skeletonHtml: () => Y7(),
filters: { ...W },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: t && e !== "/wall" && !W.q && !W.orient && W.browse !== "folders" || W.jav === "1",
mix: t && e !== "/wall" && !n && W.browse !== "folders",
- shorts: t && e !== "/wall" && !n7() && W.orient !== "竖屏" && !n && W.browse !== "folders",
+ shorts: t && e !== "/wall" && !r7() && W.orient !== "竖屏" && !n && W.browse !== "folders",
countRow: R("#count"),
- onCount: fLe,
- onCountFailed: () => E7({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : QK({
- jav: n7() && !t,
+ onCount: pLe,
+ onCountFailed: () => D7({ count: !1 }),
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : $K({
+ jav: r7() && !t,
configurable: su,
filtered: !t
}),
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function hLe(e) {
+function gLe(e) {
let t = R("#count");
- return X.controller.page === "/junk-files" && U7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (V7(), L5("正在读取垃圾文件")), W5(), R7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), pLe(e);
+ return X.controller.page === "/junk-files" && W7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (H7(), R5("正在读取垃圾文件")), G5(), z7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), mLe(e);
}
-async function gLe(e, t) {
+async function _Le(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await Cn("/api/batch", {
@@ -81493,24 +81508,24 @@ async function gLe(e, t) {
operation: t,
...r ? { disposal_reason: "junk" } : {}
})
- }), await z7();
+ }), await B7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await Cn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await z7();
+ }), await B7();
} });
} catch (e) {
- throw x8.actionFailure("操作", e), e;
+ throw S8.actionFailure("操作", e), e;
}
}
-function _Le() {
+function vLe() {
return {
- ...XU(location.search),
+ ...ZU(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -81518,16 +81533,16 @@ function _Le() {
selectMode: Jl,
selected: new Set(Kl),
countRow: R("#count"),
- settled: B7,
- skeletonHtml: () => T2("正在读取垃圾文件", {
+ settled: V7,
+ skeletonHtml: () => E2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function vLe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), vu(C8(wFe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {
+function yLe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), vu(w8(TFe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = R("#q")) => {
@@ -81548,52 +81563,52 @@ function vLe() {
};
};
}
-function yLe() {
- L8.handler(R("#wallBtn"), "onclick", () => {
- k5(!1, !0);
- let e = s5(), t = {
+function bLe() {
+ R8.handler(R("#wallBtn"), "onclick", () => {
+ A5(!1, !0);
+ let e = c5(), t = {
...Y.activeFilterState(),
- jav: n7() ? "1" : ""
+ jav: r7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Cbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(wbe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => iL(e, t),
- displayName: (e, t) => rL(e, t),
+ titleHtml: (e, t) => aL(e, t),
+ displayName: (e, t) => iL(e, t),
tagLabel: (e) => Nl(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await n8(r9.stageHost);
+ let r = await r8(i9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: b7,
- open: (e, t) => oLe(e, t),
- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : aLe(e, t),
- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : p9(e.id),
- openShorts: () => p9(),
- openMix: (e, t) => ALe(e, e, !0, t),
- openEntity: (e, t) => y5(e, t),
- openUnowned: () => v7({ owner: "none" }),
+ wallDetails: x7,
+ open: (e, t) => sLe(e, t),
+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : oLe(e, t),
+ openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : m9(e.id),
+ openShorts: () => m9(),
+ openMix: (e, t) => jLe(e, e, !0, t),
+ openEntity: (e, t) => b5(e, t),
+ openUnowned: () => y7({ owner: "none" }),
toggleTag: (e) => {
- w7((t) => {
+ T7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
});
},
- toggleSelection: (e, t) => A5(e, t),
- watchLater: (e, t) => sLe(e, t),
- rate: (e, t, n, r) => lLe(e, t, n, r),
- resourceOperation: (e, t) => cLe(e, t),
- mixRelated: (e) => y7(e),
- canFlip: () => !Jl && !e9() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => j5(e, t),
+ watchLater: (e, t) => cLe(e, t),
+ rate: (e, t, n, r) => uLe(e, t, n, r),
+ resourceOperation: (e, t) => lLe(e, t),
+ mixRelated: (e) => b7(e),
+ canFlip: () => !Jl && !t9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: W.seed || ""
});
- return t && n.set("page", String(t)), n7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;
+ return t && n.set("page", String(t)), r7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -81614,38 +81629,38 @@ function yLe() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? En[e.k] : "/"
- })), X.TAGS_FIRST = 26, L8.listen(R("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, R8.listen(R("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), D7().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), O7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && E7({ comboHidden: !0 });
+ X.catalogFilterProps && D7({ comboHidden: !0 });
};
}
-function bLe() {
+function xLe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- Jl && k5(!1, !0), Q.route(e);
+ Jl && A5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => A5(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : u9(e.id, !0, null, t),
+ toggleSelection: (e, t) => j5(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : d9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await Cn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), x8.toast({ text: "已在资源管理器中显示" }), "";
+ }), S8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => gLe(e, t)
+ operate: (e, t) => _Le(e, t)
};
}
-X.controller = new OFe();
+X.controller = new kFe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -81668,8 +81683,8 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function Z7() {
- let e = L8;
+async function Q7() {
+ let e = R8;
try {
let t = await br(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -81679,18 +81694,18 @@ async function Z7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), rLe(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), iLe(), Z.sourceOnline;
}
-function Q7() {
+function $7() {
let e = Q.surfacePath();
- if (!kn(e) || e === "/junk-files") return z7();
+ if (!kn(e) || e === "/junk-files") return B7();
let t = Z.nextCatalogLoad();
- return Tp(_7(), {
+ return Tp(v7(), {
replace: !0,
state: G.navigation.location.state
}), t;
}
-function xLe(e) {
+function SLe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -81711,7 +81726,7 @@ function xLe(e) {
cost: "free"
};
}
-function $7(e, t) {
+function e9(e, t) {
let n = (e, t = (e) => e.label || Nl(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -81722,7 +81737,7 @@ function $7(e, t) {
value: e.k,
label: er[e.k] || e.k,
n: e.n ?? null,
- dot: xLe(e.k),
+ dot: SLe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -81735,25 +81750,25 @@ function $7(e, t) {
duration: !!e.stats?.duration
};
}
-async function SLe(e = !1) {
- if (e && (document.hidden || !kn(decodeURIComponent(location.pathname)) || r9.stageOpen() || r9.immerseOpen() || Jl || Kl.size || document.activeElement === R("#q"))) return !1;
+async function CLe(e = !1) {
+ if (e && (document.hidden || !kn(decodeURIComponent(location.pathname)) || i9.stageOpen() || i9.immerseOpen() || Jl || Kl.size || document.activeElement === R("#q"))) return !1;
if (!R("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- S5();
+ C5();
return;
}
let n = t === "reopen" ? e : "/stats";
nm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, G.navigation.location.state) : Q.navigatePath(n);
} else if (R("#index").hidden) {
- W.sort = "seed", W.dir = "", W.seed = x8.rollSeed(), yu(), D8(), E7({ refreshing: !0 });
+ W.sort = "seed", W.dir = "", W.seed = S8.rollSeed(), yu(), O8(), D7({ refreshing: !0 });
try {
nm();
- let e = Q7();
- await null, await Promise.all([e, P7()]);
+ let e = $7();
+ await null, await Promise.all([e, F7()]);
} finally {
- E7({ refreshing: !1 });
+ D7({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -81761,69 +81776,69 @@ async function SLe(e = !1) {
}), !0;
}
}
-function e9() {
+function t9() {
return document.body.classList.contains("censor");
}
-function t9(e) {
+function n9(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function CLe(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), t9(e), e && kl();
-}
function wLe(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), n9(e), e && kl();
+}
+function TLe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function n9(e) {
+function r9(e) {
return Ec(e, { drag: !0 });
}
-function TLe() {
- ["#nrow", "#count"].forEach((e) => n9(R(e))), document.querySelectorAll(".tier,.srow").forEach(n9);
-}
function ELe() {
+ ["#nrow", "#count"].forEach((e) => r9(R(e))), document.querySelectorAll(".tier,.srow").forEach(r9);
+}
+function DLe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function DLe() {
+function OLe() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {
local: "无法读取媒体目录,请检查目录是否存在及读取权限。",
115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",
pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"
- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = pM(), Z.appSettings = Z.settingsStore.value, Yt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Yo(Z.appSettings.uiSounds), ts(), _M(), fle(), HM(), GM(), KM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = mM(), Z.appSettings = Z.settingsStore.value, Yt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Yo(Z.appSettings.uiSounds), ts(), vM(), dle(), UM(), KM(), qM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
performerNameLanguage: () => {
- Yt(Z.appSettings.performerNameLanguage), I5.syncPageTitle(location.href), X.barsRendered = "", P7();
+ Yt(Z.appSettings.performerNameLanguage), L5.syncPageTitle(location.href), X.barsRendered = "", F7();
},
- theme: () => _M(),
+ theme: () => vM(),
uiSounds: () => {
Yo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Xo("toggle-on");
},
- glowFrame: () => WM(),
+ glowFrame: () => GM(),
glow: () => {
- WM(), GM();
+ GM(), KM();
},
batchSize: () => {
- location.pathname === "/" && z7();
+ location.pathname === "/" && B7();
},
defaultSort: () => {
- W.sort = Z.appSettings.defaultSort, W.dir = qj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Q7();
+ W.sort = Z.appSettings.defaultSort, W.dir = Jj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && $7();
},
sortDirection: () => {
- W.dir = qj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Q7();
+ W.dir = Jj(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && $7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
jl(e, "previewing", !1), jl(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => X7(),
- groupCollapse: () => c7(),
- feedAutoScroll: () => eIe(),
- feedLimit: () => $8(),
- feedCompilations: () => $8(),
+ seekSeconds: () => Z7(),
+ groupCollapse: () => l7(),
+ feedAutoScroll: () => tIe(),
+ feedLimit: () => e5(),
+ feedCompilations: () => e5(),
miniplayer: () => {
- Z.appSettings.miniplayer || r8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || i8()?.closeMiniplayer();
},
javImage: () => {
- ro(document, Z.appSettings.javImage), X7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), kLe();
+ ro(document, Z.appSettings.javImage), Z7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), ALe();
},
searchHistoryLimit: () => pp(R("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -81834,11 +81849,11 @@ function DLe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Hs;
}
-function OLe() {
- Z.CENSOR_KEY = "peach-censor", t9(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function kLe() {
+ Z.CENSOR_KEY = "peach-censor", n9(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
-var r9 = {
+var i9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -81849,18 +81864,18 @@ var r9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function i9() {
+function a9() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function a9() {
- return r8()?.exit() || Promise.resolve();
+function o9() {
+ return i8()?.exit() || Promise.resolve();
}
-function o9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), vu({
+function s9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), vu({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -81868,12 +81883,12 @@ function o9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), f7(), e && Q.route(Ql || "/");
+ }), p7(), e && Q.route(Ql || "/");
}
-function kLe() {
- r8()?.repaintPoster();
+function ALe() {
+ i8()?.repaintPoster();
}
-function s9(e, t, n, r, i = null, a = {}) {
+function c9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = nu?.kind === e && (e === "playlist" ? nu.playlistId : nu.seedId) === t;
r && !o && vu({ detailReturnPath: location.pathname + location.search }), r && Vf();
@@ -81887,38 +81902,38 @@ function s9(e, t, n, r, i = null, a = {}) {
fresh: !o
};
if (a.autoplay && (s.autoplay = !0), r) {
- _9();
+ v9();
let e = Q.queueOpenRequest = {
seq: G.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => u9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });
- } else return u9(n == null ? null : +n, !1, s, i, r);
-}
-function ALe(e, t = e, n = !0, r = null) {
- return s9("mix", e, t, n, r);
+ Q.requestedQueue = () => d9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });
+ } else return d9(n == null ? null : +n, !1, s, i, r);
}
function jLe(e, t = e, n = !0, r = null) {
- return s9("editions", e, t, n, r);
+ return c9("mix", e, t, n, r);
}
function MLe(e, t = e, n = !0, r = null) {
- return s9("parts", e, t, n, r);
+ return c9("editions", e, t, n, r);
+}
+function NLe(e, t = e, n = !0, r = null) {
+ return c9("parts", e, t, n, r);
}
-function c9(e, t = null, n = !0) {
- return s9("playlist", e, t, n);
+function l9(e, t = null, n = !0) {
+ return c9("playlist", e, t, n);
}
-function l9() {
+function u9() {
return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !!document.querySelector("[data-video-wall]") || !R("#index").hidden || !R("#stats").hidden;
}
-async function u9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function d9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
- if (a || _9(), t && !n) {
- vu({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => u9(e, !1, null, r));
+ if (a || v9(), t && !n) {
+ vu({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => d9(e, !1, null, r));
return;
}
kl(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = l9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(s5());
- t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: Wf() || Ql }), t && Vf(), r8()?.showing() !== "item" && o9(!1, !0, {
+ let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = u9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(c5());
+ t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: Wf() || Ql }), t && Vf(), i8()?.showing() !== "item" && s9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), vu({
@@ -81930,60 +81945,60 @@ async function u9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), vu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Gf("item"));
- let d = await n8(r9.stageHost);
+ let d = await r8(i9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ...r9.itemDetailActions,
+ ...i9.itemDetailActions,
present: (e, t) => {
- a.cancelled || r9.itemDetailActions.present(e, t);
+ a.cancelled || i9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || r9.itemDetailActions.redirect(e);
+ a.cancelled || i9.itemDetailActions.redirect(e);
}
- } : r9.itemDetailActions;
+ } : i9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: r9.itemDetailHelpers,
+ helpers: i9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: q7(),
+ layout: J7(),
selectMode: Jl,
selected: new Set(Kl),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : i9()
- }), f7();
+ resume: t || e == null ? null : a9()
+ }), p7();
}
-async function d9() {
+async function f9() {
let e = Y.cloneBarsContext(Gl), t = Ql || "/", n = tu;
- await a9(), o9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), Hf(), vu({ barsContext: e || {
+ await o9(), s9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), Hf(), vu({ barsContext: e || {
type: "home",
filters: W
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (P7(), location.pathname === "/playlists" && S5()));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (F7(), location.pathname === "/playlists" && C5()));
}
-async function f9(e, t = !0) {
+async function p9(e, t = !0) {
if (t) {
- vu({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => f9(e, !1));
+ vu({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => p9(e, !1));
return;
}
- let n = G.navigation.seq, r = Y.cloneBarsContext(s5()), i = !l9(), a = Wf() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";
- r8()?.showing() !== "jav" && o9(!1, !0, { miniplayer: !1 }), vu({
+ let n = G.navigation.seq, r = Y.cloneBarsContext(c5()), i = !u9(), a = Wf() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";
+ i8()?.showing() !== "jav" && s9(!1, !0, { miniplayer: !1 }), vu({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), kl();
- let [o, s] = await Promise.all([n8(r9.stageHost), V("/healthz")]);
+ let [o, s] = await Promise.all([r8(i9.stageHost), V("/healthz")]);
G.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void d9(),
+ close: () => void f9(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
G.navigation.seq === n && t && t !== e && Tp("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -81991,52 +82006,52 @@ async function f9(e, t = !0) {
state: G.navigation.location.state
});
},
- openTag: (e) => w7((t) => {
+ openTag: (e) => T7((t) => {
t.tag = e;
}),
- receipt: (e) => x8.toast({ text: e })
+ receipt: (e) => S8.toast({ text: e })
}
- }), f7());
+ }), p7());
}
-async function p9(e = null, t = !0) {
- t ? (r9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await gFe(r9.immerseHost)).open(e));
+async function m9(e = null, t = !0) {
+ t ? (i9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await _Fe(i9.immerseHost)).open(e));
}
-function NLe() {
- r9.total = 0, r9.facets = null, r9.stageHost = {
+function PLe() {
+ i9.total = 0, i9.facets = null, i9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => x8.toast({ text: e }, t),
- loadSourceStatus: () => Z7(),
+ toast: (e, t) => S8.toast({ text: e }, t),
+ loadSourceStatus: () => Q7(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? D9(t, !0, n) : u9(t, !0);
+ e === "follow" ? O9(t, !0, n) : d9(t, !0);
},
- openItem: (e) => void u9(e)
- }, r9.stageOpen = () => !!r8()?.isOpen();
+ openItem: (e) => void d9(e)
+ }, i9.stageOpen = () => !!i8()?.isOpen();
}
-function PLe() {
- r9.itemDetailHelpers = {
+function FLe() {
+ i9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => iL(e),
- displayName: (e) => rL(e),
+ titleHtml: (e) => aL(e),
+ displayName: (e) => iL(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Nl(e),
isDurationTag: (e) => rr.has(e),
- tagCandidates: () => r9.facets && r9.facets.tags || [],
+ tagCandidates: () => i9.facets && i9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => T2("正在读取推荐", {
+ relatedSkeletonHtml: () => E2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => y7(e),
- wireDrag: (e) => n9(e),
+ mixRelated: (e) => b7(e),
+ wireDrag: (e) => r9(e),
wireDragReorder: (e, t) => tl(e, t)
- }, r9.itemDetailActions = {
- close: () => d9(),
+ }, i9.itemDetailActions = {
+ close: () => f9(),
present: (e) => {
vu({ presentedItem: e });
let t = Gl;
@@ -82044,57 +82059,57 @@ function PLe() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, Gf("item")), vu({ pendingQueueRoute: null })), P7();
+ } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, Gf("item")), vu({ pendingQueueRoute: null })), F7();
},
redirect: (e) => {
let t = !!ru;
e.kind === "follow" ? (Q.queueOpenRequest = null, vu({
pendingQueueRoute: null,
followDetailReturnPath: Ql || "/"
- }), Q.route(`/posts/${e.id}`, !t, Gf("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? u9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : o9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, Gf("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? d9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : C5() : s9(!1);
},
- openQueueItem: (e, t, n = !0) => void s9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void c9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = iu;
if (!e) return;
let t = nu;
- t ? s9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : u9(e.id, !1);
+ t ? c9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : d9(e.id, !1);
},
- checkSource: async (e) => (await Z7())[e] !== !1,
+ checkSource: async (e) => (await Q7())[e] !== !1,
openSavedFollow: () => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", x9(S9());
},
- openEntity: (e, t) => y5(e, t),
- openUnowned: () => v7({ owner: "none" }),
- openRegion: (e) => v7({ region: e || "none" }),
- openTag: (e) => w7((t) => {
+ openEntity: (e, t) => b5(e, t),
+ openUnowned: () => y7({ owner: "none" }),
+ openRegion: (e) => y7({ region: e || "none" }),
+ openTag: (e) => T7((t) => {
t.tag = e;
}),
- addToPlaylist: (e) => mIe(e),
- saveMix: (e) => pIe(e),
- editPlaylist: () => b9("/playlists"),
- openPlaylists: () => b9("/playlists"),
- reveal: (e) => m5(e),
- sync: (e) => aIe(e),
+ addToPlaylist: (e) => hIe(e),
+ saveMix: (e) => mIe(e),
+ editPlaylist: () => x9("/playlists"),
+ openPlaylists: () => x9("/playlists"),
+ reveal: (e) => h5(e),
+ sync: (e) => oIe(e),
trashChanged: async (e, t) => {
- W.state === "ads" && (t || e === "trash") && (t || (Hf(), o9(!0, !1, { miniplayer: !1 })), await z7());
+ W.state === "ads" && (t || e === "trash") && (t || (Hf(), s9(!0, !1, { miniplayer: !1 })), await B7());
},
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- failure: (e, t) => x8.actionFailure(e, t)
- }, r9.immerseHost = {
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => S8.actionFailure(e, t)
+ }, i9.immerseHost = {
filters: () => W,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => rL(e),
+ displayName: (e) => iL(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => v7(),
- openItem: (e) => void u9(e),
- openEntity: (e, t) => y5(e, t),
- openUnowned: () => v7({ owner: "none" }),
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- warn: (e) => x8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => x8.actionFailure(e, t)
- }, r9.immerseOpen = () => !!o8()?.isOpen(), L8.handler(R("#immerseBtn"), "onclick", () => p9());
+ closed: () => y7(),
+ openItem: (e) => void d9(e),
+ openEntity: (e, t) => b5(e, t),
+ openUnowned: () => y7({ owner: "none" }),
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ warn: (e) => S8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => S8.actionFailure(e, t)
+ }, i9.immerseOpen = () => !!s8()?.isOpen(), R8.handler(R("#immerseBtn"), "onclick", () => m9());
}
// src/application/navigation.js
var Q = {
@@ -82116,40 +82131,40 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function m9() {
- let e = f8();
- e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(l7(e.dataset.nav))));
+function h9() {
+ let e = p8();
+ e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(u7(e.dataset.nav))));
}
-function h9(e = {}) {
+function g9(e = {}) {
let t = Q.surfacePath();
- t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {
- ...V5.sidebarProps,
+ t !== H5.sidebarSurface && (H5.sidebarSurface = t, H5.sidebarProps = {
+ ...H5.sidebarProps,
content: null,
latest: null
- }), V5.sidebarProps = {
- ...V5.sidebarProps,
+ }), H5.sidebarProps = {
+ ...H5.sidebarProps,
...e
- }, f8()?.render(V5.sidebarProps);
-}
-function g9() {
- h9(), m9(), d7();
+ }, p8()?.render(H5.sidebarProps);
}
function _9() {
+ g9(), h9(), f7();
+}
+function v9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, vu({ pendingQueueRoute: null });
}
-function v9(e, t, n) {
- _9(), Vf(), Q.requestedOverlay = {
+function y9(e, t, n) {
+ v9(), Vf(), Q.requestedOverlay = {
path: e,
open: n
}, Q.route(e, !1, Gf(t));
}
-function y9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), Hf();
+function b9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, L5.syncPageTitle(location.href), g9(), Hf();
}
-function b9(e) {
+function x9(e) {
Q.route(e), vu({ pageOpens: lu + 1 });
}
-function FLe() {
+function ILe() {
Q.routeMeta = (e) => {
let t = Zf(e);
return t ? { route: t } : null;
@@ -82157,7 +82172,7 @@ function FLe() {
let t = Zf(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Lf(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? p9(ELe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? MIe() : e) : (k5(!1, !0), b9(N5({
+ e === "/immerse" ? m9(DLe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? NIe() : e) : (A5(!1, !0), x9(P5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -82166,34 +82181,34 @@ function FLe() {
})));
};
}
-function ILe() {
+function LLe() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), mp(R("#stats"), R("#index")), !kn(e) && e !== "/trash" && V7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Q8(e) || $8(), mp(R("#stats"), R("#index")), !kn(e) && e !== "/trash" && H7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, Tp(e, {
replace: t,
state: n
- }), I5.syncPageTitle(e), queueMicrotask(() => {
- d7(), e7(), h9();
+ }), L5.syncPageTitle(e), queueMicrotask(() => {
+ f7(), t7(), g9();
});
}, Q.navigatePath = (e, t = !1, n) => {
t ? G.replace(e, n) : G.push(e, n), queueMicrotask(() => {
- d7(), e7();
+ f7(), t7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function LLe(e, t, n) {
+function RLe(e, t, n) {
if (!Number.isFinite(n) || n <= 0) return "";
let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function RLe(e, t = 0, n = 0) {
- return n > 0 ? LLe(e, t, n) : Bs(e);
+function zLe(e, t = 0, n = 0) {
+ return n > 0 ? RLe(e, t, n) : Bs(e);
}
-async function zLe(e) {
+async function BLe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -82208,14 +82223,14 @@ async function zLe(e) {
await t(2e3);
}
}
-function BLe(e) {
+function VLe(e) {
let t = e.note || ((e) => Ls(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Bs, r = e.progress || ((e, t, n) => RLe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || Bs, r = e.progress || ((e, t, n) => zLe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- zLe({
+ BLe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -82264,25 +82279,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function VLe(e) {
+function HLe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- x8.toast({ text: Bi(e) }, {
+ S8.toast({ text: Bi(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => E9(!0)
+ run: () => D9(!0)
}
});
}
-function x9() {
- return Da(S9());
+function S9() {
+ return Da(C9());
}
-function HLe() {
+function ULe() {
return $.controller.read();
}
-function S9() {
+function C9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -82297,33 +82312,33 @@ function S9() {
seed: $.followSeed
};
}
-function C9(e) {
+function w9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function ULe() {
+function WLe() {
let e = op(R("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function w9() {
- return !!ULe();
+function T9() {
+ return !!WLe();
}
-function T9(e) {
- w9() && pp(R("#stats"), e);
+function E9(e) {
+ T9() && pp(R("#stats"), e);
}
-function WLe(e, t = {}) {
+function GLe(e, t = {}) {
return $.controller.route(e, t);
}
-function E9(e = !1) {
+function D9(e = !1) {
$.controller.enter(e);
}
-async function D9(e, t = !0, n = null, r = !1) {
+async function O9(e, t = !0, n = null, r = !1) {
if (t) {
- !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));
+ !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));
return;
}
kl(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: Wf() || "/follow" }), t && Vf(), r8()?.showing() !== "follow" && o9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Gf("follow")), await (await n8(r9.stageHost)).open({
+ t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: Wf() || "/follow" }), t && Vf(), i8()?.showing() !== "follow" && s9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Gf("follow")), await (await r8(i9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -82331,66 +82346,66 @@ async function D9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : i9()
- }), f7();
+ resume: t ? null : a9()
+ }), p7();
}
-async function GLe() {
- await a9(), o9(!1, !1, { miniplayer: !1 }), Hf(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && w9() ? (HLe(), T9({ view: S9() })) : vu({ pageOpens: lu + 1 }));
+async function KLe() {
+ await o9(), s9(!1, !1, { miniplayer: !1 }), Hf(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && T9() ? (ULe(), E9({ view: C9() })) : vu({ pageOpens: lu + 1 }));
}
-function KLe(e) {
+function qLe(e) {
let t = document.createElement("div");
return t.className = "peach-react", ec(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function qLe() {
+function JLe() {
$.followFeedHelpers = Fl({
wireDrag: (e) => {
- e && n9(e);
+ e && r9(e);
},
wireScroller: (e) => {
e && Ec(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: BLe
+ jobProgress: VLe
}), $.followFeedActions = {
- loaded: (e) => G5(e),
- openDetail: (e) => D9(e),
+ loaded: (e) => K5(e),
+ openDetail: (e) => O9(e),
openAuthor: (e) => Q.navigatePath(Mn("creator", e)),
- toggleSelection: (e, t) => bIe(e, t),
+ toggleSelection: (e, t) => xIe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f5();
},
setPhotoLayout: (e) => {
- PM(e), d5();
+ FM(e), f5();
},
- canFlip: () => !Jl && !e9() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- failure: (e, t) => x8.actionFailure(e, t),
- checkReport: (e) => VLe(e)
+ canFlip: () => !Jl && !t9() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => S8.actionFailure(e, t),
+ checkReport: (e) => HLe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- r8()?.showing() !== "follow" && (kl(), o9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), R("#stats").querySelector(".peach-react") && mp(R("#stats")), R("#stats").replaceChildren()));
+ i8()?.showing() !== "follow" && (kl(), s9(!1), W5(), !T9() && (Q.claimSurface(Q.surfacePath()), U5({ manage: !1 }), R("#stats").querySelector(".peach-react") && mp(R("#stats")), R("#stats").replaceChildren()));
}
}, $.followDetailActions = Ul({
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
rememberReturn: (e) => vu({ followDetailReturnPath: e }),
- close: () => void GLe(),
- open: (e, t, n) => void D9(e, !0, t, n),
- drawer: G5,
+ close: () => void KLe(),
+ open: (e, t, n) => void O9(e, !0, t, n),
+ drawer: K5,
openAuthor: (e) => Q.navigatePath(Mn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
- failure: x8.actionFailure
+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
+ failure: S8.actionFailure
});
}
-function JLe() {
+function YLe() {
$.controller = Aa({
location: () => location,
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
session: () => ({
discoverySeed: fu,
revision: pu,
@@ -82404,50 +82419,50 @@ function JLe() {
preferences: () => ({
selectMode: Jl,
selected: ql,
- photoSize: OM(),
- photoLayout: kM(),
+ photoSize: kM(),
+ photoLayout: AM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
- live: w9,
- push: T9,
+ live: T9,
+ push: E9,
route: (e) => {
Q.route(e), im("follow", {
- view: S9(),
+ view: C9(),
seed: fu,
revision: pu
});
},
- openPage: b9,
- rollSeed: () => Number(x8.rollSeed()),
+ openPage: x9,
+ rollSeed: () => Number(S8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- kl(), U5(), H5({ manage: !1 });
+ kl(), W5(), U5({ manage: !1 });
},
- syncPhotoWalls: d5,
+ syncPhotoWalls: f5,
scrollTop: () => {
cm(() => location.pathname === "/follow", R("#stats").querySelector("[data-filter-frame]"));
}
}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;
}
// src/application/lifecycle.js
-function YLe() {
- QTe(), Jc(document), Io(document.documentElement, { variant: "page" }), Io(R("#drawerScroll")), L8.own(Gc()), Ha(document.body), X.homeHasFeed = ZFe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {
+function XLe() {
+ $Te(), Jc(document), Io(document.documentElement, { variant: "page" }), Io(R("#drawerScroll")), R8.own(Gc()), Ha(document.body), X.homeHasFeed = QFe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, H5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, H5.sidebarSurface = "", H5.sidebarCatalog = null, H5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
// src/application/tutorial.js
-async function XLe() {
- lU({ reopen: !0 });
+async function ZLe() {
+ uU({ reopen: !0 });
}
-function ZLe() {
+function QLe() {
let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";
- vu({ cameFromSetup: t }), L8.handler(document.getElementById("tutorialBtn"), "onclick", () => lU()), lU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
+ vu({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => uU()), uU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
let n = e.searchParams.get("agentation");
try {
localStorage.removeItem("peach.agentation");
@@ -82458,7 +82473,7 @@ function ZLe() {
}), n === "on" && import("/dev/agentation.js").catch(() => {});
}
// src/react/search/recommendations.ts
-async function QLe(e) {
+async function $Le(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -82482,9 +82497,9 @@ async function QLe(e) {
let t = pa(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = ma(e, n), i = l.sources.find((e) => e.id === r.source_id), a = MG(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
+ let r = ma(e, n), i = l.sources.find((e) => e.id === r.source_id), a = NG(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
(n === "images" ? c : s).push({
- value: OG(r),
+ value: kG(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -82500,7 +82515,7 @@ async function QLe(e) {
let u = (t[4]?.items || []).map((e) => ({
value: e.k,
href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
- avatarHtml: jG(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: MG(l.sources.filter((t) => t.author_key === e.key), e.k),
subtitle: "关注中的作者"
})), d = /* @__PURE__ */ new Map();
for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {
@@ -82570,7 +82585,7 @@ async function QLe(e) {
];
}
// src/application/search-morph.js
-function $Le(e, t, n, r, i, a, o) {
+function eRe(e, t, n, r, i, a, o) {
let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];
return s.map((a, c) => {
let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);
@@ -82585,65 +82600,65 @@ function $Le(e, t, n, r, i, a, o) {
});
}
// src/application/search.js
-var O9 = {
+var k9 = {
searchControl: void 0,
searchActions: void 0,
searchHelpers: void 0,
searchMorph: void 0,
searchMorphViewport: void 0
};
-function k9() {
- O9.searchControl?.close();
+function A9() {
+ k9.searchControl?.close();
}
-function eRe(e) {
+function tRe(e) {
let t = e ? $a({
...e,
is_jav: !!e.code
}, Z.appSettings.javImage) : "";
return t === "cover" ? bo(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";
}
-function A9() {
- O9.searchMorph?.cancel(), O9.searchMorph = null, R(".search").classList.remove("search-morphing");
+function j9() {
+ k9.searchMorph?.cancel(), k9.searchMorph = null, R(".search").classList.remove("search-morphing");
}
-function j9(e) {
+function M9(e) {
let t = R(".search"), n = R("#searchBtn");
if (t.classList.contains("open") === e) return;
- let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
- A9(), t.classList.remove("open");
+ let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
+ j9(), t.classList.remove("open");
let o = n.getBoundingClientRect();
if (t.classList.toggle("open", e), R("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = zc();
t.classList.add("search-morphing");
- let h = t.animate($Le(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(eRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- O9.searchMorph = h, L8.handler(h, "onfinish", () => {
- O9.searchMorph === h && A9();
+ k9.searchMorph = h, R8.handler(h, "onfinish", () => {
+ k9.searchMorph === h && j9();
});
}
-function tRe() {
- return r9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;
+function nRe() {
+ return i9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;
}
-function M9(e) {
+function rRe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function nRe() {
- O9.searchControl = null, O9.searchActions = {
+function iRe() {
+ k9.searchControl = null, k9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), o9(!1), W.q = e, yu(), Q.route(W.jav === "1" ? _7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
+ X.rememberSearchValue(), s9(!1), W.q = e, yu(), Q.route(W.jav === "1" ? v7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
},
- openItem: (e) => u9(e),
- openEntity: (e, t) => y5(e, t),
+ openItem: (e) => d9(e),
+ openEntity: (e, t) => b5(e, t),
openPath: (e) => Q.route(e, !1),
openFollow: (e, t, n) => {
- $.followMediaView = t, D9(e, !0, n);
+ $.followMediaView = t, O9(e, !0, n);
}
- }, O9.searchHelpers = {
- pool: () => Ebe(W, Cn),
- recommendations: () => QLe(Cn),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : eRe(e)}</span>`,
+ }, k9.searchHelpers = {
+ pool: () => Dbe(W, Cn),
+ recommendations: () => $Le(Cn),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : tRe(e)}</span>`,
present: (e) => os(e),
dismiss: (e) => ss(e),
wireScroller: (e) => Ec(e),
@@ -82661,65 +82676,65 @@ function nRe() {
}, dp("search", {
input: R("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
- actions: O9.searchActions,
- helpers: O9.searchHelpers,
+ actions: k9.searchActions,
+ helpers: k9.searchHelpers,
expose: (e) => {
- O9.searchControl = e;
+ k9.searchControl = e;
}
}, {
container: R("#searchMenu"),
isCurrent: () => !0
- }), L8.listen(R("#q"), "beforeinput", (e) => {
+ }), R8.listen(R("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), L8.listen(R("#q"), "scroll", (e) => {
+ }), R8.listen(R("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), L8.listen(R("#q"), "pointerdown", (e) => {
+ }), R8.listen(R("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function rRe() {
- O9.searchMorph = null, O9.searchMorphViewport = innerWidth, L8.listen.bind(L8, window)("resize", () => {
- innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());
- }, { passive: !0 }), L8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), L8.handler(R("#searchBtn"), "onclick", () => {
- j9(!0), R("#q").focus({ preventScroll: !0 });
- }), L8.handler(R("#searchBack"), "onclick", () => {
- j9(!1), k9(), R("#q").blur(), R("#searchBtn").focus({ preventScroll: !0 });
+function aRe() {
+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, R8.listen.bind(R8, window)("resize", () => {
+ innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());
+ }, { passive: !0 }), R8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), R8.handler(R("#searchBtn"), "onclick", () => {
+ M9(!0), R("#q").focus({ preventScroll: !0 });
+ }), R8.handler(R("#searchBack"), "onclick", () => {
+ M9(!1), A9(), R("#q").blur(), R("#searchBtn").focus({ preventScroll: !0 });
});
let e = (e) => {
- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (R("#q").value || j9(!1), k9());
+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (R("#q").value || M9(!1), A9());
};
- L8.listen(document, "pointerdown", e, !0), L8.listen(document, "focusin", e), L8.handler(R("#brandHome"), "onclick", (e) => {
- e.preventDefault(), v7();
- }), L8.listen(document, "keydown", (e) => {
+ R8.listen(document, "pointerdown", e, !0), R8.listen(document, "focusin", e), R8.handler(R("#brandHome"), "onclick", (e) => {
+ e.preventDefault(), y7();
+ }), R8.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = l8();
+ let t = u8();
if (t?.isOpen()) {
t.close();
return;
}
if (!R("#searchMenu").hidden) {
- k9();
+ A9();
return;
}
- if (r9.immerseOpen()) {
- o8().close();
+ if (i9.immerseOpen()) {
+ s8().close();
return;
}
- if (r9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), r8().requestEscape());
+ if (i9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), i8().requestEscape());
return;
}
if (R("#drawer").classList.contains("open")) {
- J5(!1);
+ Y5(!1);
return;
}
if (Jl || Kl.size || ql.size) {
- k5(!1, !0);
+ A5(!1, !0);
return;
}
return;
}
- if (M9(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (rRe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -82727,37 +82742,37 @@ function rRe() {
return;
}
}
- let t = tRe();
+ let t = nRe();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), r8()?.toggleTheater();
+ e.preventDefault(), i8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), gP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), _P(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), hP(t);
+ e.preventDefault(), gP(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), AN(t, ".vjs-mute-control");
+ e.preventDefault(), jN(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), AN(t, ".vjs-fullscreen-control");
+ e.preventDefault(), jN(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), r8()?.toggleMiniplayer();
+ e.preventDefault(), i8()?.toggleMiniplayer();
return;
}
}
});
}
// src/history/links.ts
-function iRe(e) {
+function oRe(e) {
if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;
let t = e.target instanceof Element ? e.target.closest("a[href]") : null;
if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;
@@ -82780,70 +82795,70 @@ var N9 = {
shellActions: void 0,
routing: void 0
};
-function aRe() {
- let e = L8, t = (e) => {
- e.kind === "item" ? u9(e.id, !1) : e.kind === "jav" ? f9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : s9(e.queue, e.key, e.item, !1);
+function sRe() {
+ let e = R8, t = (e) => {
+ e.kind === "item" ? d9(e.id, !1) : e.kind === "jav" ? p9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : c9(e.queue, e.key, e.item, !1);
};
- if (XFe(), I5.entityShapesReady = G8(), RIe(), location.pathname === "/") {
+ if (ZFe(), L5.entityShapesReady = K8(), zIe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (R("#catalogPageHeading").hidden = !1);
}
- Z8(decodeURIComponent(location.pathname)) && J8(R("#feedNew")), KIe(), N9.shellActions = {
- openSettings: (e) => X5(e, !0),
- closeSettings: () => l8()?.close(!1),
- openItem: (e) => void u9(e),
- openEntity: (e, t) => void y5(e, t),
+ Q8(decodeURIComponent(location.pathname)) && Y8(R("#feedNew")), qIe(), N9.shellActions = {
+ openSettings: (e) => Z5(e, !0),
+ closeSettings: () => u8()?.close(!1),
+ openItem: (e) => void d9(e),
+ openEntity: (e, t) => void b5(e, t),
openTag: (e) => {
- HIe(), I7(e);
+ UIe(), L7(e);
},
- openTasteSignal: fIe,
+ openTasteSignal: pIe,
navigate: (e) => {
let n = new URL(e, location.href), r = If(n.pathname, n.search);
if (r) {
let e = r.kind === "queue" ? "item" : r.kind;
- v9(n.pathname + n.search + n.hash, e, () => t(r));
+ y9(n.pathname + n.search + n.hash, e, () => t(r));
} else if (n.hash && n.pathname === location.pathname && n.search === location.search && !Lf(location.pathname)) {
Q.route(e);
let t = G.navigation.seq;
kp(n.hash, () => G.navigation.seq === t);
} else Q.navigatePath(e);
},
- openManage: t7,
+ openManage: n7,
managePath: (e) => Q.routePathOf("section", e) || "",
- openFollow: () => E9(),
- receipt: (e, t) => x8.actionReceipt(e, t),
- toast: (e, t) => x8.toast(e, t),
- failure: x8.actionFailure,
- revealSource: m5,
- reopenTutorial: XLe,
- routeReview: hIe,
- routeFollowManage: jIe,
+ openFollow: () => D9(),
+ receipt: (e, t) => S8.actionReceipt(e, t),
+ toast: (e, t) => S8.toast(e, t),
+ failure: S8.actionFailure,
+ revealSource: h5,
+ reopenTutorial: ZLe,
+ routeReview: gIe,
+ routeFollowManage: MIe,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(P5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => k5(!1, !1),
- personAvatar: (e, t, n) => M5.personAvatar(e, t, n),
- authorAvatar: (e) => NIe(e),
- showIndexTags: PIe,
- openFollowAuthor: F5,
- openFollowTag: FIe,
- openPlaylist: (e, t) => void c9(e, t, !0),
- canFlip: () => !Jl && !e9() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => A5(!1, !1),
+ personAvatar: (e, t, n) => N5.personAvatar(e, t, n),
+ authorAvatar: (e) => PIe(e),
+ showIndexTags: FIe,
+ openFollowAuthor: I5,
+ openFollowTag: IIe,
+ openPlaylist: (e, t) => void l9(e, t, !0),
+ canFlip: () => !Jl && !t9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (kl(), vu({ barsContext: {
type: "home",
filters: W
- } }), W5(), document.body.classList.add("entity-open"), T7(), P5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), T7(), P5()) : (kl(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));
+ } }), G5(), document.body.classList.add("entity-open"), E7(), F5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), G5(), document.body.classList.add("index-open"), E7(), F5()) : (kl(), Q.claimSurface(t), e === "catalog" ? G5() : (W5(), U5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = r9.requestedImmerseId === void 0 ? e : r9.requestedImmerseId;
- r9.requestedImmerseId = void 0, p9(t, !1);
+ let t = i9.requestedImmerseId === void 0 ? e : i9.requestedImmerseId;
+ i9.requestedImmerseId = void 0, m9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -82854,7 +82869,7 @@ function aRe() {
Q.requestedOverlay = null, G.navigation.claimed && (!Ep() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Ep() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
- r9.stageOpen() && o9(!1);
+ i9.stageOpen() && s9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -82862,53 +82877,53 @@ function aRe() {
},
configurable: () => !!su,
surfaceShown: (e) => {
- e === "index" ? (g9(), f7()) : P7();
+ e === "index" ? (_9(), p7()) : F7();
},
entity: {
missing: (e) => {
- N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);
+ N9.shellActions.surfaceChanged("entity", location.pathname), y5(e);
},
loading: (e, t, n) => Y.application.loading(e, t, n),
props: (e, t, n) => Y.application.addressProps(e, t, n),
refresh: (e, t, n) => {
let r = Y.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = s5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (S7(r), C7(s5()), !0);
+ let i = c5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !u5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (C7(r), w7(c5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => g7("local,115"),
- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (y9(), d7(), e7()), t && D8(), e === "/trash" ? X.clearSearchField() : (R("#q").value = W.q, X.rememberSearchValue()), g9(), P7(), Z.handOff(z7())),
- load: () => Z.handOff(z7()),
+ defaultLoc: () => _7("local,115"),
+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (b9(), f7(), t7()), t && O8(), e === "/trash" ? X.clearSearchField() : (R("#q").value = W.q, X.rememberSearchValue()), _9(), F7(), Z.handOff(B7())),
+ load: () => Z.handOff(B7()),
fill: () => {
- if (W7() || !Ep() && !R("#grid").querySelector(".catalog-skeleton")) return;
+ if (G7() || !Ep() && !R("#grid").querySelector(".catalog-skeleton")) return;
let e = R("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), H7(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), U7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- V7(), Q8();
+ H7(), $8();
}
}
}, N9.routing = !1, e.listen(document, "click", (e) => {
- let t = iRe(e);
+ let t = oRe(e);
t && (e.preventDefault(), N9.shellActions.navigate(t));
- }), L8.own(G.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Lf(e.location.pathname) && o9(!1), N9.routing && !e.claimed && y9();
- })), mFe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), YIe(), TIe(), Q5(), Promise.all([
- Z7(),
- qIe(),
- I5.entityShapesReady
+ }), R8.own(G.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Lf(e.location.pathname) && s9(!1), N9.routing && !e.claimed && b9();
+ })), hFe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), XIe(), EIe(), $5(), Promise.all([
+ Q7(),
+ JIe(),
+ L5.entityShapesReady
]).then(() => {
- e.isActive && (I5.wantsDiscoveryBars() && P7().catch((e) => console.error("首页横条装载失败", e)), g9(), TLe(), N9.routing = !0, vu({ pageOpens: 1 }), y9(), f7());
+ e.isActive && (L5.wantsDiscoveryBars() && F7().catch((e) => console.error("首页横条装载失败", e)), _9(), ELe(), N9.routing = !0, vu({ pageOpens: 1 }), b9(), p7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
var P9 = !1;
-async function oRe(e, t) {
+async function cRe(e, t) {
if (P9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -82930,9 +82945,9 @@ async function oRe(e, t) {
}
}
// src/application/chrome.js
-function sRe() {
+function lRe() {
(() => {
- let e = L8, t = [
+ let e = R8, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -82992,7 +83007,7 @@ function sRe() {
e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());
}), Cn("/api/libraries", { signal: e.signal }).then((t) => {
if (!e.isActive) return;
- nK(t.libraries);
+ rK(t.libraries);
let n = [[
"",
"全部媒体库",
@@ -83013,7 +83028,7 @@ function sRe() {
s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${B(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- u.setOpen(!1), J5(!1), C5("媒体库与入库");
+ u.setOpen(!1), Y5(!1), w5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -83030,18 +83045,18 @@ function sRe() {
(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());
let g = document.createElement("div");
g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${z("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${z("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && oRe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), _M();
+ t.getAttribute("aria-pressed") !== "true" && cRe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), vM();
});
- })), _M();
+ })), vM();
let _ = document.createElement("div");
_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());
let v = g.querySelector("#boardGlowBtn"), y = us(g, v, _);
- e.own(y.dispose), e.own(wle(v)), xFe({
+ e.own(y.dispose), e.own(Cle(v)), SFe({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), J5(!1), X5("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), Y5(!1), Z5("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -83053,17 +83068,17 @@ function sRe() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !q5();
+ let r = n.classList.contains("open"), i = !J5();
i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;
}
- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(L8, window)("resize", b);
+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(R8, window)("resize", b);
let x = !1;
function S() {
x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(L8, window)("scroll", () => {
+ if (e.listen.bind(R8, window)("scroll", () => {
x || (x = !0, e.frame(S));
- }, { passive: !0 }), e.listen.bind(L8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(R8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -83177,15 +83192,15 @@ function sRe() {
subtree: !0
}), y();
}
- })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), Y5(!J5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function cRe() {
- YLe(), FLe(), zIe(), ILe(), DLe(), SFe(), vLe(), ZLe(), lIe(), NLe(), EIe(), yLe(), nIe(), gIe(), qLe(), IIe(), uIe(), JLe(), LIe(), dIe(), tLe(), bLe(), nRe(), PLe(), rRe(), OLe(), aRe(), sRe(), L8.own(V7), L8.own(_9);
+function uRe() {
+ XLe(), ILe(), BIe(), LLe(), OLe(), CFe(), yLe(), QLe(), uIe(), PLe(), DIe(), bLe(), rIe(), _Ie(), JLe(), LIe(), dIe(), YLe(), RIe(), fIe(), nLe(), xLe(), iRe(), FLe(), aRe(), kLe(), sRe(), lRe(), R8.own(H7), R8.own(v9);
}
// src/ui-kit/middle-truncate.ts
var F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function lRe(e, t) {
+function dRe(e, t) {
let n = H9(e);
if (!n.length || t(e)) return String(e ?? "");
let r = 0, i = Math.max(0, n.length - 1), a = F9;
@@ -83203,7 +83218,7 @@ var U9 = Object.assign((e, t) => {
Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), uRe = (e) => {
+}, { canvas: null }), fRe = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -83213,17 +83228,17 @@ var U9 = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, dRe = (e) => {
+}, pRe = (e) => {
let t = L9.get(e);
if (!t || !e.isConnected) return;
- let n = uRe(e), r = n > 0 ? lRe(t.full, (t) => U9(e, t) <= n) : t.full;
+ let n = fRe(e), r = n > 0 ? dRe(t.full, (t) => U9(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), e.hasAttribute("title") && e.dataset.middleTitle !== "true" || (e.title = t.full, e.dataset.middleTitle = "true");
}, W9 = (e) => {
let t = L9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, dRe(e);
+ t.raf = 0, pRe(e);
}));
}, G9 = (e) => {
e instanceof HTMLElement && (L9.has(e) || L9.set(e, {
@@ -83236,7 +83251,7 @@ var U9 = Object.assign((e, t) => {
let t = e;
t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);
};
-function fRe(e = document) {
+function mRe(e = document) {
B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();
let t = V9, n = !0;
z9 = new ResizeObserver((e) => e.forEach((e) => {
@@ -83310,7 +83325,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], pRe = {
+], hRe = {
catalog: [
...q9,
...J9,
@@ -83331,10 +83346,10 @@ var q9 = [
"avatar-choices"
]
};
-function mRe() {
+function gRe() {
let e = /* @__PURE__ */ new Set(), t = null;
return (n, r) => {
- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of pRe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of hRe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -83347,12 +83362,12 @@ function mRe() {
})), t || Promise.resolve();
};
}
-function hRe() {
+function _Re() {
let e = Nt({
- queryKey: oL,
- queryFn: ({ signal: e }) => cL(e),
- refetchInterval: (e) => sL(e.state.data)
- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(mRe), r = e.data?.result_versions;
+ queryKey: sL,
+ queryFn: ({ signal: e }) => lL(e),
+ refetchInterval: (e) => cL(e.state.data)
+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(gRe), r = e.data?.result_versions;
return (0, F.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -83362,52 +83377,52 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function gRe() {
+function vRe() {
if (!X9) {
- let e = RFe();
+ let e = zFe();
X9 = {
effects: e,
owners: 0
- }, e.own(fRe(document)), e.own(() => {
+ }, e.own(mRe(document)), e.own(() => {
kl(), U.cancelQueries();
- }), e.own(hFe), e.own(hp), e.own(is);
+ }), e.own(gFe), e.own(hp), e.own(is);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function _Re() {
+function yRe() {
let [e, t] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
- let e = X9 === null, n = gRe(), r = pFe(t);
+ let e = X9 === null, n = vRe(), r = mFe(t);
if (e) try {
- cRe();
+ uRe();
} catch (e) {
throw r(), n.effects.dispose(), X9 = null, e;
}
return () => {
r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));
};
- }, []), /* @__PURE__ */ (0, I.jsx)(uG, {
+ }, []), /* @__PURE__ */ (0, I.jsx)(Yve, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, I.jsx)(hRe, {}) : null
+ background: e ? /* @__PURE__ */ (0, I.jsx)(_Re, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function vRe(e) {
+function bRe(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, Lt.createRoot)(e, Yve);
+ let n = (0, Lt.createRoot)(e, Xve);
Q9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));
- }, (0, It.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(_Re, {}))), n;
+ }, (0, It.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(yRe, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-vRe($9);
-export { nR as $2ec61d1d4f780267$export$a8a3e93435678ff9, uR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Dz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, MD as $72abaeab4d80592f$export$78efe591171d7d45, yB as $76d00c5a4edb230a$export$76ccd210b9029917, gB as $76d00c5a4edb230a$export$816b5d811295e6bc, SB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, wB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, hB as $76d00c5a4edb230a$export$f850895b287ef28e, uhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, lhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ohe as $b4f18e3395fe64d7$export$b2539bed5023c21c, OB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, phe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, yE as $ea3928288112382f$export$439d29a4e110a164, Bz as $f2ff30fde7b014be$export$3ddf2d174ce01153, qz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Jz as $fe21c36db05242bb$export$d7b12c4107be0d61, Ghe as $l, tM as ACCENTS, fke as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, pke as AMANE_BRIDGE_REBUILD_URL, ar as ApiError, oW as ArtSlot, h2 as BATCH_DELETE_TEXT, J as Button, PL as ButtonLink, iV as Bx, O$ as CLEANUP_ENTRY, D$ as CLEANUP_ENTRY_GRID, Jf as CLEANUP_HASH_REDIRECTS, Kf as CLEANUP_TOOLS, gn as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Wr as COLUMN_SORT, l1 as CONFIGURATION_KEY, uX as CONFIGURATION_URL, mke as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, qi as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, XV as Checkbox, YV as CheckboxGlyph, BV as ChevronSortDown, aW as Chip, mW as CloudDownloadDialog, GH as CollapseChevron, WH as CollapseRegion, x$ as CollectionSummary, KCe as DEFAULT_CATEGORY, lr as DEFAULT_SORT, JQ as DIAGNOSTICS_KEY, Gwe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, cW as DOWNLOADS_KEY, sW as DOWNLOADS_URL, AY as DUPLICATES_KEY, dY as DataTableFooter, sY as DataTableFrame, uY as DataTableSort, hU as Disclosure, Lve as DownloadsPanel, Rhe as E3, qCe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, Jhe as Ea, hge as EmptyFocusButton, SV as EmptyState, pU as ErrorText, X_e as ExternalLink, zr as FEEDS_KEY, vX as FEED_SCHEDULE_KEY, T$ as FIELDSET_FOOT, yPe as FLOW_LABEL_X, Y3 as FLOW_VIEWBOX, Lr as FOLLOW_CHECK_KEY, Ir as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, Fr as FOLLOW_MANAGE_KEY, QZ as FOLLOW_MANAGE_NAV, Rr as FOLLOW_RESOLVE_KEY, _X as FOLLOW_SCHEDULE_KEY, $_e as Fact, Q_e as FactList, mU as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, spe as FilterGlass, DL as FilterGlassRows, EL as FilterIconButton, OL as FilterPill, Y_e as Footer, tV as Gg, kL as GlassPill, cV as HN, fU as Help, pV as HintText, dPe as IDLE_POLL_MS, FCe as IDLE_REPAIR, SL as IconButton, XQ as IndexSearch, vV as Input, _V as InputBase, yM as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, UX as JUNK_KEY, jW as JavHeader, kCe as KEEP_LABELS, Vr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, lH as LIBRARY_PROCESSING_KEY, nX as LINKS_KEY, rX as LINK_CHECK_KEY, _we as LINK_KINDS, iX as LINK_PRUNE_KEY, er as LOC, fV as Label, V$ as LibraryProcessingCard, zV as LibraryShortcuts, TH as LinkButton, zH as LoadingDots, zhe as M6, Swe as MEDIA_PROCESSING_KEY, bX as MEDIA_PROCESSING_URL, FY as MEDIA_REPAIR_KEY, PY as MEDIA_REPAIR_URL, _r as MEDIA_SOURCES_KEY, hs as MEDIA_SOURCE_ICONS, mn as MEDIA_SOURCE_OPTIONS, WV as MENU_ITEM, GV as MENU_ITEM_INTERACTIVE, UV as MENU_POPOVER_SURFACE, kH as MenuDialog, EK as MixCard, yV as ModalFrame, Cx as MotionConfigContext, dV as NR, xV as Note, uge as OA, CX as ORGANIZE_KEY, f2 as ORGANIZE_PARAMETER_HINT, d2 as ORGANIZE_SCOPE_HINT, u2 as ORGANIZE_TEXT, EX as ORPHAN_RECORDS_KEY, m2 as ORPHAN_RECORDS_TEXT, $B as OV, zB as P7, BX as PERFORMER_DELETE_KEY, Kve as PHASES, dX as PICK_FOLDER_URL, A$ as PLAIN_STAT_STRIP, U$ as PLAYLISTS_KEY, gAe as POLICY_COLUMNS, vAe as POLICY_COVER_NOTE, _Ae as POLICY_MATRIX, q1 as POLICY_SUMMARY, lY as Pagination, B$ as PathLine, ZI as PillTabList, POe as PlainStat, VH as Progress, BY as QUALITY_GOALS_KEY, M$ as REPAIR_CARD_TEXT, IY as REPAIR_LIBRARIES_KEY, jX as RESOURCE_APPLY_KEY, AX as RESOURCE_SCAN_KEY, p2 as RESOURCE_SYNC_TEXT, BOe as RESULT_PANEL, VOe as RESULT_SECTION, GCe as REVIEW_CATEGORIES, HX as REVIEW_COUNTS_KEY, JCe as REVIEW_DECISION_LABELS, UY as REVIEW_KEY, WY as REVIEW_LABELS, KY as REVIEW_QUEUES, qY as REVIEW_QUEUE_LABELS, ZG as RetryNote, cge as Rf, K_e as Rows, uke as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, lke as SCRAPING_SETTINGS_URL, FU as SEGMENT, PU as SEGMENTED_TRACK, gX as SETTINGS_KEY, fX as SETTINGS_URL, ur as SORT_DEFAULT_DIR, cr as SORT_OPTIONS, _n as SOURCE_LABELS, b3 as STATS_KEY, MOe as STAT_STRIP, NOe as STAT_STRIP_SIX, G_e as Section, HOe as SectionHeading, J_e as SectionSkeleton, NU as SegmentedRadioGroup, mve as SegmentedTabList, WG as Segments, cY as Select, nW as Select$1, p1 as SelectField, rW as SelectItem, vY as SelectionActions, Mj as SelectionDock, yY as SelectionPopover, KH as SettingsCard, M_e as SettingsRow, qH as SettingsSectionLabel, rve as SiteLabel, CG as SortDirectionIcon, KG as SortKeys, jQ as SourceAvatar, yU as SourceLabel, gU as SourceMark, q_e as Stack, FOe as StatCard, z$ as StatusLabel, Q2 as Switch, oL as TASKS_KEY, ePe as TASTE_REFRESH_KEY, tPe as TASTE_WINDOWS, yX as THUMBNAIL_JOBS_KEY, GX as TRASH_KEY, Vfe as TRIGGER_LABELS, QJ as Table, bY as TableColumnControls, xY as TableColumnResizer, CY as TableSelectionHeader, g$ as TagManager, Z_e as TaskCenterLink, HH as TaskProgress, hV as TextField, mV as TextFieldContext, ZB as Un, gW as WANTS_KEY, p4 as WantMagnets, Ug as WithPromise, UB as Wt, XB as Xc, uV as Xf, WB as Xt, VB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, sge as aB, wi as addAlias, Ci as addSource, vW as addWant, fS as animate, V as apiGet, H as apiSend, pM as appSettingsStore, uTe as applyConfirmText, zX as applyLeftovers, lTe as applyPlanText, fTe as applyText, _M as applyTheme, gy as asNumber, Qwe as attachOrphan, oi as authorAvatar, ci as authorGroups, ai as authorInitial, ii as authorName, Bq as autoResetPageIndex, ho as avatarInner, E3 as bandRows, Kwe as baseName, PCe as batchOperate, uue as beginPlayerGuidePreview, Lj as boundedPreference, jCe as bulkCloudPreferences, EV as busyProps, oge as cB, AMe as cachedMagnetStates, Lg as calcGeneratorVelocity, twe as canApprove, fg as cancelFrame, rTe as candidateText, RH as cardClass, MM as cardRatio, YB as cc, Ui as checkEvidenceGap, Hi as checkFailures, Ni as checkFeeds, xwe as checkLine, Bi as checkReceipt, Vi as checkSummary, gke as checkText, Wi as checkedText, fK as clickedBlank, Y5 as closeDrawerAfterNav, CCe as cloudLocations, O0 as cloudProxySkeleton, QC as clsx, Zhe as cn, av as collectMotionValues, oJ as columnVisibilityFeature, qJ as column_getCanSort, UJ as column_getSortFn, $Ce as commonReviewSources, Df as configurationSection, aPe as configureTasteBrowser, al as confirmModal, zfe as controlTask, Sq as copyInstancePropertiesWithoutMemos, so as coverUrl, Zq as createColumnHelper, rke as createPlaylist, Ji as credentialDone, w0 as credentialsSkeleton, uwe as currentReviewRow, JI as cx, rV as dZ, swe as decisionPayload, cwe as decisionReceipt, owe as defaultChoice, mTe as deletePerformerVideos, ake as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, EW as discoveryArtwork, wW as discoveryKey, HAe as discoveryScore, o9 as disposeStage, DCe as distinctName, Ri as dropSources, age as du, MCe as duplicateVictims, pL as elapsedText, en as entityDisplayName, mo as entityFaceImg, Mn as entityPath, $r as errorHeadline, sr as errorMessage, B as esc, zq as expandRowModel, NB as f1, Qr as feedIntervalText, e1 as fetchAmaneBridge, gi as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, hi as fetchCredentials, q$ as fetchCustomSources, VX as fetchDeletePerformers, pTe as fetchDeletePlan, YQ as fetchDiagnostics, TW as fetchDiscoveries, MY as fetchDuplicates, Ffe as fetchEarlier, Twe as fetchFeedSchedule, Ai as fetchFeeds, mi as fetchFollow, wwe as fetchFollowSchedule, qX as fetchJunkSummary, _H as fetchLibraryProcessing, sX as fetchLinkCheck, cX as fetchLinkPrune, oX as fetchLinkStats, Cwe as fetchMediaProcessing, LY as fetchMediaRepair, vr as fetchMediaSources, wX as fetchOrganize, Rwe as fetchOrganizeExample, DX as fetchOrphanRecords, ki as fetchPending, W$ as fetchPlaylists, VY as fetchQualityGoals, RY as fetchRepairLibraries, _i as fetchResolveJob, NX as fetchResourceApply, MX as fetchResourceScan, $Y as fetchReview, KX as fetchReviewCounts, xX as fetchSettings, Q$ as fetchSources, x3 as fetchStats, vi as fetchSuggestions, cL as fetchTasks, K3 as fetchTaste, oPe as fetchTasteJob, Ewe as fetchThumbnailJobs, JX as fetchTrashSummary, _W as fetchWants, ZCe as filterReviewRows, Qn as firstGrapheme, iq as flexRender, xPe as flowGraph, SPe as flowLabel, bNe as fmtCount, Kn as fmtDur, Jn as fmtSize, Pfe as foldByKind, Xfe as foldRoutine, Fi as followFeedByName, Br as followSuggestKey, Qfe as followupDetail, Nfe as followupTally, dg as frame, LB as g4, lJ as getDefaultPaginationState, jM as gridLayout, si as groupByAuthor, Yfe as groupFollowups, XY as groupReviewRows, sTe as hasChanges, PX as hasResourceRoots, uL as hasResultProblems, fPe as historySpan, PB as i2, uPe as importTasteExport, T0 as indexersSkeleton, Ng as interpolate, xW as invalidateWants, fL as isActive, Zr as isBroken, Gr as isLayout, gv as isMotionValue, GY as isReviewCategory, Zfe as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, wM as javLayout, F0 as javTagSkeleton, yTe as junkBreakdown, oke as keepPlaylist, Oe as keepPreviousData, di as keepSelected, S3 as known, Phe as l7, Jfe as latestOfKind, MNe as lengthRows, xr as localTime, Pi as lookupFeedActor, RB as m7, nV as mM, Tn as mapLimit, Oi as markItem, D3 as max, ANe as mediumRows, Ife as mergeFinished, O3 as min, hwe as mirrorText, RCe as missingToolText, NY as mixedCloudPreferences, _L as momentText, pS as motion, sv as motionValue, tn as nameFallback, Ve as notifyManager, Jwe as organizeOutcome, Q0 as overlayHost, Kr as pageSizeOf, ui as pageWindow, pr as paginationRange, Li as patchSource, G as peachHistory, G as peachHistory$1, awe as pendingGenres, SNe as percentText, Vwe as pickOrganizeFolder, k$ as plainStatClass, qwe as planSummary, C3 as playedFor, wNe as playedItemUrl, sL as pollInterval, qs as popCount, nke as posterUrl, zye as previewLibraryColor, Bwe as previewOrganize, VCe as previewUrl, qfe as problemDestination, fH as processingActive, mL as progressText, vU as providerIcon, bwe as pruneText, IX as purgeCount, $we as purgeOrphan, aV as pv, ige as qE, U as queryClient, FB as r2, vPe as radarRows, DNe as radialArc, ONe as radialBarSize, ENe as radialCeiling, TNe as radialSlices, qN as randomId, gPe as rankDetail, _Pe as rankShares, T3 as reachedShare, hL as readableErrorHeadline, UAe as recommendationScore, dwe as recordGenre, tTe as recordsText, ske as recreatePlaylist, eke as refreshPlaylists, Sl as relayoutCovers, zi as reloadFollowManage, mwe as reloadReview, xAe as rememberShape, Uwe as rememberTemplates, Ti as removeAlias, Mi as removeFeed, Si as removeSource, lPe as removeTasteSource, yW as removeWants, Ei as renameAliasGroup, ike as renamePlaylist, xe as replaceEqualDeep, PNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, vq as require_with_selector, bW as resetWants, fr as resolveFollowSort, Bg as resolveStartTime, s_e as restartEffectText, tke as resumeAssetId, XCe as reviewGroupingOptions, YY as reviewQueueData, JY as reviewQueueOf, vTe as reviewSummary, QCe as reviewWindow, rwe as rowEvidence, QY as rowFieldName, gJ as rowPaginationFeature, LJ as rowSelectionFeature, XJ as rowSortingFeature, ZY as rowSubject, iwe as rowTags, nwe as rowTitle, jhe as s5, Di as saveCredential, cTe as scanLine, jwe as schedulePollInterval, CW as searchNote, ewe as selectReviewRange, fi as selectionState, ji as setFeedEnabled, xi as setSourceEnabled, jf as settingsPath, pwe as settleReviewRows, ECe as sharedNamePrefix, Tp as shellNavigate, b8 as showToast, Rn as siteMarkUrl, Aq as skipFirstRun, YI as sortCx, Jr as sortLabel, vn as sourceDefaultCost, Ki as sourceIconUrl, dTe as sourceMeta, Rs as spinnerHtml, jg as spring, wV as spriteGlyph, yi as startCheck, vwe as startLinkCheck, ywe as startLinkPrune, Hwe as startOrganize, bi as startResolve, aTe as startResourceApply, iTe as startResourceScan, cPe as startTasteRefresh, jOe as statCardClass, Ufe as statusLabel, LCe as statusLine, Xr as statusText, NM as storeJavLayout, lwe as submitDecision, vL as summaryItems, Qq as tableFeatures, jq as tableMemo, li as tableRows, Kfe as taskIssues, q3 as tasteDate, mPe as tasteDimensions, pPe as tasteHours, G3 as tasteKey, rPe as tasteRefetchInterval, iPe as tasteTime, tL as textLang, Qm as time, Whe as tl, pi as toggleGroup, J3 as topScores, qhe as uo, EH as useAction, qZ as useBackgroundJob, JU as useClientUpdates, um as useConstant, yL as useEntityNames, TL as useHorizontalScroller, dm as useIsomorphicLayoutEffect, dK as useLibraryTints, Pt as useMutation, ZV as useOverlayScrollbar, Nt as useQuery, ae as useQueryClient, tS as useReducedMotion, Awe as useRunSchedule, Owe as useSaveFollowSchedule, SX as useSaveSettings, Mwe as useSaveThumbnailMode, ZJ as useTable, mY as useTablePreferences, ML as useViewGlide, NCe as victimBytes, SW as wantName, CNe as watchNote, w3 as watchedShare, Ec as wireHorizontalScroller, Wwe as withOrganizeJob };
+bRe($9);
+export { rR as $2ec61d1d4f780267$export$a8a3e93435678ff9, dR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Oz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, MD as $72abaeab4d80592f$export$78efe591171d7d45, bB as $76d00c5a4edb230a$export$76ccd210b9029917, _B as $76d00c5a4edb230a$export$816b5d811295e6bc, CB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, TB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, gB as $76d00c5a4edb230a$export$f850895b287ef28e, uhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, lhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ohe as $b4f18e3395fe64d7$export$b2539bed5023c21c, kB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, phe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, yE as $ea3928288112382f$export$439d29a4e110a164, Vz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Jz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Yz as $fe21c36db05242bb$export$d7b12c4107be0d61, Ghe as $l, nM as ACCENTS, pke as AMANE_BRIDGE_CHECK_URL, Q$ as AMANE_BRIDGE_KEY, mke as AMANE_BRIDGE_REBUILD_URL, ar as ApiError, sW as ArtSlot, g2 as BATCH_DELETE_TEXT, pge as BP, J as Button, FL as ButtonLink, aV as Bx, k$ as CLEANUP_ENTRY, O$ as CLEANUP_ENTRY_GRID, Jf as CLEANUP_HASH_REDIRECTS, Kf as CLEANUP_TOOLS, gn as CLOUD_LOCATIONS, Q1 as CLOUD_PROXY_HELP, Wr as COLUMN_SORT, u1 as CONFIGURATION_KEY, dX as CONFIGURATION_URL, hke as COOKIE_TEXT_LIMIT, Z$ as COVER_JOB_KEY, qi as CREDENTIAL_STATE, q$ as CUSTOM_SOURCES_KEY, K$ as CUSTOM_SOURCES_URL, ZV as Checkbox, XV as CheckboxGlyph, VV as ChevronSortDown, oW as Chip, hW as CloudDownloadDialog, KH as CollapseChevron, GH as CollapseRegion, S$ as CollectionSummary, qCe as DEFAULT_CATEGORY, lr as DEFAULT_SORT, YQ as DIAGNOSTICS_KEY, Kwe as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, lW as DOWNLOADS_KEY, cW as DOWNLOADS_URL, jY as DUPLICATES_KEY, fY as DataTableFooter, cY as DataTableFrame, dY as DataTableSort, gU as Disclosure, Rve as DownloadsPanel, Rhe as E3, JCe as ENTITY_REVIEW_KINDS, X1 as ENTRY_LINKS_HELP, Z1 as ENTRY_LINKS_HINT, Jhe as Ea, gge as EmptyFocusButton, CV as EmptyState, mU as ErrorText, Z_e as ExternalLink, zr as FEEDS_KEY, yX as FEED_SCHEDULE_KEY, E$ as FIELDSET_FOOT, bPe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, Lr as FOLLOW_CHECK_KEY, Ir as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Fr as FOLLOW_MANAGE_KEY, $Z as FOLLOW_MANAGE_NAV, Rr as FOLLOW_RESOLVE_KEY, vX as FOLLOW_SCHEDULE_KEY, eve as Fact, $_e as FactList, hU as FieldLabel, z$ as Fieldset, R$ as FieldsetTitle, spe as FilterGlass, OL as FilterGlassRows, DL as FilterIconButton, kL as FilterPill, X_e as Footer, nV as Gg, AL as GlassPill, lV as HN, pU as Help, mV as HintText, fPe as IDLE_POLL_MS, ICe as IDLE_REPAIR, CL as IconButton, ZQ as IndexSearch, yV as Input, vV as InputBase, bM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, WX as JUNK_KEY, PW as JavHeader, ACe as KEEP_LABELS, Vr as LAYOUTS, Y1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, rX as LINKS_KEY, iX as LINK_CHECK_KEY, vwe as LINK_KINDS, aX as LINK_PRUNE_KEY, er as LOC, pV as Label, H$ as LibraryProcessingCard, BV as LibraryShortcuts, EH as LinkButton, BH as LoadingDots, zhe as M6, Cwe as MEDIA_PROCESSING_KEY, xX as MEDIA_PROCESSING_URL, IY as MEDIA_REPAIR_KEY, FY as MEDIA_REPAIR_URL, _r as MEDIA_SOURCES_KEY, hs as MEDIA_SOURCE_ICONS, mn as MEDIA_SOURCE_OPTIONS, GV as MENU_ITEM, KV as MENU_ITEM_INTERACTIVE, WV as MENU_POPOVER_SURFACE, AH as MenuDialog, DK as MixCard, bV as ModalFrame, Cx as MotionConfigContext, fV as NR, SV as Note, uge as OA, wX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, DX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, eV as OV, BB as P7, VX as PERFORMER_DELETE_KEY, qve as PHASES, fX as PICK_FOLDER_URL, j$ as PLAIN_STAT_STRIP, W$ as PLAYLISTS_KEY, _Ae as POLICY_COLUMNS, yAe as POLICY_COVER_NOTE, vAe as POLICY_MATRIX, J1 as POLICY_SUMMARY, uY as Pagination, V$ as PathLine, QI as PillTabList, FOe as PlainStat, HH as Progress, VY as QUALITY_GOALS_KEY, N$ as REPAIR_CARD_TEXT, LY as REPAIR_LIBRARIES_KEY, MX as RESOURCE_APPLY_KEY, jX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, VOe as RESULT_PANEL, HOe as RESULT_SECTION, KCe as REVIEW_CATEGORIES, UX as REVIEW_COUNTS_KEY, YCe as REVIEW_DECISION_LABELS, WY as REVIEW_KEY, GY as REVIEW_LABELS, qY as REVIEW_QUEUES, JY as REVIEW_QUEUE_LABELS, QG as RetryNote, cge as Rf, q_e as Rows, dke as SCRAPING_CHECK_URL, Y$ as SCRAPING_COVER_URL, X$ as SCRAPING_KEY, uke as SCRAPING_SETTINGS_URL, IU as SEGMENT, FU as SEGMENTED_TRACK, _X as SETTINGS_KEY, pX as SETTINGS_URL, ur as SORT_DEFAULT_DIR, cr as SORT_OPTIONS, _n as SOURCE_LABELS, x3 as STATS_KEY, NOe as STAT_STRIP, POe as STAT_STRIP_SIX, K_e as Section, UOe as SectionHeading, Y_e as SectionSkeleton, PU as SegmentedRadioGroup, hve as SegmentedTabList, GG as Segments, lY as Select, rW as Select$1, m1 as SelectField, iW as SelectItem, yY as SelectionActions, Nj as SelectionDock, bY as SelectionPopover, qH as SettingsCard, N_e as SettingsRow, JH as SettingsSectionLabel, ive as SiteLabel, wG as SortDirectionIcon, qG as SortKeys, MQ as SourceAvatar, bU as SourceLabel, _U as SourceMark, J_e as Stack, IOe as StatCard, B$ as StatusLabel, $2 as Switch, sL as TASKS_KEY, tPe as TASTE_REFRESH_KEY, nPe as TASTE_WINDOWS, bX as THUMBNAIL_JOBS_KEY, KX as TRASH_KEY, Bfe as TRIGGER_LABELS, $J as Table, xY as TableColumnControls, SY as TableColumnResizer, wY as TableSelectionHeader, _$ as TagManager, Q_e as TaskCenterLink, UH as TaskProgress, gV as TextField, hV as TextFieldContext, QB as Un, _W as WANTS_KEY, m4 as WantMagnets, Ug as WithPromise, WB as Wt, ZB as Xc, dV as Xf, GB as Xt, HB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, sge as aB, wi as addAlias, Ci as addSource, xW as addWant, fS as animate, V as apiGet, H as apiSend, mM as appSettingsStore, dTe as applyConfirmText, BX as applyLeftovers, uTe as applyPlanText, pTe as applyText, vM as applyTheme, gy as asNumber, $we as attachOrphan, oi as authorAvatar, ci as authorGroups, ai as authorInitial, ii as authorName, Vq as autoResetPageIndex, ho as avatarInner, D3 as bandRows, qwe as baseName, FCe as batchOperate, lue as beginPlayerGuidePreview, Rj as boundedPreference, MCe as bulkCloudPreferences, DV as busyProps, oge as cB, jMe as cachedMagnetStates, Lg as calcGeneratorVelocity, nwe as canApprove, fg as cancelFrame, iTe as candidateText, zH as cardClass, NM as cardRatio, XB as cc, Ui as checkEvidenceGap, Hi as checkFailures, Ni as checkFeeds, Swe as checkLine, Bi as checkReceipt, Vi as checkSummary, _ke as checkText, Wi as checkedText, pK as clickedBlank, X5 as closeDrawerAfterNav, wCe as cloudLocations, k0 as cloudProxySkeleton, QC as clsx, Zhe as cn, av as collectMotionValues, sJ as columnVisibilityFeature, JJ as column_getCanSort, WJ as column_getSortFn, ewe as commonReviewSources, Df as configurationSection, oPe as configureTasteBrowser, al as confirmModal, Rfe as controlTask, Cq as copyInstancePropertiesWithoutMemos, so as coverUrl, Qq as createColumnHelper, ike as createPlaylist, Ji as credentialDone, T0 as credentialsSkeleton, dwe as currentReviewRow, YI as cx, iV as dZ, cwe as decisionPayload, lwe as decisionReceipt, swe as defaultChoice, hTe as deletePerformerVideos, oke as deletePlaylist, x as diagnosticHeaders, q1 as diagnosticsSkeleton, kW as discoveryArtwork, DW as discoveryKey, UAe as discoveryScore, s9 as disposeStage, OCe as distinctName, Ri as dropSources, age as du, NCe as duplicateVictims, mL as elapsedText, en as entityDisplayName, mo as entityFaceImg, Mn as entityPath, $r as errorHeadline, sr as errorMessage, B as esc, Bq as expandRowModel, PB as f1, Qr as feedIntervalText, t1 as fetchAmaneBridge, gi as fetchCheckJob, d1 as fetchConfiguration, e1 as fetchCoverJob, hi as fetchCredentials, J$ as fetchCustomSources, HX as fetchDeletePerformers, mTe as fetchDeletePlan, XQ as fetchDiagnostics, OW as fetchDiscoveries, NY as fetchDuplicates, Pfe as fetchEarlier, Ewe as fetchFeedSchedule, Ai as fetchFeeds, mi as fetchFollow, Twe as fetchFollowSchedule, JX as fetchJunkSummary, vH as fetchLibraryProcessing, cX as fetchLinkCheck, lX as fetchLinkPrune, sX as fetchLinkStats, wwe as fetchMediaProcessing, RY as fetchMediaRepair, vr as fetchMediaSources, TX as fetchOrganize, zwe as fetchOrganizeExample, OX as fetchOrphanRecords, ki as fetchPending, G$ as fetchPlaylists, HY as fetchQualityGoals, zY as fetchRepairLibraries, _i as fetchResolveJob, PX as fetchResourceApply, NX as fetchResourceScan, eX as fetchReview, qX as fetchReviewCounts, SX as fetchSettings, $$ as fetchSources, S3 as fetchStats, vi as fetchSuggestions, lL as fetchTasks, q3 as fetchTaste, sPe as fetchTasteJob, Dwe as fetchThumbnailJobs, YX as fetchTrashSummary, vW as fetchWants, QCe as filterReviewRows, Qn as firstGrapheme, aq as flexRender, SPe as flowGraph, CPe as flowLabel, xNe as fmtCount, Kn as fmtDur, Jn as fmtSize, Nfe as foldByKind, Xfe as foldRoutine, Fi as followFeedByName, Br as followSuggestKey, Qfe as followupDetail, Mfe as followupTally, dg as frame, RB as g4, uJ as getDefaultPaginationState, MM as gridLayout, si as groupByAuthor, Yfe as groupFollowups, ZY as groupReviewRows, cTe as hasChanges, FX as hasResourceRoots, dL as hasResultProblems, pPe as historySpan, FB as i2, dPe as importTasteExport, E0 as indexersSkeleton, Ng as interpolate, wW as invalidateWants, pL as isActive, Zr as isBroken, Gr as isLayout, gv as isMotionValue, KY as isReviewCategory, Zfe as isRoutine, D0 as javBrowserSkeleton, L0 as javContentSkeleton, TM as javLayout, I0 as javTagSkeleton, bTe as junkBreakdown, ske as keepPlaylist, Oe as keepPreviousData, di as keepSelected, C3 as known, Phe as l7, Jfe as latestOfKind, NNe as lengthRows, xr as localTime, Pi as lookupFeedActor, zB as m7, rV as mM, Tn as mapLimit, Oi as markItem, O3 as max, jNe as mediumRows, Ffe as mergeFinished, k3 as min, gwe as mirrorText, zCe as missingToolText, PY as mixedCloudPreferences, vL as momentText, pS as motion, sv as motionValue, tn as nameFallback, Ve as notifyManager, Ywe as organizeOutcome, $0 as overlayHost, Kr as pageSizeOf, ui as pageWindow, pr as paginationRange, Li as patchSource, G as peachHistory, G as peachHistory$1, owe as pendingGenres, CNe as percentText, Hwe as pickOrganizeFolder, A$ as plainStatClass, Jwe as planSummary, w3 as playedFor, TNe as playedItemUrl, cL as pollInterval, qs as popCount, rke as posterUrl, Bye as previewLibraryColor, Vwe as previewOrganize, HCe as previewUrl, Kfe as problemDestination, pH as processingActive, hL as progressText, yU as providerIcon, xwe as pruneText, LX as purgeCount, eTe as purgeOrphan, oV as pv, ige as qE, U as queryClient, IB as r2, yPe as radarRows, ONe as radialArc, kNe as radialBarSize, DNe as radialCeiling, ENe as radialSlices, JN as randomId, _Pe as rankDetail, vPe as rankShares, E3 as reachedShare, gL as readableErrorHeadline, WAe as recommendationScore, fwe as recordGenre, nTe as recordsText, cke as recreatePlaylist, tke as refreshPlaylists, Sl as relayoutCovers, zi as reloadFollowManage, hwe as reloadReview, SAe as rememberShape, Wwe as rememberTemplates, Ti as removeAlias, Mi as removeFeed, Si as removeSource, uPe as removeTasteSource, SW as removeWants, Ei as renameAliasGroup, ake as renamePlaylist, xe as replaceEqualDeep, FNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, yq as require_with_selector, CW as resetWants, fr as resolveFollowSort, Bg as resolveStartTime, c_e as restartEffectText, nke as resumeAssetId, ZCe as reviewGroupingOptions, XY as reviewQueueData, YY as reviewQueueOf, yTe as reviewSummary, $Ce as reviewWindow, iwe as rowEvidence, $Y as rowFieldName, _J as rowPaginationFeature, RJ as rowSelectionFeature, ZJ as rowSortingFeature, QY as rowSubject, awe as rowTags, rwe as rowTitle, jhe as s5, Di as saveCredential, lTe as scanLine, Mwe as schedulePollInterval, EW as searchNote, twe as selectReviewRange, fi as selectionState, ji as setFeedEnabled, xi as setSourceEnabled, jf as settingsPath, mwe as settleReviewRows, DCe as sharedNamePrefix, Tp as shellNavigate, x8 as showToast, Rn as siteMarkUrl, jq as skipFirstRun, XI as sortCx, Jr as sortLabel, vn as sourceDefaultCost, Ki as sourceIconUrl, fTe as sourceMeta, Rs as spinnerHtml, jg as spring, TV as spriteGlyph, yi as startCheck, ywe as startLinkCheck, bwe as startLinkPrune, Uwe as startOrganize, bi as startResolve, oTe as startResourceApply, aTe as startResourceScan, lPe as startTasteRefresh, MOe as statCardClass, Hfe as statusLabel, RCe as statusLine, Xr as statusText, PM as storeJavLayout, uwe as submitDecision, yL as summaryItems, $q as tableFeatures, Mq as tableMemo, li as tableRows, Gfe as taskIssues, qfe as taskSubject, J3 as tasteDate, hPe as tasteDimensions, mPe as tasteHours, K3 as tasteKey, iPe as tasteRefetchInterval, aPe as tasteTime, nL as textLang, Qm as time, Whe as tl, pi as toggleGroup, Y3 as topScores, qhe as uo, DH as useAction, JZ as useBackgroundJob, YU as useClientUpdates, um as useConstant, bL as useEntityNames, EL as useHorizontalScroller, dm as useIsomorphicLayoutEffect, fK as useLibraryTints, Pt as useMutation, QV as useOverlayScrollbar, Nt as useQuery, ae as useQueryClient, tS as useReducedMotion, jwe as useRunSchedule, kwe as useSaveFollowSchedule, CX as useSaveSettings, Nwe as useSaveThumbnailMode, QJ as useTable, hY as useTablePreferences, NL as useViewGlide, PCe as victimBytes, TW as wantName, wNe as watchNote, T3 as watchedShare, Ec as wireHorizontalScroller, Gwe as withOrganizeJob };
-//# debugId=e1e5ca06-c7e8-4b73-a2c9-a2c7a50b358b
\ No newline at end of file
+//# debugId=7d16e985-2538-4838-8fe4-faf998916b1e
\ No newline at end of file