Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(tasks): 补全任务终止、新入库范围与问题清单

longmeidao3afa59029dde
diff --git a/README.en.md b/README.en.md
index 86c16078e..5dd96cfd8 100644
--- a/README.en.md
+++ b/README.en.md
@@ -51,7 +51,7 @@ Watch history, favorites and settings stay on your computer. Scanning leaves ori
Scanning, cloud downloads and media processing share junk checks. Attachments with sufficient evidence go to the recoverable trash; uncertain items await review. You can restore an item and mark it as “not junk”. See [junk files](docs/OPERATIONS.md#垃圾文件) for processing order and protections.
-Scanning, follow updates and new-release metadata collection save their progress and continue unfinished items after the app restarts. When metadata or cover requests take too long, skip the current work, keep completed results, and retry unfinished items afterward. See [task recovery](docs/OPERATIONS.md#长时任务断点续跑) for recovery boundaries.
+Scanning, follow updates and new-release metadata collection save their progress and continue unfinished items after the app restarts. When metadata or cover requests take too long, skip the current work or stop the entire scan and collection task. Completed results are kept, and stopped tasks do not resume automatically. The management page can process only newly added videos, export the complete issue list, or archive notices from finished tasks while keeping their history. See [task recovery](docs/OPERATIONS.md#长时任务断点续跑) for recovery boundaries.
Upgrades automatically process existing metadata and caches while preserving manual edits. Normal use requires no migration scripts. The app and independently installed userscript offer update notices; page refreshes remain your choice. See [automatic upgrade processing](docs/OPERATIONS.md#升级后的自动处理) for scope and recovery.
diff --git a/README.md b/README.md
index 832a3b35d..873e9ea76 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@
扫描、云下载和媒体处理共用垃圾检查:证据充分的附件自动进回收站,疑似项留待复核;可还原,也可标记「不是垃圾」。处理顺序和保护条件见[垃圾文件](docs/OPERATIONS.md#垃圾文件)。
-扫描、关注更新和新作资料采集会保存进度,应用重启后继续处理未完成的项目。外部资料或封面等待较久时,可跳过当前影片,已有结果保留,未完成项可在任务结束后重试。恢复范围见[断点续跑](docs/OPERATIONS.md#长时任务断点续跑)。
+扫描、关注更新和新作资料采集会保存进度,应用重启后继续处理未完成的项目。外部资料或封面等待较久时,可跳过当前影片;也可停止整趟扫描与采集,保留已取得的结果,停止后不会自动恢复。管理页可单独处理新入库影片、导出完整问题清单或归档已结束任务的提示,历史记录仍保留。恢复范围见[断点续跑](docs/OPERATIONS.md#长时任务断点续跑)。
升级后自动处理已有资料与缓存,保留人工修改;正常使用无需手动运行迁移脚本。应用和独立用户脚本分别提示更新,页面需要刷新时由你选择。适用范围与异常处理见[升级后的自动处理](docs/OPERATIONS.md#升级后的自动处理)。
diff --git a/docs/BOARD_UI.md b/docs/BOARD_UI.md
index d92dfaafb..3190276b1 100644
--- a/docs/BOARD_UI.md
+++ b/docs/BOARD_UI.md
@@ -86,6 +86,8 @@ Tree View 直接使用上游的目录图标、层级线、32px 紧凑行、键
扫描与采集复用 Split Button 外观和共享菜单定位。`ProcessingActions` 的扫描入口默认「扫描并补全资料」,菜单包括同名主动作、补全资料与预览、只扫描、只生成本地预览、只采集在线资料;缺图入口默认「补全资料与预览」,下拉提供两种分项。图标使用现有 Remix Icon 的 `RiDatabase2Line`、`RiHardDrive2Line`、`RiGlobalLine`,分别指资料、本地磁盘和外部来源,无新增依赖。
+新入库范围在「扫描与采集」卡片内使用独立任务行:标题、BoardUI `Chip` 数量、范围说明与处理按钮同组,与概述之间用分隔线区分。待处理数量大于零时使用蓝色状态标记,零部时保持中性并说明下一步。桌面操作靠右,手机操作独占一行;运行中保留数量,处理入口等待当前任务结束。
+
隔离内存样例已验证全部合并、来源筛选、手动添加与菜单键盘焦点。1280px 桌面和 390×844 手机页面无横向溢出;待合并表格在自身区域横向滚动,已保存表格与添加表单在手机换行。
## 窄屏筛选框滚动
diff --git a/docs/OPERATIONS.md b/docs/OPERATIONS.md
index 87e325753..80efe3690 100644
--- a/docs/OPERATIONS.md
+++ b/docs/OPERATIONS.md
@@ -210,6 +210,12 @@ Windows 测试包默认使用 `%LOCALAPPDATA%\Peach\peach-data`。首次设置
后台任务把任务标识、处理范围、完成集合和计数保存在本机。服务重启时接回同一条任务记录,继续未完成的部分。用户暂停的任务保持暂停;明确停止会取消恢复。失败、限流或未取得的结果保留原有重试与冷却规则,不作为成功项目跳过。
+「停止任务」先显示正在停止,等当前在途步骤退出后结算。已登记影片、资料、预览和候选保留,停止的任务不会在重启后自动继续;可以重新发起一趟任务。命令行发起的馆藏处理被停止时返回退出码 130。
+
+「仅处理新入库」使用首次登记、尚待补全的新影片集合。目录扫描、文件监控推送与云下载完成后的快速登记共用此集合;图片、附属文件和已有影片的重复登记不计入。数量随扫描批次提交或单条路径登记更新,运行中仍可查看;当前任务结束后才能另起这趟范围,不会替换或追加到当前任务。点击入口时固定影片列表,重启恢复不包含后来入库的影片。普通「同步媒体库」继续原有完整流程;处理完成的影片退出新入库集合,失败项仍从原任务重试。已经删除或标为已消失的影片退出当前重试集合,来源离线不等同于删除。
+
+结束的任务可「导出完整问题清单」,下载包含全部分页记录的 JSON。导出期间任务或记录变化会停止导出,取消或失败不会下载半份文件;缺少原始问题记录时提示导出诊断日志。「归档提示」只收起旧问题提示,完整记录和任务历史仍保留。
+
| 任务 | 保存与恢复的单位 |
| --- | --- |
| 扫描文件 | 来源根、待遍历目录和目录内的已提交文件批次;保留文件数、字节数与字幕配对资料 |
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 1ccf86195..2dc6e4c42 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -4,6 +4,14 @@
采用 RAAMENN 的 [PR #151](https://github.com/peach-mitao/peach/pull/151),固定来源提交 `eb5f6b49210ed330c767166ea204103a8193250a`,许可证沿用本项目 AGPL-3.0-or-later。复用 SQLite 的 `SET NULL` 语义和删除触发器,在外键开关两种连接下维护父任务与根任务关联。当前迁移编号为 `0049`,只清空不存在的任务引用;任务内容、有效关联、活跃后继和媒体记录保留。隔离回归覆盖旧库升级、重放、批量删除回滚及跨任务类型后继,无新增依赖。
+## 馆藏任务取消、范围与问题导出
+
+取消复用 `ProcessingControl` 的本机原子记录、安全停点与 `BackgroundJob` 结算;`stopping` 等待在途工作退出,`cancelled` 保留结果并阻止自动恢复。安装暂停与用户暂停沿用原语义。新影片范围复用 `ScanResult.new_ids`、`filelock` 和原子 JSON,接回旧扫描检查点;启动时固定为已有的 `asset_ids` 请求,恢复不重新计算范围。退场资产仅退出当前重试集合,来源离线不按文件消失处理;归档只保存提示选择,不删除问题原文或任务历史。
+
+问题导出采用 kevin552216 的 [PR #172](https://github.com/peach-mitao/peach/pull/172) 中 `issue-export.ts` 的分页 JSON 下载思路,固定来源 head `d1803c28e0b1a2a086d9756a67b0ec313387db29`,AGPL-3.0-or-later。Peach 增加日志内容摘要、总数和页偏移校验,拒绝同任务恢复时混合两份记录;旧完整 `issues` 数组可分页读取,缺失或损坏日志不伪装成空清单。复用既有 `useAction`、AbortSignal 和 Blob 下载,不采用该 PR 的单片重抓、字段保护和来源策略改动,无新增依赖。
+
+状态文件写入沿用 `fsutil.atomic_write_text`。补入 FriendlyPasser 的 [PR #120](https://github.com/peach-mitao/peach/pull/120) 固定提交 `b586ff907aa01b48432e51b6101b7ce4bc7f8126` 的 Windows 读句柄验证,检查实际 WinError、读者关闭、完整 JSON 发布和临时文件清理;不增加另一套保存策略。
+
## 发布依赖接管来源
依赖清单复用 Dependabot 的独立 PR 差集,版本与完整依赖图由当前清单和锁文件确定。相邻修改保留主线消费者并重算锁;npm vendor 与前端包使用项目入口重建,许可证和来源记录随资源分发。接管器分别识别应用与 amane 桥的清单,并以实际接管提交确认完成;普通 PR 引用不构成采用。
diff --git a/docs/ROUTES.md b/docs/ROUTES.md
index 8fa032c11..f785e5fb7 100644
--- a/docs/ROUTES.md
+++ b/docs/ROUTES.md
@@ -1,5 +1,9 @@
# 页面路由
+馆藏处理的 `POST /api/library-processing` 支持按 `job_id` 暂停、继续、取消及归档结束提示;`stopping` 仍占用当前范围,`cancelled` 不自动恢复。`scope=new` 在启动时解析成固定资产集合,不与 `asset_ids` 或失败重试混用。状态只返回新入库数量,不下发内部处理路径。
+
+`GET /api/library-processing/issues` 返回任务号、内容摘要 `revision`、总数、偏移和记录。导出后续页传入首份摘要;同任务追加、恢复或记录替换时拒绝混合读取。旧完整问题数组可分页读取,原始记录缺失或损坏作为失败返回。
+
列表使用一层路径,详情使用两层路径。查询参数表达筛选、排序与播放上下文;名称只用于展示和检索。
## 详情对象
diff --git a/frontend/src/react/library-processing/issue-export.ts b/frontend/src/react/library-processing/issue-export.ts
new file mode 100644
index 000000000..12ec49347
--- /dev/null
+++ b/frontend/src/react/library-processing/issue-export.ts
@@ -0,0 +1,36 @@
+import { apiGet } from '../../api';
+import type { LibraryProcessingData, LibraryProcessingIssue } from './library-processing';
+
+interface IssuePage {
+ job_id: string; revision: string; total: number; offset: number; rows: LibraryProcessingIssue[];
+}
+
+/** 任务号和内容版本同时固定;失败或取消不交付半份文件。 */
+export async function exportProcessingIssues(state: LibraryProcessingData, signal: AbortSignal): Promise<string> {
+ if (!state.job_id) throw new Error('请先选择有问题记录的任务');
+ const rows: LibraryProcessingIssue[] = [];
+ let total = 1, revision = '';
+ for (let offset = 0; offset < total; offset += 200) {
+ const params = new URLSearchParams({job_id:state.job_id, offset:String(offset), limit:'200'});
+ if (revision) params.set('revision',revision);
+ const page = await apiGet<IssuePage>(`/api/library-processing/issues?${params}`,signal);
+ signal.throwIfAborted();
+ if (page.job_id !== state.job_id || page.offset !== offset
+ || (revision && (page.revision !== revision || page.total !== total))) {
+ throw new Error('问题记录已变化,请重新导出');
+ }
+ if (offset === 0) { total = page.total; revision = page.revision }
+ if (page.rows.length !== Math.min(200,total-offset)) throw new Error('问题记录不完整,请重新导出');
+ rows.push(...page.rows);
+ }
+ return JSON.stringify({job_id:state.job_id, revision, exported_at:new Date().toISOString(), total:rows.length, rows},null,2);
+}
+
+export function downloadIssueList(jobId: string, contents: string): void {
+ const url = URL.createObjectURL(new Blob([contents],{type:'application/json;charset=utf-8'}));
+ const anchor = document.createElement('a');
+ anchor.href = url;
+ anchor.download = `peach-issues-${jobId}.json`;
+ anchor.click();
+ URL.revokeObjectURL(url);
+}
diff --git a/frontend/src/react/library-processing/library-completion.tsx b/frontend/src/react/library-processing/library-completion.tsx
index f4d612f47..248ed4091 100644
--- a/frontend/src/react/library-processing/library-completion.tsx
+++ b/frontend/src/react/library-processing/library-completion.tsx
@@ -59,13 +59,12 @@ function Completion({ assetIds, onComplete, className }: { assetIds: number[]; o
void queryClient.invalidateQueries({ queryKey: ['catalog-grid'] });
onComplete?.();
}, [state, started, onComplete]);
- // 运行中的进度与控制由常驻任务卡承接,缺图提示只在可发起补全时呈现。
- if (processingActive(state)) return null;
+ // 运行时保留缺图数量;新范围等待当前任务结束,不隐式追加或替换。
const busy = start.isPending || processingActive(state);
const problem = start.error ? errorMessage(start.error) : job.error ? DISCONNECTED_TEXT
: started && state?.job_id === started && state.status === 'failed' ? state.error || '补全未完成' : '';
const message = problem || (start.isPending ? '正在启动补全…'
- : outcome || `这批影片中有 ${assetIds.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
+ : outcome || `这批影片中有 ${assetIds.length.toLocaleString()} 部暂无预览,${processingActive(state) ? '当前任务结束后可单独补全。' : '可补全资料与图片。'}`);
return <section aria-label="补全预览" aria-live="polite" data-library-completion="" className={cx('@container', className)}>
<Note tone={problem ? 'warning' : 'neutral'} action={<div className="flex flex-wrap items-center gap-2"><ProcessingActions busy={busy} metadataOnly={state?.metadata_only} onRun={command => {
if (busy) return;
diff --git a/frontend/src/react/library-processing/library-processing-card.tsx b/frontend/src/react/library-processing/library-processing-card.tsx
index aa1a8a131..b82bdedb1 100644
--- a/frontend/src/react/library-processing/library-processing-card.tsx
+++ b/frontend/src/react/library-processing/library-processing-card.tsx
@@ -12,6 +12,7 @@ import { useMutation } from '@tanstack/react-query';
import { Button } from '@/components/base/buttons/button';
import { LinkButton } from '@/components/base/buttons/link-button';
+import { Chip } from '@/components/base/badges/chip';
import { apiSend, errorMessage } from '../../api';
import { SCAN_CARD_TEXT } from '../../management';
@@ -33,6 +34,9 @@ import { setProcessingNoticeVisible, useProcessingNoticeVisibility } from './pro
import { ProcessingActions } from './processing-actions';
import { ProcessingProgress } from './processing-line';
import { TrafficProgress } from './processing-traffic';
+import { ProcessingControls } from './processing-controls';
+import { downloadIssueList, exportProcessingIssues } from './issue-export';
+import { busyProps, useAction } from '../settings/use-action';
/* 中文正文写成常量:JSX 里换行的文字会在接缝处多出一个空格,中文句子里看得见。
卡片正文与首屏骨架共用 `SCAN_CARD_TEXT`(`management.ts`)。 */
@@ -67,10 +71,12 @@ function Outcome(
},
) {
const details = issueDetails(state);
+ const exporter = useAction();
+ const archive = useAction();
const retryable = state.status === 'failed' && !!state.retryable_asset_ids?.length;
const notes = notesLine(state.notes || {});
- const failed = !!problem || state.status === 'failed';
- const partial = !problem && processingHasPartialResult(state);
+ const failed = !!problem || (!state.archived && state.status === 'failed');
+ const partial = !problem && !state.archived && processingHasPartialResult(state);
/* 同一份日志只印一处:失败提示带着问题清单时归清单,跑完只剩「7 天内不再问」时归那条提示。 */
const logInList = failed && !!details?.log;
const slow = slowItem(state);
@@ -132,6 +138,22 @@ function Outcome(
{settled?.status === 'complete'
? <Note tone="success" title="处理完成">{receiptText(settled)}</Note>
: null}
+ {settled?.status === 'cancelled' ? <Note tone="neutral" title="任务已停止">
+ 已取得的资料和预览已保留,不会自动继续这趟任务。
+ </Note> : null}
+ {state.archived ? <Note tone="neutral">上一趟的问题提示已归档,历史记录仍保留。</Note> : null}
+ {!processingActive(state) && (!!state.issue_count || state.status === 'failed') ? <div className="flex flex-wrap items-center gap-2">
+ {!!state.issue_count ? <Button variant="secondary" size="small" {...busyProps(!!exporter.busy)} onClick={() => void exporter.run('export',
+ signal => exportProcessingIssues(state,signal), contents => {
+ downloadIssueList(state.job_id!,contents); toast('已导出问题清单');
+ })}>导出完整问题清单</Button> : null}
+ {!state.archived ? <Button variant="secondary" size="small" {...busyProps(!!archive.busy)}
+ onClick={() => void archive.run('archive',signal => apiSend<LibraryProcessingData>(LIBRARY_PROCESSING_URL,
+ {action:'archive',job_id:state.job_id},'POST',signal), next => {
+ queryClient.setQueryData(LIBRARY_PROCESSING_KEY,next); toast('已归档问题提示');
+ })}>归档提示</Button> : null}
+ </div> : null}
+ {exporter.error || archive.error ? <Note tone="warning">{exporter.error || archive.error}</Note> : null}
{!processingActive(state) && notes
/* 内边距与分隔节奏和上面的失败提示同一组:两块常常叠着出现,留白不一样一眼就看得出。 */
? <Note tone="neutral" className="gap-0 p-3"
@@ -206,6 +228,26 @@ export function LibraryProcessingCard(props: LibraryProcessingProps) {
</Button> : null}
</div>
<p className="text-body-2-regular text-text-secondary">{SCAN_CARD_TEXT}</p>
+ <div className="mt-2 flex flex-wrap items-center justify-between gap-3 border-t border-border-button-default pt-4" data-new-assets="">
+ <div className="flex min-w-0 flex-1 basis-52 flex-col gap-1">
+ <div className="flex flex-wrap items-center gap-2">
+ <span className="text-body-medium text-text-primary">新入库待处理</span>
+ <Chip variant="caption" color={state.new_asset_count ? 'blue' : 'neutral'}>
+ <span className="tabular-nums">{(state.new_asset_count || 0).toLocaleString()} 部</span>
+ </Chip>
+ </div>
+ <p className="text-caption-1-regular text-text-secondary">
+ {busy && state.new_asset_count
+ ? '当前任务结束后,可单独处理这批新影片。'
+ : state.new_asset_count
+ ? '单独补全这些影片的资料和预览。'
+ : '扫描发现的新影片会显示在这里。'}
+ </p>
+ </div>
+ <Button variant="secondary" size="medium" trailingIcon={RiArrowRightLine}
+ className="shrink-0 max-[520px]:w-full" disabled={busy || !state.new_asset_count}
+ onClick={() => void run({stage:'collect',scope:'new'}).catch(() => {})}>仅处理新入库</Button>
+ </div>
{state.status === 'paused' && !state.total
? <span className="self-start"><StatusLabel>已暂停</StatusLabel></span>
: processingActive(state)
@@ -215,6 +257,7 @@ export function LibraryProcessingCard(props: LibraryProcessingProps) {
{remainingTime(state)}
</p> : null}
{processingActive(state) ? <TrafficProgress traffic={state.traffic} /> : null}
+ {processingActive(state) ? <ProcessingControls state={state} /> : null}
</div>
</Fieldset>
<Outcome state={state} problem={problem} settled={settled} onRetry={retry} toast={toast} />
diff --git a/frontend/src/react/library-processing/library-processing-dock.tsx b/frontend/src/react/library-processing/library-processing-dock.tsx
index 86d2fc756..dd4c4c2ea 100644
--- a/frontend/src/react/library-processing/library-processing-dock.tsx
+++ b/frontend/src/react/library-processing/library-processing-dock.tsx
@@ -25,7 +25,7 @@ export function LibraryProcessingDock({ toast: receipt }: Pick<LibraryProcessing
const active = processingActive(state);
const currentFailure = state?.status === 'failed'
&& (settled?.job_id === state.job_id || freshProcessingResult(state));
- if (hidden || (!active && !problem && !currentFailure && !(requested && state?.status === 'failed'))) {
+ if (hidden || (state?.archived && !problem) || (!active && !problem && !currentFailure && !(requested && state?.status === 'failed'))) {
if (shown.current) toast.dismiss(TASK_TOAST);
shown.current = false;
return;
diff --git a/frontend/src/react/library-processing/library-processing-notice.tsx b/frontend/src/react/library-processing/library-processing-notice.tsx
index 6f03f0eda..b172b0f58 100644
--- a/frontend/src/react/library-processing/library-processing-notice.tsx
+++ b/frontend/src/react/library-processing/library-processing-notice.tsx
@@ -63,6 +63,7 @@ export function ProcessingNoticePanel({ state, problem = '', measure = false, on
observer.observe(node);
return () => { disposed = true; observer.disconnect(); document.documentElement.style.removeProperty('--processing-toast-space') };
}, [measure]);
+ if (state?.archived && !problem) return null;
if (!problem && !active && !failed && !partial) return null;
const slow = problem ? null : slowItem(state);
const warning = !!problem || !!state?.stalled || partial || !!slow;
diff --git a/frontend/src/react/library-processing/library-processing.ts b/frontend/src/react/library-processing/library-processing.ts
index db01dc15b..978bc9648 100644
--- a/frontend/src/react/library-processing/library-processing.ts
+++ b/frontend/src/react/library-processing/library-processing.ts
@@ -25,10 +25,12 @@ export interface LibraryProcessingIssue {
/** 一趟扫描与采集的快照。字段以 `q_library_processing`(`src/peach/web_library_processing.py`)为准。 */
export interface LibraryProcessingData {
metadata_only?: boolean;
- /** `idle` | `running` | `pausing` | `paused` | `complete` | `failed`。 */
+ /** `idle` | `running` | `pausing` | `paused` | `stopping` | `cancelled` | `complete` | `failed`。 */
status: string;
/** 本轮各阶段已处理完但留有问题,或执行中断。 */
- outcome?: 'complete' | 'partial' | 'interrupted';
+ outcome?: 'complete' | 'partial' | 'interrupted' | 'cancelled';
+ archived?: boolean;
+ new_asset_count?: number;
speed_mode?: ProcessingSpeed;
eta_seconds_min?: number | null;
eta_seconds_max?: number | null;
@@ -114,6 +116,7 @@ export const fetchProcessingEstimate = (command: LibraryProcessingCommand, signa
/** 一次写操作的请求体:指定处理阶段与影片,或者按任务号重试失败项。 */
export type ProcessingSpeed = 'low' | 'standard' | 'high';
export interface LibraryProcessingCommand {
+ scope?: 'new';
stage?: 'scan' | 'collect' | 'previews' | 'metadata';
asset_ids?: number[];
job_id?: string;
@@ -121,7 +124,7 @@ export interface LibraryProcessingCommand {
speed_mode?: ProcessingSpeed;
}
export type ProcessingControlCommand =
- | { action: 'pause' | 'resume'; job_id: string }
+ | { action: 'pause' | 'resume' | 'cancel' | 'archive'; job_id: string }
| { action: 'set_speed'; speed_mode: ProcessingSpeed; job_id?: string }
| { action: 'skip_current'; job_id: string; asset_id: number };
@@ -146,7 +149,7 @@ export function slowItemText({ what, source }: SlowItem): string {
/** 暂停中的任务仍占用同一份处理范围,可继续并持续读取状态。 */
export const processingActive = (state?: LibraryProcessingData) =>
- !!state && ['running', 'pausing', 'paused'].includes(state.status);
+ !!state && ['running', 'pausing', 'paused', 'stopping'].includes(state.status);
export const processingHasPartialResult = (state?: LibraryProcessingData) =>
state?.status === 'failed' && state.outcome === 'partial';
@@ -157,6 +160,7 @@ export const ALL_CONTENT_URL = '/?loc=&thumb=0';
/** 时间向分钟取整;区间两端始终使用同一单位。 */
export function remainingTime(state: LibraryProcessingData): string {
if (!processingActive(state)) return '';
+ if (state.status === 'stopping') return '正在停止,等待当前步骤退出;已取得的结果会保留';
if (state.status === 'paused') return '已暂停,继续后更新预估';
if (state.status === 'pausing') return '正在暂停,当前步骤结束后暂停';
if (state.stalled) return '等待当前文件响应,剩余时间待更新';
diff --git a/frontend/src/react/library-processing/processing-controls.tsx b/frontend/src/react/library-processing/processing-controls.tsx
index 873d562a0..3bf185e80 100644
--- a/frontend/src/react/library-processing/processing-controls.tsx
+++ b/frontend/src/react/library-processing/processing-controls.tsx
@@ -16,6 +16,7 @@ export function ProcessingControls({ state, disabled = false }: {
}) {
const action = useAction();
const active = processingActive(state);
+ const stopping = state.status === 'stopping';
const controlLabel = state.status === 'paused' ? '继续' : state.status === 'pausing' ? '正在暂停' : '暂停';
const change = (command: ProcessingControlCommand) => {
if (disabled || action.busy) return;
@@ -27,17 +28,21 @@ export function ProcessingControls({ state, disabled = false }: {
};
return <div className="flex min-w-0 flex-col gap-2" data-processing-controls="">
<div className="flex flex-wrap items-center gap-2">
- <ProcessingMode value={state.speed_mode || 'standard'} busy={disabled || !!action.busy}
+ <ProcessingMode value={state.speed_mode || 'standard'} busy={disabled || !!action.busy || stopping}
animate={state.status !== 'paused' && state.status !== 'pausing'}
onChange={speed_mode => change({ action: 'set_speed', speed_mode, ...(active ? { job_id: state.job_id } : {}) })} />
{active ? <Button size="small" variant="secondary" iconOnly
leadingIcon={state.status === 'paused' ? RiPlayLine : RiPauseLine}
aria-label={controlLabel} title={controlLabel}
- disabled={disabled || !state.job_id || state.status === 'pausing'}
+ disabled={disabled || !state.job_id || state.status === 'pausing' || stopping}
{...busyProps(action.busy === 'pause' || action.busy === 'resume')}
onClick={() => {
if (state.job_id) change({ action: state.status === 'paused' ? 'resume' : 'pause', job_id: state.job_id });
}} /> : null}
+ {active ? <Button size="small" variant="secondary" disabled={disabled || !state.job_id || stopping}
+ {...busyProps(action.busy === 'cancel')} onClick={() => {
+ if (state.job_id) change({action:'cancel',job_id:state.job_id});
+ }}>{stopping ? '正在停止' : '停止任务'}</Button> : null}
</div>
{action.error ? <p role="alert" className="text-caption-1-regular text-text-error-primary">{action.error}</p> : null}
</div>;
diff --git a/frontend/src/react/library-processing/use-library-processing.ts b/frontend/src/react/library-processing/use-library-processing.ts
index 65cd2d787..2396a0f9c 100644
--- a/frontend/src/react/library-processing/use-library-processing.ts
+++ b/frontend/src/react/library-processing/use-library-processing.ts
@@ -36,7 +36,7 @@ export function useLibraryProcessingJob(
if (!state) return;
const was = previous.current;
previous.current = state.status;
- const witnessed = !!was && ['running', 'pausing', 'paused'].includes(was) && !processingActive(state);
+ const witnessed = !!was && ['running', 'pausing', 'paused', 'stopping'].includes(was) && !processingActive(state);
if (witnessed) setSettled(state);
/* 任务面还要认「刚结束」:首次引导那一趟常在跳到目录页之前就跑完,它从没见过
「运行中」。卡片只认自己看着跑完的那一趟。 */
diff --git a/frontend/test/react/issue-export.test.ts b/frontend/test/react/issue-export.test.ts
new file mode 100644
index 000000000..7697a9868
--- /dev/null
+++ b/frontend/test/react/issue-export.test.ts
@@ -0,0 +1,43 @@
+import {afterEach,expect,it,vi} from 'vitest';
+import {exportProcessingIssues} from '../../src/react/library-processing/issue-export';
+
+afterEach(()=>vi.unstubAllGlobals());
+
+it('完整导出跨越200条的所有分页,并固定记录版本',async()=>{
+ const rows=Array.from({length:451},(_,asset_id)=>({asset_id,message:`问题 ${asset_id}`}));
+ const calls:URLSearchParams[]=[];
+ vi.stubGlobal('fetch',vi.fn(async(path:string)=>{
+ const params=new URL(path,'https://peach.invalid').searchParams;
+ calls.push(params);
+ const offset=Number(params.get('offset'));
+ return {ok:true,json:async()=>({job_id:'one',revision:'fixed',offset,total:451,rows:rows.slice(offset,offset+200)})};
+ }));
+ const result=JSON.parse(await exportProcessingIssues({status:'failed',job_id:'one'},new AbortController().signal));
+ expect(result.rows).toEqual(rows);
+ expect(calls.map(params=>params.get('offset'))).toEqual(['0','200','400']);
+ expect(calls[1].get('revision')).toBe('fixed');
+});
+
+it('同任务恢复或总数变化时拒绝混合导出',async()=>{
+ let calls=0;
+ vi.stubGlobal('fetch',vi.fn(async()=>{
+ calls++;
+ return {ok:true,json:async()=>({job_id:'one',revision:calls===1?'first':'changed',offset:(calls-1)*200,
+ total:201,rows:Array.from({length:calls===1?200:1},()=>({asset_id:1,message:'问题'}))})};
+ }));
+ await expect(exportProcessingIssues({status:'failed',job_id:'one'},new AbortController().signal))
+ .rejects.toThrow('问题记录已变化');
+});
+
+it('分页取消或缺行时不返回半份内容',async()=>{
+ const controller=new AbortController();
+ vi.stubGlobal('fetch',vi.fn(async()=>{
+ controller.abort();
+ return {ok:true,json:async()=>({job_id:'one',revision:'fixed',offset:0,total:1,rows:[{asset_id:1,message:'问题'}]})};
+ }));
+ await expect(exportProcessingIssues({status:'failed',job_id:'one'},controller.signal)).rejects.toThrow();
+ vi.stubGlobal('fetch',vi.fn(async()=>({ok:true,json:async()=>({job_id:'one',revision:'fixed',offset:0,total:2,
+ rows:[{asset_id:1,message:'问题'}]})})));
+ await expect(exportProcessingIssues({status:'failed',job_id:'one'},new AbortController().signal))
+ .rejects.toThrow('不完整');
+});
diff --git a/frontend/test/react/library-processing.test.tsx b/frontend/test/react/library-processing.test.tsx
index 862ab21d1..335a6917d 100644
--- a/frontend/test/react/library-processing.test.tsx
+++ b/frontend/test/react/library-processing.test.tsx
@@ -37,6 +37,35 @@ notifyManager.setScheduler((notify) => notify());
const LOG = 'C:\\peach-data\\state\\library-processing-one.issues.jsonl';
+it('运行时新入库数量仍可见,独立范围等待当前任务结束',async()=>{
+ await open({status:'running',job_id:'one',new_asset_count:12});
+ const host=await mount(card({toast:vi.fn()}));
+ expect(host.querySelector('[data-new-assets]')?.textContent).toContain('新入库待处理12 部');
+ expect(host.querySelector('[data-new-assets]')?.textContent).toContain('当前任务结束后,可单独处理这批新影片。');
+ expect(buttonNamed('仅处理新入库',host)?.disabled).toBe(true);
+});
+
+it('新入库入口只提交独立新范围,不触发全库扫描',async()=>{
+ const {calls}=await open({status:'idle',new_asset_count:2},
+ (method)=>method==='POST'?{status:'running',job_id:'new'}:{status:'idle',new_asset_count:2});
+ const host=await mount(card({toast:vi.fn()}));
+ await click(buttonNamed('仅处理新入库',host)!);
+ expect(calls.filter(call=>call.method==='POST').map(call=>call.body)).toEqual([{stage:'collect',scope:'new'}]);
+});
+
+it('停止请求绑定原任务,正在停止时保留进度并禁止重发',async()=>{
+ let state:LibraryProcessingData={status:'running',job_id:'one',candidates:3};
+ const {calls}=await open(state,(method)=>{
+ if(method==='POST') state={...state,status:'stopping'};
+ return state;
+ });
+ const host=await mount(card({toast:vi.fn()}));
+ await click(buttonNamed('停止任务',host)!);
+ expect(calls.filter(call=>call.method==='POST').map(call=>call.body)).toEqual([{action:'cancel',job_id:'one'}]);
+ expect(host.textContent).toContain('正在停止');
+ expect(buttonNamed('正在停止',host)?.disabled).toBe(true);
+});
+
type Reply = (method: string, body: unknown) => LibraryProcessingData;
/** 按方法应答同一个端点。用例拿 `calls` 数请求、看请求体。 */
@@ -485,18 +514,29 @@ it('暂停与继续使用同一个任务号,暂停不是完成,暂停时仍
expect(buttonNamed('暂停', host)).not.toBeNull();
});
-it('首屏暂停状态在卡片保留进度,在任务面提供继续入口', async () => {
+it('首屏暂停状态在卡片和任务面保留进度与继续入口', async () => {
await open({ status: 'paused', job_id: 'one', checked: 2, total: 10 });
const host = await mount(card({ toast: vi.fn() }));
const banner = await mount(notice({ toast: vi.fn(), mode: 'notice' }));
expect(host.textContent).toContain('已暂停');
expect(banner.textContent).toContain('已暂停');
- expect(buttonNamed('继续', host)).toBeNull();
+ expect(buttonNamed('继续', host)).not.toBeNull();
expect(buttonNamed('继续', banner)).not.toBeNull();
expect(buttonNamed('标准', banner)).not.toBeNull();
expect(host.querySelector('[role="progressbar"]')?.getAttribute('aria-valuenow')).toBe('2');
});
+it('没有逐项问题的任务失败也能归档提示,保留历史任务号', async () => {
+ const state: LibraryProcessingData = { status:'failed', job_id:'one', error:'任务未能自动恢复' };
+ const served = await open(state, () => ({...state,archived:true}));
+ const host = await mount(card({toast:vi.fn()}));
+ expect(buttonNamed('导出完整问题清单',host)).toBeNull();
+ await click(buttonNamed('归档提示',host));
+ expect(served.posts()).toEqual([{action:'archive',job_id:'one'}]);
+ expect(host.textContent).toContain('历史记录仍保留');
+ expect(host.textContent).not.toContain('任务未能自动恢复');
+});
+
it('模式切换失败保留服务端选中值和原位错误,可重试', async () => {
await open({ status: 'running', job_id: 'one', speed_mode: 'standard' });
vi.stubGlobal('fetch', vi.fn(async (_path: string, init?: RequestInit) => init?.method === 'POST'
diff --git a/src/peach/cli.py b/src/peach/cli.py
index aa067b7bc..f156cb8e5 100644
--- a/src/peach/cli.py
+++ b/src/peach/cli.py
@@ -508,10 +508,16 @@ def _process_library(args: argparse.Namespace) -> int:
_require_readable_settings()
config = settings_file.active()
with cli_run('library-processing', args.db, label='资料处理') as handle:
- result = process_library(config, args.db, config.directory('generated'),
- config.directory('generated') / 'covers', location=args.location,
- database=LedgerDatabase(args.db),
- report=lambda state: print(f"{state['stage']}:{state['checked']}/{state['total']}", flush=True))
+ from .jobs import JobCancelled
+ try:
+ result = process_library(config, args.db, config.directory('generated'),
+ config.directory('generated') / 'covers', location=args.location,
+ database=LedgerDatabase(args.db),
+ report=lambda state: print(f"{state['stage']}:{state['checked']}/{state['total']}", flush=True))
+ except JobCancelled:
+ handle.finish('cancelled', error='用户停止任务')
+ print('任务已停止,已保存结果保留。')
+ return 130
rows = declared_rows(result.get('followups'))
queued = handle.store.enqueue_followups(handle.run_id, rows)
if rows:
diff --git a/src/peach/job_recovery.py b/src/peach/job_recovery.py
index f19c755e3..a2017d16a 100644
--- a/src/peach/job_recovery.py
+++ b/src/peach/job_recovery.py
@@ -107,7 +107,7 @@ def resume(db: Path, handlers: dict) -> list[str]:
data = read(db, key)
pid = data.get("pid")
if key == 'library-processing':
- from .processing_control import user_paused
+ from .processing_control import user_paused, user_cancelled
if user_paused(db, data.get('job_id')):
continue
if (data.get("status") != "active" or not isinstance(data.get("request"), dict)
@@ -116,6 +116,12 @@ def resume(db: Path, handlers: dict) -> list[str]:
# 当前进程自己的新任务不属于启动恢复。
if pid == os.getpid():
continue
+ if key == 'library-processing' and user_cancelled(db, data.get('job_id')):
+ if data.get('run_id') is not None:
+ from .task_runs import TaskRunStore
+ TaskRunStore(db).finish(data['run_id'], 'cancelled', error='用户停止任务')
+ finish(db, key, data['job_id'], 'cancelled')
+ continue
try:
context = current_run.set(data.get('run_id'))
identity = current_job_id.set(data.get('job_id'))
diff --git a/src/peach/jobs.py b/src/peach/jobs.py
index ebd3d9e2d..cda74a7e4 100644
--- a/src/peach/jobs.py
+++ b/src/peach/jobs.py
@@ -35,6 +35,10 @@ class JobPaused(JobPolicyError):
exit_code = 3
+class JobCancelled(InterruptedError):
+ """用户停止任务;已保存结果保留,不再自动恢复。"""
+
+
class JobAlreadyRunning(JobPolicyError):
exit_code = 0
@@ -325,7 +329,7 @@ class BackgroundJob:
from .job_recovery import read
previous = read(db, self.task_key)
saved = previous.get('checkpoint') or {}
- if previous.get('status') in ('complete', 'failed') and saved.get(self.id_key):
+ if previous.get('status') in ('complete', 'failed', 'cancelled') and saved.get(self.id_key):
self.state = copy.deepcopy(saved)
def snapshot(self) -> dict | None:
@@ -631,6 +635,11 @@ class BackgroundJob:
if self.state is not None and self.state.get(self.id_key) == job_id:
self.state.update(waiting_for_update=True, stage='等待安装完成后继续', error='',
message='任务已暂停,安装完成后自动继续。')
+ except JobCancelled:
+ with self.lock:
+ if self.state is not None and self.state.get(self.id_key) == job_id:
+ self.state.update(status='cancelled', outcome='cancelled', error='',
+ followups=[], completed_at=time.time())
except Exception as error: # 后台失败必须变成可轮询的状态,不能只留在日志里
from .error_reporting import event
event('background-job', error, job_id=job_id, task_key=self.task_key,
@@ -663,7 +672,7 @@ class BackgroundJob:
from .job_recovery import checkpoint, finish
checkpoint(db, self.task_key, job_id, state)
finish(db, self.task_key, job_id,
- 'failed' if state.get('status') == 'failed' else 'complete')
+ state['status'] if state.get('status') in ('failed', 'cancelled') else 'complete')
finally:
activity = self._activity_files.pop(job_id, None)
if activity is not None:
@@ -700,6 +709,9 @@ class BackgroundJob:
所以这里收的是调用方手上那一份,不重新读。
"""
status = state.get("status")
+ if status == 'cancelled':
+ self._close_run(job_id, 'cancelled', summary=self._summary(state))
+ return
if status == "failed":
# 声明了后继就是结算到了底,只是留下了要人处理的项(ADR-0053):后继照派。
# 中途抛异常的那一轮走不到声明那一步,一条都不派。
diff --git a/src/peach/library_new_assets.py b/src/peach/library_new_assets.py
new file mode 100644
index 000000000..69b5ddeb3
--- /dev/null
+++ b/src/peach/library_new_assets.py
@@ -0,0 +1,60 @@
+"""保存扫描已登记、尚未交给资料处理的新影片范围。"""
+from contextlib import closing
+import json
+from pathlib import Path
+import sqlite3
+
+from filelock import FileLock
+from .fsutil import atomic_write_text
+from .update_tasks import state_for
+
+
+def _path(db):
+ return state_for(Path(db)).parent/'library-new-assets.json'
+
+
+def _read(db):
+ path = _path(db)
+ try:
+ ids = json.loads(path.read_text(encoding='utf-8'))
+ except FileNotFoundError:
+ legacy = path.with_name('library-processing.json')
+ try:
+ state = json.loads(legacy.read_text(encoding='utf-8'))
+ except FileNotFoundError:
+ return set()
+ if state.get('status') == 'complete' and state.get('requested_stage') != 'scan':
+ return set()
+ ids = [value for checkpoint in state.get('scan_checkpoints', {}).values()
+ for value in checkpoint.get('result', {}).get('new_ids', [])]
+ completed = {int(key.split(':',1)[0]) for key in state.get('completed_metadata', [])}
+ ids = [value for value in ids if value not in completed]
+ if not isinstance(ids,list) or any(type(value) is not int or value<=0 for value in ids):
+ raise ValueError('新入库处理范围无效,请重新扫描媒体库')
+ return set(ids)
+
+
+def pending(db):
+ return _active_videos(db, sorted(_read(db)))
+
+
+def _active_videos(db, wanted):
+ result = []
+ if wanted:
+ with closing(sqlite3.connect(Path(db).resolve().as_uri()+'?mode=ro',uri=True)) as connection:
+ for offset in range(0,len(wanted),900):
+ batch = wanted[offset:offset+900]
+ result.extend(row[0] for row in connection.execute(
+ "SELECT id FROM asset WHERE medium='video' AND disposal IS NULL AND id IN ("
+ +','.join('?'*len(batch))+') ORDER BY id',batch))
+ return result
+
+
+def remember(db, ids=(), *, completed=()):
+ path = _path(db)
+ path.parent.mkdir(parents=True,exist_ok=True)
+ with FileLock(str(path)+'.lock'):
+ previous = _read(db)
+ updated = set(_active_videos(db, sorted(previous | set(ids)))) - set(completed)
+ if updated != previous or (updated and not path.exists()):
+ atomic_write_text(path,json.dumps(sorted(updated)))
diff --git a/src/peach/library_processing.py b/src/peach/library_processing.py
index 673a17e6e..18054269d 100644
--- a/src/peach/library_processing.py
+++ b/src/peach/library_processing.py
@@ -2276,7 +2276,8 @@ def _checkpoint_key(row):
class _LibraryCheckpoints:
"""只有预览登记或候选落盘成功才提交影片检查点。"""
- def __init__(self, state, previous, database):
+ def __init__(self, state, previous, database, db_path):
+ self.db_path = db_path
previous = previous or {}
if previous.get('processing_rule') != upgrade_rules.PROCESSING:
state['local_metadata'] = {}
@@ -2306,10 +2307,13 @@ class _LibraryCheckpoints:
def commit_metadata(self, flush):
if not self.pending_metadata:
return
+ completed_ids = [int(key.split(':',1)[0]) for key in self.pending_metadata]
self.completed['completed_metadata'].update(self.pending_metadata)
self.pending_metadata.clear()
self.state['completed_metadata'] = sorted(self.completed['completed_metadata'])
flush(force=True)
+ from .library_new_assets import remember
+ remember(self.db_path, completed=completed_ids)
def remaining_metadata(self, rows):
return ((index, row) for index, row in enumerate(rows)
@@ -2598,7 +2602,7 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='co
_restore_processing_counts(state, resume_state)
estimate = ProcessingEstimate(config, state, control)
# 实体表的水位在开工前记一次:比它大的实体就是这一轮建出来的(`_entity_followups`)。
- checkpoints = _LibraryCheckpoints(state, resume_state, database)
+ checkpoints = _LibraryCheckpoints(state, resume_state, database, db_path)
entity_watermark = checkpoints.entity_watermark
# 每行这一轮换上了几张封面,`(asset_id, 张数)`:换上了的作品,女优可能截得出更清楚的脸。
covered = []
@@ -2824,11 +2828,13 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='co
except Exception:
state.update(status='failed', outcome='interrupted', error='处理被中断。核对媒体目录后重试。', completed_at=time.time())
state.update(interrupted_state(control))
- state['traffic'] = traffic.snapshot(finished=state.get('status') == 'failed')
+ state['traffic'] = traffic.snapshot(finished=state.get('status') in ('failed', 'cancelled'))
_save(path, state)
raise
finally:
# 被打断也把已经攒下的候选写全:文件里要么是上一份完整的,要么是这一份完整的。
flush_candidates(force=True)
remote.close()
+ from .library_new_assets import remember
+ remember(db_path, completed=[row['id'] for row in rows])
return state
diff --git a/src/peach/processing_control.py b/src/peach/processing_control.py
index b046be9f3..5f171df2e 100644
--- a/src/peach/processing_control.py
+++ b/src/peach/processing_control.py
@@ -89,6 +89,8 @@ def checkpoint_values(values):
def interrupted_state(control):
+ if control is not None and control.cancelled:
+ return dict(status='cancelled', outcome='cancelled', stage='已停止', error='')
return dict(status='paused', error='', completed_at=None) if control is not None and control.paused else {}
@@ -173,6 +175,7 @@ class ProcessingControl:
self.mode = data.get('speed_mode') if data.get('speed_mode') in MODES else 'standard'
self.job_id = data.get('job_id')
self.paused = data.get('paused') is True
+ self.cancelled = data.get('cancelled') is True
self.event = threading.Event()
self.event.set()
self.publish = None
@@ -194,6 +197,7 @@ class ProcessingControl:
if data.get('job_id') == self.job_id or self.publish is None:
self.job_id = data.get('job_id', self.job_id)
self.paused = data.get('paused', self.paused)
+ self.cancelled = data.get('cancelled', self.cancelled)
self.skip_asset_id = data.get('skip_asset_id')
mode = data.get('speed_mode', self.mode)
if mode in MODES and self.mode != mode:
@@ -202,7 +206,7 @@ class ProcessingControl:
def _save(self):
atomic_write_text(self.path, json.dumps(dict(
- speed_mode=self.mode, job_id=self.job_id, paused=self.paused,
+ speed_mode=self.mode, job_id=self.job_id, paused=self.paused, cancelled=self.cancelled,
skip_asset_id=self.skip_asset_id)) + '\n')
def skip_current(self, job_id, asset_id):
@@ -216,6 +220,9 @@ class ProcessingControl:
def check_item(self):
self.refresh()
+ if self.cancelled:
+ from .jobs import JobCancelled
+ raise JobCancelled('用户停止任务')
if self.current_asset_id is not None and self.skip_asset_id == self.current_asset_id:
raise ItemSkipped('已跳过当前影片')
@@ -226,6 +233,9 @@ class ProcessingControl:
if action == 'set_speed':
self.mode = valid_mode(mode)
self.next_work.clear()
+ elif action == 'cancel':
+ self.cancelled = True
+ self.paused = False
else:
self.paused = action == 'pause'
self._save()
@@ -236,6 +246,7 @@ class ProcessingControl:
with self.lock:
if self.job_id != job_id:
self.job_id, self.paused, self.paused_seconds = job_id, False, 0.0
+ self.cancelled = False
self.skip_asset_id = None
@contextmanager
@@ -293,6 +304,12 @@ def user_paused(db_path, job_id):
return data.get('job_id') == job_id and data.get('paused') is True
+def user_cancelled(db_path, job_id):
+ from .update_tasks import state_for
+ data = _read(state_for(db_path).parent / 'library-processing-control.json')
+ return bool(job_id) and data.get('job_id') == job_id and data.get('cancelled') is True
+
+
def initial_estimate(config, db_path, stage, asset_ids=None, mode=None):
"""仅使用账本统计,不在启动 HTTP 请求里遍历媒体目录。"""
mode = mode or control_for(config).mode
diff --git a/src/peach/scan.py b/src/peach/scan.py
index bd77eb550..2083b3246 100644
--- a/src/peach/scan.py
+++ b/src/peach/scan.py
@@ -113,6 +113,7 @@ def _registered_paths(connection, location, root):
def _upsert_records(connection, batch, registered, conflicts):
rows = []
+ inserted = {}
for location, path, *values in batch:
key = str(PureWindowsPath(path)).casefold()
if key in conflicts:
@@ -120,9 +121,19 @@ def _upsert_records(connection, batch, registered, conflicts):
connection.executemany('UPDATE asset SET last_seen=? WHERE id=?',
[(values[-1], asset_id) for asset_id in conflicts[key].asset_ids])
continue
+ if key not in registered:
+ inserted.setdefault(location, []).append(path)
stored = registered.setdefault(key, path)
rows.append((location, stored, *values))
connection.executemany(_UPSERT, rows)
+ ids = []
+ for location, paths in inserted.items():
+ for offset in range(0, len(paths), 900):
+ portion = paths[offset:offset+900]
+ ids.extend(row[0] for row in connection.execute(
+ 'SELECT id FROM asset WHERE location=? AND path IN ('
+ + ','.join('?'*len(portion))+')', (location, *portion)))
+ return ids
def medium_of(name: str) -> str:
@@ -361,15 +372,14 @@ def ingest_path(
registered, conflicts = _registered_paths(connection, location, str(ledger_dir))
if str(ledger_path).casefold() in conflicts:
raise conflicts[str(ledger_path).casefold()]
- _upsert_records(connection, [(location, str(ledger_path), name, medium,
+ inserted_ids = _upsert_records(connection, [(location, str(ledger_path), name, medium,
stat.st_size, mtime, now, now)], registered, conflicts)
stored_path = registered[str(ledger_path).casefold()]
if here is not None:
tracks = _record_directory_subtitles(connection, location, ledger_dir, here, conflicts, now)[0]
- asset_id, first_seen = connection.execute(
- "SELECT id,first_seen FROM asset WHERE location=? AND path=?",
- (location, stored_path)).fetchone()
- new = first_seen == now
+ asset_id = connection.execute("SELECT id FROM asset WHERE location=? AND path=?",
+ (location, stored_path)).fetchone()[0]
+ new = asset_id in inserted_ids
reattached = len(record_rehome.reattach(connection, [asset_id] if new else [], now=now))
acquired = len(wants.reconcile(connection, [asset_id] if new else []))
folder_rules.apply_new(connection, [asset_id] if new else [])
@@ -377,6 +387,8 @@ def ingest_path(
finally:
connection.close()
junk.isolate(db_path, asset_ids=[asset_id])
+ from .library_new_assets import remember
+ remember(db_path, inserted_ids)
return IngestResult(location, str(ledger_path), True, stat.st_size, tracks,
asset_id=asset_id, new=new, reattached=reattached, acquired=acquired)
@@ -595,6 +607,7 @@ def _scan_location(
video_dirs = set(previous.get('video_dirs', []))
pending = _pending_directories(previous, walk_root)
batch: list[tuple] = []
+ from .library_new_assets import remember
# 文件批次提交后保存文件名游标;同目录的配对资料随断点保留。
def save_directory(directory=None, cursor=None, here=None):
artwork_parents = {path_module.dirname(value) for value in [*pending, *([directory] if directory else [])]
@@ -648,24 +661,30 @@ def _scan_location(
total += stat.st_size
progress(files, total)
if len(batch) >= BATCH_SIZE:
- _upsert_records(connection, batch, registered, conflicts)
+ inserted_ids = _upsert_records(connection, batch, registered, conflicts)
connection.commit()
+ remember(db_path, inserted_ids)
batch.clear()
save_directory(directory, name, here)
report(f" {time.time() - started:5.0f}s {files:,} 文件 "
f"{total / 1024 ** 4:.2f} TB")
+ inserted_ids = []
if batch:
- _upsert_records(connection, batch, registered, conflicts)
+ inserted_ids = _upsert_records(connection, batch, registered, conflicts)
batch.clear()
directory_tracks, directory_orphans = _record_directory_subtitles(
connection, location, ledger_root.joinpath(*relative), here, conflicts, now)
connection.commit()
+ remember(db_path, inserted_ids)
tracks += directory_tracks
orphans += directory_orphans
save_directory()
if batch:
- _upsert_records(connection, batch, registered, conflicts)
+ inserted_ids = _upsert_records(connection, batch, registered, conflicts)
+ else:
+ inserted_ids = []
connection.commit()
+ remember(db_path, inserted_ids)
# 只有 INSERT 那一支写 `first_seen`,等于本次时刻的就是这一轮新建的行。
from .media_folders import path_predicate
scope, parameters = path_predicate(location, root)
diff --git a/src/peach/web_library_processing.py b/src/peach/web_library_processing.py
index b26cac11d..160f0fd9f 100644
--- a/src/peach/web_library_processing.py
+++ b/src/peach/web_library_processing.py
@@ -1,5 +1,6 @@
"""统一处理任务的启动、只读状态查询与失败项重试。"""
import json
+import hashlib
from . import settings_file
from .library_processing import (ALL_STAGES, COLLECT_STAGE, SCAN_STAGE, STAGES,
@@ -7,7 +8,7 @@ from .library_processing import (ALL_STAGES, COLLECT_STAGE, SCAN_STAGE, STAGES,
decorate, issues_path, process_library, snapshot)
from .processing_control import control_for, initial_estimate, valid_mode, mode_ratio
-ACTIVE = ('running', 'pausing', 'paused')
+ACTIVE = ('running', 'pausing', 'paused', 'stopping')
#: 回给页面的状态字段:`frontend/src/react/library-processing/library-processing.ts` 的
#: `LibraryProcessingData`,加上对应任务中心那一行的 `run_id`。状态文件里另有续跑用的 `local_metadata`(带完整媒体路径)、
@@ -21,7 +22,7 @@ PUBLIC_FIELDS = frozenset({
'performer_profile_failed', 'error', 'issue_count', 'paused_count', 'issue_preview',
'issues_log', 'issues_truncated', 'retryable_asset_ids', 'notes', 'current_asset_id',
'current_asset_name', 'current_action', 'current_started_at', 'last_progress_at', 'stalled',
- 'waited_seconds', 'completed_at', 'current_source', 'skip_requested',
+ 'waited_seconds', 'completed_at', 'current_source', 'skip_requested', 'archived', 'new_asset_count',
})
@@ -32,6 +33,9 @@ def public_state(state):
def _current(contract):
live = contract.library_processing_job.snapshot()
+ thread = getattr(contract.library_processing_job, 'thread', None)
+ if live and live.get('status') == 'cancelled' and thread is not None and thread.is_alive():
+ return {**live, 'status':'stopping'}
return live if live and live.get('status') in ACTIVE else snapshot(settings_file.active())
@@ -39,6 +43,8 @@ def q_library_processing(contract, _args):
if _args.get('estimate') == '1':
config = settings_file.active()
body = {'stage': _args.get('stage') or ALL_STAGES}
+ if 'scope' in _args:
+ body['scope'] = _args['scope']
if 'asset_ids' in _args:
body['asset_ids'] = json.loads(_args['asset_ids'])
_, asset_ids, stage = _processing_request(contract, config, {}, body)
@@ -54,6 +60,13 @@ def q_library_processing(contract, _args):
state['metadata_only'] = metadata_only(settings_file.active().directory('state'))
from .job_recovery import read
recovery = read(contract.db_path, 'library-processing')
+ if control.job_id == state.get('job_id') and control.cancelled and state.get('status') in ACTIVE:
+ state.update(status='stopping', eta_seconds_min=None, eta_seconds_max=None)
+ if recovery.get('status') == 'cancelled' and recovery.get('job_id') == state.get('job_id'):
+ state.update(status='cancelled', outcome='cancelled', error='')
+ state['retryable_asset_ids'] = _remaining_retry_ids(contract, state)
+ from .library_new_assets import pending
+ state['new_asset_count'] = len(pending(contract.db_path))
if state.get('status') not in ACTIVE and recovery.get('status') == 'blocked':
state.update(status='failed', outcome='interrupted', error=f"任务未能自动恢复:{recovery.get('error') or '请重新发起任务'}")
# 上一趟任务的状态文件里没有这个字段,而它那份完整清单还在磁盘上:按 job_id
@@ -77,7 +90,19 @@ def _request_skip(control, previous, body):
def _control_action(contract, config, body):
action = body['action']
- if action not in ('pause', 'resume', 'set_speed', 'skip_current'):
+ if action == 'archive':
+ previous = _current(contract)
+ if not body.get('job_id') or body['job_id'] != previous.get('job_id'):
+ raise ValueError('任务已变化,请刷新页面后重试')
+ if previous.get('status') in ACTIVE:
+ raise ValueError('任务结束后才能归档提示')
+ from .library_processing import _save, state_path
+ saved = json.loads(state_path(config).read_text(encoding='utf-8'))
+ if saved.get('job_id') != body['job_id']:
+ raise ValueError('任务已变化,请刷新页面后重试')
+ _save(state_path(config), {**saved, 'archived':True})
+ return q_library_processing(contract, {})
+ if action not in ('pause', 'resume', 'set_speed', 'skip_current', 'cancel'):
raise ValueError('处理动作无效')
previous = _current(contract)
job_id = body.get('job_id')
@@ -91,6 +116,24 @@ def _control_action(contract, config, body):
control.refresh(force=True)
if job_id:
control.select_job(str(job_id))
+ if action == 'cancel':
+ control.request('cancel', str(job_id))
+ _announce_control(contract.library_processing_job, str(job_id), 'stopping')
+ live = contract.library_processing_job.snapshot()
+ thread = getattr(contract.library_processing_job, 'thread', None)
+ if not (live and thread is not None and thread.is_alive()) and not _writer_active(config):
+ from .job_recovery import finish
+ from .library_processing import _save, state_path
+ previous.update(status='cancelled', outcome='cancelled', stage='已停止', error='')
+ _save(state_path(config), previous)
+ finish(contract.db_path, 'library-processing', str(job_id), 'cancelled')
+ if previous.get('run_id') is not None:
+ contract.library_processing_job.runs.finish(previous['run_id'], 'cancelled')
+ contract.library_processing_job.update(str(job_id), **{
+ key:value for key,value in previous.items() if key!='job_id'})
+ return q_library_processing(contract, {})
+ if previous.get('status') == 'stopping':
+ raise ValueError('正在等待任务停止,请稍后重试')
if action == 'skip_current':
_request_skip(control, previous, body)
return q_library_processing(contract, {})
@@ -151,20 +194,41 @@ def q_library_processing_issues(contract, args):
job_id = str(args.get('job_id') or '')
if not job_id or job_id != str(state.get('job_id') or ''):
raise ValueError('任务已变化,请刷新页面后重试')
- rows = []
path = issues_path(settings_file.active(), job_id)
if path.is_file():
- for line in path.read_text(encoding='utf-8').splitlines():
- try:
- rows.append(json.loads(line))
- except ValueError:
- continue
+ raw = path.read_text(encoding='utf-8')
+ rows = [json.loads(line) for line in raw.splitlines() if line.strip()]
+ else:
+ rows = []
+ if state.get('issue_count'):
+ from .library_processing import state_path
+ saved = json.loads(state_path(settings_file.active()).read_text(encoding='utf-8'))
+ rows = saved.get('issues', [])
+ if not rows:
+ raise ValueError('未取得完整问题记录,请导出诊断日志')
+ raw = json.dumps(rows, ensure_ascii=False)
+ revision = hashlib.sha256(raw.encode()).hexdigest()
+ if args.get('revision') and args['revision'] != revision:
+ raise ValueError('问题记录已变化,请重新导出')
offset = max(0, int(args.get('offset') or 0))
limit = max(1, min(200, int(args.get('limit') or 50)))
- return {'job_id': job_id, 'total': len(rows), 'offset': offset,
+ return {'job_id': job_id, 'revision':revision, 'total': len(rows), 'offset': offset,
'rows': rows[offset:offset + limit]}
+def _remaining_retry_ids(contract, previous):
+ ids = list(previous.get('retryable_asset_ids') or [])
+ if not ids:
+ return []
+ remaining = set()
+ with contract.database.read_connection() as connection:
+ for offset in range(0, len(ids), 900):
+ batch = ids[offset:offset+900]
+ remaining.update(row[0] for row in connection.execute(
+ 'SELECT id FROM asset WHERE disposal IS NULL AND id IN ('+','.join('?'*len(batch))+')',batch))
+ return [value for value in ids if value in remaining]
+
+
def _retry_ids(previous, body):
"""请求带 `retry` 时按上一任务的失败集合重试;普通启动仍处理整个馆藏。
@@ -184,7 +248,7 @@ def _retry_ids(previous, body):
return allowed
chosen = []
for value in requested:
- if not isinstance(value, int) or value not in allowed:
+ if isinstance(value, bool) or not isinstance(value, int) or value not in allowed:
raise ValueError('重试项目不属于原任务的失败集合')
chosen.append(value)
return chosen
@@ -196,6 +260,15 @@ def _processing_request(contract, config, previous, body):
raise ValueError('请先添加媒体目录')
if contract.db_path.resolve() != (config.directory('database') / 'ledger.db').resolve():
raise ValueError('当前馆藏与媒体配置不一致')
+ body = dict(body or {})
+ if 'scope' in body:
+ if body['scope'] != 'new' or 'asset_ids' in body or 'retry' in body:
+ raise ValueError('新入库范围不能与其他处理范围同时使用')
+ from .library_new_assets import pending
+ ids = pending(contract.db_path)
+ if not ids:
+ raise ValueError('暂无待处理的新入库影片')
+ body['asset_ids'] = ids
retry_ids = _retry_ids(previous, body)
if 'asset_ids' in (body or {}) and body['asset_ids'] is None:
raise ValueError('请选择有效的视频项目')
@@ -219,7 +292,12 @@ def w_library_processing(contract, body, *, resume=False):
previous = _current(contract)
if previous.get('status') in ACTIVE and not resume:
return public_state(previous)
+ if (body or {}).get('retry') is not None:
+ previous['retryable_asset_ids'] = _remaining_retry_ids(contract, previous)
retry_ids, asset_ids, stage = _processing_request(contract, config, previous, body)
+ if (body or {}).get('scope') == 'new':
+ from .library_new_assets import remember
+ remember(contract.db_path, asset_ids)
if retry_ids is not None and not retry_ids:
return public_state(previous)
mode = valid_mode(control_for(config).mode if resume else
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 2baa7a469..76922fa77 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -589,6 +589,18 @@ class ProcessCommandTests(unittest.TestCase):
self.assertEqual(rows[0][3], "failed")
self.assertEqual(rows[1][3], "pending")
+ def test_user_cancel_returns_a_cancelled_receipt_without_dispatching_followups(self):
+ from peach.jobs import JobCancelled
+ from contextlib import closing
+ with mock.patch('peach.library_processing.process_library',side_effect=JobCancelled('用户停止任务')), \
+ redirect_stdout(io.StringIO()) as output:
+ code=cli.main(['process','--db',str(self.db)])
+ with closing(sqlite3.connect(self.db)) as connection:
+ rows=connection.execute('SELECT status,parent_run_id FROM task_run').fetchall()
+ self.assertEqual(code,130)
+ self.assertEqual(rows,[('cancelled',None)])
+ self.assertIn('已保存结果保留',output.getvalue())
+
class ReplicationAssemblyTests(unittest.TestCase):
"""ADR-0023 第 3 阶段:整条复制链路按 `replication.enabled` 装配或完全不装配。"""
diff --git a/tests/test_metadata_library.py b/tests/test_metadata_library.py
index b82d37585..7675ca1dc 100644
--- a/tests/test_metadata_library.py
+++ b/tests/test_metadata_library.py
@@ -2542,6 +2542,29 @@ class LibraryStatePersistenceTests(unittest.TestCase):
self.assertEqual(list(self.path.parent.iterdir()), [self.path])
+ @unittest.skipUnless(os.name == 'nt', '需要 Windows 文件共享语义')
+ def test_state_save_waits_for_a_windows_reader_to_close(self):
+ from peach.library_processing import _save
+ replace = os.replace
+ reader = self.path.open(encoding='utf-8')
+ self.addCleanup(reader.close)
+ blocked = []
+ def replace_while_reading(source, destination):
+ try:
+ return replace(source, destination)
+ except PermissionError as error:
+ blocked.append(error)
+ reader.close()
+ raise
+ current = {**self.previous, 'processed':2}
+ with patch('os.replace', side_effect=replace_while_reading):
+ _save(self.path, current)
+ self.assertEqual(len(blocked),1)
+ self.assertIn(blocked[0].winerror,(5,32))
+ self.assertEqual(json.loads(self.path.read_text(encoding='utf-8')),current)
+ self.assertEqual(list(self.path.parent.iterdir()),[self.path])
+
+
class LibraryWatchdogTests(unittest.TestCase):
"""扫描与采集任务的进度心跳、卡住提示、预算与失败项重试。"""
@@ -2643,13 +2666,20 @@ class LibraryWatchdogTests(unittest.TestCase):
from peach.web_library_processing import q_library_processing, w_library_processing
config = self._config(self.root / 'media')
state = {'status': 'failed', 'job_id': 'old', 'requested_stage': 'all', 'checked': 2,
- 'retryable_asset_ids': [7], 'asset_ids': [7, 8], 'completed_metadata': [8],
+ 'retryable_asset_ids': [7], 'asset_ids': [7, 8], 'completed_metadata': ['8:R:\\media\\b.mp4'],
'local_metadata': {'7': {'path': 'R:\\media\\secret\\a.mp4'}}, 'progress_seq': 3}
state_path(config).parent.mkdir(parents=True, exist_ok=True)
state_path(config).write_text(json.dumps(state), encoding='utf-8')
contract = Mock()
contract.db_path = self.root / 'database/ledger.db'
contract.library_processing_job.snapshot.return_value = None
+ from peach.repository import LedgerDatabase
+ contract.db_path.parent.mkdir(exist_ok=True)
+ fresh_ledger(contract.db_path.parent)
+ contract.database = LedgerDatabase(contract.db_path)
+ with contract.database.write_transaction() as connection:
+ connection.execute("INSERT INTO asset(id,location,path,name,medium) "
+ "VALUES(7,'local','R:\\media\\a.mp4','a.mp4','video')")
with patch('peach.web_library_processing.settings_file.active', return_value=config):
read = q_library_processing(contract, {})
# 正在跑时再点一次开始,回的是当前任务,同样只回投影。
diff --git a/tests/test_processing_control.py b/tests/test_processing_control.py
index 74cc17821..e2a3f620c 100644
--- a/tests/test_processing_control.py
+++ b/tests/test_processing_control.py
@@ -301,6 +301,151 @@ class ProcessingControlTests(unittest.TestCase):
self.assertTrue(3710 < deadline)
self.assertTrue(3800 > deadline)
+ def test_cancel_crosses_process_control_and_releases_a_paused_checkpoint(self):
+ from peach.jobs import JobCancelled
+ control = control_for(self.config)
+ with control.bind('one', publish=lambda **_: None, active=lambda: True, db_path=self.db):
+ control.request('pause', 'one')
+ external = ProcessingControl(control.path)
+ external.request('cancel', 'one')
+ control.refresh(force=True)
+ with self.assertRaises(JobCancelled):
+ checkpoint()
+ self.assertFalse(control.paused)
+ control.select_job('two')
+ self.assertFalse(control.cancelled)
+
+ def test_new_asset_ranges_keep_later_arrivals_out_of_an_existing_request(self):
+ from peach.library_new_assets import pending, remember
+ from peach.web_library_processing import _processing_request
+ from peach.repository import LedgerDatabase
+ root=self.config.directory('database')
+ root.mkdir(parents=True)
+ db=fresh_ledger(root)
+ database=LedgerDatabase(db)
+ with database.write_transaction() as connection:
+ for key in (1,2,3):
+ connection.execute("INSERT INTO asset(id,location,path,name,medium) VALUES(?,'local',?,?,'video')",
+ (key,f'R:\\Media\\{key}.mp4',f'{key}.mp4'))
+ contract=SimpleNamespace(db_path=db,database=database)
+ remember(db,[1,2])
+ _,ids,stage=_processing_request(contract,self.config,{}, {'stage':'collect','scope':'new'})
+ self.assertEqual(ids,[1,2])
+ remember(db,[3])
+ self.assertEqual(_processing_request(contract,self.config,{}, {'stage':stage,'asset_ids':ids})[1],[1,2])
+ remember(db,completed=ids)
+ self.assertEqual(pending(db),[3])
+ with self.assertRaises(ValueError):
+ _processing_request(contract,self.config,{}, {'scope':'new','retry':[]})
+ remember(db,completed=[3])
+ with self.assertRaisesRegex(ValueError,'暂无'):
+ _processing_request(contract,self.config,{}, {'scope':'new'})
+
+ def test_new_asset_range_imports_a_legacy_scan_checkpoint(self):
+ import json
+ from peach.library_new_assets import pending
+ from peach.update_tasks import state_for
+ self.seed(3)
+ state=state_for(self.db).parent/'library-processing.json'
+ state.parent.mkdir(parents=True,exist_ok=True)
+ state.write_text(json.dumps({'status':'complete','requested_stage':'scan',
+ 'scan_checkpoints':{'root':{'result':{'new_ids':[1,2,3]}}},
+ 'completed_metadata':['1:R:\\Media\\0.mp4']}),encoding='utf-8')
+ self.assertEqual(pending(self.db),[2,3])
+
+ def test_archiving_keeps_full_legacy_issues_and_export_rejects_changes(self):
+ import json
+ from peach.library_processing import state_path,_save
+ from peach.web_library_processing import q_library_processing_issues
+ from peach.repository import LedgerDatabase
+ root=self.config.directory('database')
+ root.mkdir(parents=True)
+ db=fresh_ledger(root)
+ job=Mock()
+ job.snapshot.return_value=None
+ contract=SimpleNamespace(db_path=db,database=LedgerDatabase(db),library_processing_job=job)
+ state={'job_id':'legacy','status':'failed','issue_count':250,
+ 'issues':[{'asset_id':None,'message':f'问题 {index}'} for index in range(250)]}
+ _save(state_path(self.config),state)
+ with patch('peach.web_library_processing.settings_file.active',return_value=self.config):
+ archived=w_library_processing(contract,{'action':'archive','job_id':'legacy'})
+ self.assertTrue(archived['archived'])
+ self.assertEqual(json.loads(state_path(self.config).read_text(encoding='utf-8'))['issues'],state['issues'])
+ first=q_library_processing_issues(contract,{'job_id':'legacy','limit':200})
+ last=q_library_processing_issues(contract,{'job_id':'legacy','limit':200,'offset':200,'revision':first['revision']})
+ self.assertEqual(first['rows']+last['rows'],state['issues'])
+ state['issues'].append({'asset_id':None,'message':'恢复后新增的问题'})
+ _save(state_path(self.config),state)
+ with self.assertRaisesRegex(ValueError,'变化'):
+ q_library_processing_issues(contract,{'job_id':'legacy','offset':200,'revision':first['revision']})
+
+ def test_retry_set_removes_retired_assets_without_testing_mount_availability(self):
+ from peach.repository import LedgerDatabase
+ from peach.web_library_processing import _remaining_retry_ids
+ self.seed(3)
+ database=LedgerDatabase(self.db)
+ with database.write_transaction() as connection:
+ connection.execute("UPDATE asset SET disposal='vanished' WHERE id=2")
+ connection.execute('DELETE FROM asset WHERE id=3')
+ contract=SimpleNamespace(database=database)
+ self.assertEqual(_remaining_retry_ids(contract,{'retryable_asset_ids':[1,2,3]}),[1])
+
+ def test_cancelled_recovery_is_not_replayed_after_the_writer_exits(self):
+ from peach.task_runs import TaskRunStore
+ store = TaskRunStore(self.db)
+ run = store.start('library-processing', trigger='manual')
+ job_recovery.save(self.db, 'library-processing', 'one', {'stage':'metadata'},
+ run_id=run.id, waiting=True)
+ control = control_for(self.config)
+ control.select_job('one')
+ control.request('cancel', 'one')
+ handler = Mock()
+ self.assertEqual(job_recovery.resume(self.db, {'library-processing':handler}), [])
+ handler.assert_not_called()
+ self.assertEqual(store.get(run.id).status, 'cancelled')
+ self.assertEqual(job_recovery.read(self.db, 'library-processing')['status'], 'cancelled')
+
+ def test_cancel_waits_for_inflight_work_and_retains_results(self):
+ from peach.jobs import BackgroundJob
+ from peach.library_processing import _save, state_path
+ from peach.task_runs import TaskRunStore
+ from peach.web_library_processing import q_library_processing
+ root = self.config.directory('database')
+ root.mkdir(parents=True)
+ db = fresh_ledger(root)
+ job = BackgroundJob('library-processing', runs=TaskRunStore(db))
+ contract = SimpleNamespace(db_path=db, library_processing_job=job, database=job.runs.database,
+ candidate_root=self.root/'candidates', cover_root=self.root/'covers', cache_bust=lambda:None)
+ entered, release = threading.Event(), threading.Event()
+ def process(*_args, **kwargs):
+ identity = kwargs['job_id']
+ with control_for(self.config).bind(identity, publish=lambda **v:kwargs['report'](v),
+ active=lambda:True, db_path=db):
+ _save(state_path(self.config), {'job_id':identity,'status':'running','candidates':3})
+ kwargs['report']({'candidates':3})
+ entered.set()
+ release.wait(5)
+ checkpoint()
+ self.fail('取消后不能领取下一项')
+ with patch('peach.web_library_processing.settings_file.active',return_value=self.config), patch(
+ 'peach.web_library_processing.process_library',side_effect=process):
+ initial=w_library_processing(contract,{'stage':'metadata'})
+ self.assertTrue(entered.wait(2))
+ try:
+ state=w_library_processing(contract,{'action':'cancel','job_id':initial['job_id']})
+ self.assertEqual(state['status'],'stopping')
+ self.assertEqual(job.runs.get(initial['run_id']).status,'running')
+ self.assertEqual(w_library_processing(contract,{'stage':'collect'})['job_id'],initial['job_id'])
+ finally:
+ release.set()
+ job.thread.join(5)
+ self.assertFalse(job.thread.is_alive())
+ self.assertEqual(job.snapshot()['status'],'cancelled')
+ self.assertEqual(job.snapshot()['candidates'],3)
+ self.assertEqual(job.runs.get(initial['run_id']).status,'cancelled')
+ self.assertEqual(q_library_processing(contract,{})['status'],'cancelled')
+ self.assertEqual(job_recovery.resume(db,{'library-processing':Mock()}),[])
+
def test_web_pause_and_resume_preserve_running_job_and_initial_estimate(self):
from peach.jobs import BackgroundJob
from peach.library_processing import _save, state_path
diff --git a/tests/test_push_discovery.py b/tests/test_push_discovery.py
index a999c362c..b69a2798b 100644
--- a/tests/test_push_discovery.py
+++ b/tests/test_push_discovery.py
@@ -351,6 +351,23 @@ class _ServiceCase(unittest.TestCase):
class IngestPathTests(_ServiceCase):
"""单条路径走的是扫描那段登记,不是第二套写法。"""
+ def test_new_video_queue_accepts_push_arrivals_without_readding_completed_paths(self):
+ from peach.library_new_assets import pending, remember
+ (self.media / 'new.mp4').write_bytes(b'video')
+ (self.media / 'photo.jpg').write_bytes(b'image')
+ options = dict(declared_roots=self.declared, mounts=self.mounts)
+ with mock.patch('peach.scan.time.strftime', return_value='2026-10-27 12:00:00'):
+ first = scan.ingest_path(self.db, 'local', self.ledger('local', 'new.mp4'), **options)
+ scan.ingest_path(self.db, 'local', self.ledger('local', 'photo.jpg'), **options)
+ self.assertEqual(pending(self.db), [first.asset_id])
+ remember(self.db, completed=[first.asset_id])
+ again = scan.ingest_path(self.db, 'local', self.ledger('local', 'new.mp4'), **options)
+ self.assertFalse(again.new)
+ self.assertEqual(pending(self.db), [])
+ (self.cloud / 'cloud.mp4').write_bytes(b'cloud video')
+ arrival = scan.ingest_path(self.db, '115', self.ledger('115', 'cloud.mp4'), **options)
+ self.assertEqual(pending(self.db), [arrival.asset_id])
+
def test_one_file_lands_as_one_row_with_the_ledger_shape(self):
(self.media / "创作者").mkdir()
(self.media / "创作者" / "a.mp4").write_bytes(b"0" * 12)
diff --git a/tests/test_scan.py b/tests/test_scan.py
index c2660011f..4968a2189 100644
--- a/tests/test_scan.py
+++ b/tests/test_scan.py
@@ -123,6 +123,17 @@ class WindowsShapeTests(_ScanCase):
class PosixShapeTests(_ScanCase):
"""macOS:账本里写 `R:\\media\\...`,遍历的是挂载点,读取侧按挂载表翻回去。"""
+ def test_repeated_scan_in_one_second_keeps_completed_videos_out_of_the_new_queue(self):
+ from peach.library_new_assets import pending, remember
+ options = dict(declared_roots={'local': ('R:\\media',)}, mounts={'local': (self.media,)}, windows=False)
+ with patch('peach.scan.time.strftime', return_value='2026-10-27 12:00:00'):
+ self._scan('R:\\media', **options)
+ queued = pending(self.db)
+ self.assertEqual(len(queued), 1)
+ remember(self.db, completed=queued)
+ self._scan('R:\\media', **options)
+ self.assertEqual(pending(self.db), [])
+
def test_windows_mount_mapping_has_the_same_ledger_path_contract(self):
options = dict(declared_roots={'local': ('R:\\media',)}, mounts={'local': (self.media,)}, windows=True)
self.assertEqual(scan.walk_root_for('local', 'R:\\media\\创作者', **options), self.media / '创作者')
diff --git a/tests/test_upgrade_repairs.py b/tests/test_upgrade_repairs.py
index aff275f3b..8c150cdea 100644
--- a/tests/test_upgrade_repairs.py
+++ b/tests/test_upgrade_repairs.py
@@ -411,12 +411,12 @@ class UpgradeRepairTests(unittest.TestCase):
previous = {'processing_rule':'legacy', 'completed_previews':['asset:1'],
'completed_metadata':['asset:1'], 'local_metadata':{'asset:1':{'old':True}}}
state = {'local_metadata':previous['local_metadata']}
- checkpoints = library_processing._LibraryCheckpoints(state, previous, self.database)
+ checkpoints = library_processing._LibraryCheckpoints(state, previous, self.database, self.database.db_path)
self.assertEqual(checkpoints.completed, {'completed_previews':set(), 'completed_metadata':set()})
self.assertEqual(state['local_metadata'], {})
self.assertEqual(state['processing_rule'], upgrade_rules.PROCESSING)
previous['processing_rule'] = upgrade_rules.PROCESSING
- checkpoints = library_processing._LibraryCheckpoints({}, previous, self.database)
+ checkpoints = library_processing._LibraryCheckpoints({}, previous, self.database, self.database.db_path)
self.assertEqual(checkpoints.completed['completed_metadata'], {'asset:1'})
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 59c102bd8..17511065a 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-space-y-reverse:0;--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-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-cover:132px;--container-review-cover-narrow:110px;--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-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-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-\[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-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>=600px){.container{max-width:600px}}@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-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .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)}.-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-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.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-\[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%}.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-22{max-height:calc(var(--spacing) * 22)}.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-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-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}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.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-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-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-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}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.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-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)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.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-\[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\/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\/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-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-cyan-background{background-color:var(--color-status-cyan-background)}.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-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-text-white{background-color:var(--color-text-white)}.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-\(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-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}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.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)}.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-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.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{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-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-\[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\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-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-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){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-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\: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-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.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\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.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-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.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>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@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\: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}.\[\&\>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)}.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}}@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;height:20px;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:20px;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-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]){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-release]{display:none}}@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}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: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)}@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-list]>[data-follow-empty]{grid-column:1/-1}.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]: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-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery]:has(>[data-jav-preview-toggle])>[data-player-net]{pointer-events:none;top:60px;left:16px}.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]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.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-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] [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-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[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-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[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]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[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]{object-fit:contain;flex:none;width:24px;height:24px}[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-home-logo]{width:20px;height:20px}[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}}: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-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,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)}.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 :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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@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}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}}[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-space-y-reverse:0;--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-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-cover:132px;--container-review-cover-narrow:110px;--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-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-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-\[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-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>=600px){.container{max-width:600px}}@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-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .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)}.-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-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.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-\[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%}.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-22{max-height:calc(var(--spacing) * 22)}.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-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-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}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.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-52{flex-basis:calc(var(--spacing) * 52)}.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-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-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-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}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.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-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)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.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-\[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\/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\/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-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-cyan-background{background-color:var(--color-status-cyan-background)}.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-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-text-white{background-color:var(--color-text-white)}.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-\(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-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}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.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)}.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-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.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{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-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-\[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\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-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-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){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-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\: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-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.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\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.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-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.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>=520px){.max-\[520px\]\:w-full{width:100%}}@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>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@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\: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}.\[\&\>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)}.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}}@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;height:20px;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:20px;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-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]){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-release]{display:none}}@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}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: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)}@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-list]>[data-follow-empty]{grid-column:1/-1}.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]: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-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery]:has(>[data-jav-preview-toggle])>[data-player-net]{pointer-events:none;top:60px;left:16px}.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]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.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-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] [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-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[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-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[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]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[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]{object-fit:contain;flex:none;width:24px;height:24px}[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-home-logo]{width:20px;height:20px}[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}}: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-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,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)}.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 :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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@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}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}}[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 67f7d45e3..ebb4d3084 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] = "dc0d1d22-a6c2-4ee3-89a3-4220fcd1d0e9", e._sentryDebugIdIdentifier = "sentry-dbid-dc0d1d22-a6c2-4ee3-89a3-4220fcd1d0e9");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8bad2f98-410d-408a-bca6-aac14c1b3700", e._sentryDebugIdIdentifier = "sentry-dbid-8bad2f98-410d-408a-bca6-aac14c1b3700");
} 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) => {
@@ -16883,20 +16883,20 @@ function xg(e, t, n) {
}
}
// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
-var Sg = {
+var cee = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, cee = {
+}, lee = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function lee(e, t, n = 1, r = 0, i = !0) {
+function uee(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Sg : cee;
+ let a = i ? cee : lee;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Cg = [
+var Sg = [
"transform",
"opacity",
"clipPath",
@@ -16906,24 +16906,24 @@ var Cg = [
"offsetRotate",
"offsetAnchor"
];
-function wg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+function Cg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
if (xg(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
- for (let e of Cg) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && lee(d, i, a, o, !1);
+ for (let e of Sg) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && uee(d, i, a, o, !1);
}
// node_modules/motion-dom/dist/es/effects/attr/index.mjs
-function uee(e, t) {
+function wg(e, t) {
if (!(t in e)) return !1;
let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);
return n && typeof n.set == "function";
}
var Tg = (e, t, n, r, i = n) => {
- let a = uee(e, i);
+ let a = wg(e, i);
!a && (i.startsWith("data") || i.startsWith("aria")) && (i = bg(i));
let o = Ep[n] || Ep[i], s = a ? () => {
e[i] = Lm(r.get(), Ep[n]);
@@ -16934,7 +16934,7 @@ var Tg = (e, t, n, r, i = n) => {
return t.set(n, r, s);
};
// node_modules/motion-dom/dist/es/effects/svg/index.mjs
-function dee(e, t, n, r) {
+function Eg(e, t, n, r) {
return Of.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {
let t = r.get();
e.setAttribute("stroke-dashoffset", `${-t}`);
@@ -16943,15 +16943,15 @@ function dee(e, t, n, r) {
e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);
}), t.set(n, r, void 0, t.get("stroke-dasharray")));
}
-var fee = /*@__PURE__*/ mg((e, t, n, r) => n.startsWith("path") && !Gp.has(n) ? dee(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Eg(n)) : (Gp.has(n) || gg.has(n) || um(n) || n in e.style ? vg : Tg)(e, t, n, r), {
+var Dg = /*@__PURE__*/ mg((e, t, n, r) => n.startsWith("path") && !Gp.has(n) ? Eg(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Og(n)) : (Gp.has(n) || gg.has(n) || um(n) || n in e.style ? vg : Tg)(e, t, n, r), {
test: lg,
- read: (e, t) => Gp.has(t) ? Ep[t]?.default || 0 : um(t) || Cg.includes(t) ? yg(e, t) || e.getAttribute(bg(t)) || 0 : (t = Eg(t), e.getAttribute(bg(t)) ?? e.getAttribute(t) ?? void 0)
+ read: (e, t) => Gp.has(t) ? Ep[t]?.default || 0 : um(t) || Sg.includes(t) ? yg(e, t) || e.getAttribute(bg(t)) || 0 : (t = Og(t), e.getAttribute(bg(t)) ?? e.getAttribute(t) ?? void 0)
});
-function Eg(e) {
+function Og(e) {
return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());
}
// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Dg({ top: e, left: t, right: n, bottom: r }) {
+function kg({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -16963,7 +16963,7 @@ function Dg({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function pee({ x: e, y: t }) {
+function Ag({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -16971,7 +16971,7 @@ function pee({ x: e, y: t }) {
left: e.min
};
}
-function mee(e, t) {
+function jg(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -16988,36 +16988,36 @@ function mee(e, t) {
};
}
// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Og(e) {
+function Mg(e) {
return e === void 0 || e === 1;
}
-function kg({ scale: e, scaleX: t, scaleY: n }) {
- return !Og(e) || !Og(t) || !Og(n);
+function Ng({ scale: e, scaleX: t, scaleY: n }) {
+ return !Mg(e) || !Mg(t) || !Mg(n);
}
-function Ag(e) {
- return kg(e) || jg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
+function Pg(e) {
+ return Ng(e) || Fg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
}
-function jg(e) {
- return Mg(e.x) || Mg(e.y);
+function Fg(e) {
+ return Ig(e.x) || Ig(e.y);
}
-function Mg(e) {
+function Ig(e) {
return e && e !== "0%";
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function Ng(e, t, n) {
+function Lg(e, t, n) {
return n + t * (e - n);
}
-function Pg(e, t, n, r, i) {
- return i !== void 0 && (e = Ng(e, i, r)), Ng(e, n, r) + t;
+function Rg(e, t, n, r, i) {
+ return i !== void 0 && (e = Lg(e, i, r)), Lg(e, n, r) + t;
}
-function Fg(e, t = 0, n = 1, r, i) {
- e.min = Pg(e.min, t, n, r, i), e.max = Pg(e.max, t, n, r, i);
+function zg(e, t = 0, n = 1, r, i) {
+ e.min = Rg(e.min, t, n, r, i), e.max = Rg(e.max, t, n, r, i);
}
-function Ig(e, { x: t, y: n }) {
- Fg(e.x, t.translate, t.scale, t.originPoint), Fg(e.y, n.translate, n.scale, n.originPoint);
+function Bg(e, { x: t, y: n }) {
+ zg(e.x, t.translate, t.scale, t.originPoint), zg(e.y, n.translate, n.scale, n.originPoint);
}
-var Lg = .999999999999, Rg = 1.0000000000001;
-function hee(e, t, n, r = !1) {
+var Vg = .999999999999, Hg = 1.0000000000001;
+function dee(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -17025,33 +17025,33 @@ function hee(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (zg(e.x, -a.scroll.offset.x), zg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Ig(e, o)), r && Ag(a.latestValues) && Hg(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Ug(e.x, -a.scroll.offset.x), Ug(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Bg(e, o)), r && Pg(a.latestValues) && Kg(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < Rg && t.x > Lg && (t.x = 1), t.y < Rg && t.y > Lg && (t.y = 1);
+ t.x < Hg && t.x > Vg && (t.x = 1), t.y < Hg && t.y > Vg && (t.y = 1);
}
-function zg(e, t) {
+function Ug(e, t) {
e.min += t, e.max += t;
}
-function Bg(e, t, n, r, i = .5) {
- Fg(e, t, n, sf(e.min, e.max, i), r);
+function Wg(e, t, n, r, i = .5) {
+ zg(e, t, n, sf(e.min, e.max, i), r);
}
-function Vg(e, t) {
+function Gg(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function Hg(e, t, n) {
+function Kg(e, t, n) {
let r = n ?? e;
- Bg(e.x, Vg(t.x, r.x), t.scaleX, t.scale, t.originX), Bg(e.y, Vg(t.y, r.y), t.scaleY, t.scale, t.originY);
+ Wg(e.x, Gg(t.x, r.x), t.scaleX, t.scale, t.originX), Wg(e.y, Gg(t.y, r.y), t.scaleY, t.scale, t.originY);
}
// node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function Ug(e, t) {
- return Dg(mee(e.getBoundingClientRect(), t));
+function qg(e, t) {
+ return kg(jg(e.getBoundingClientRect(), t));
}
-function gee(e, t, n) {
- let r = Ug(e, n), { scroll: i } = t;
- return i && (zg(r.x, i.offset.x), zg(r.y, i.offset.y)), r;
+function fee(e, t, n) {
+ let r = qg(e, n), { scroll: i } = t;
+ return i && (Ug(r.x, i.offset.x), Ug(r.y, i.offset.y)), r;
}
// node_modules/motion-dom/dist/es/animation/animate/element.mjs
-var _ee = {}, vee = (e) => lg(e) ? fee : see, yee = class {
+var pee = {}, mee = (e) => lg(e) ? Dg : see, hee = class {
constructor(e, t) {
this.effect = e, this.current = t, this.KeyframeResolver = tg;
}
@@ -17065,19 +17065,19 @@ var _ee = {}, vee = (e) => lg(e) ? fee : see, yee = class {
this.effect.flush(this.current);
}
measureViewportBox() {
- return Ug(this.current);
+ return qg(this.current);
}
getProps() {
- return _ee;
+ return pee;
}
};
-function bee(e, t, n, r) {
+function gee(e, t, n, r) {
if (ug.current?.track(e), r) return og((e) => r.getValue(e, null), t, n, r);
- let i = vee(e);
- return sg(i, e, t, n, new yee(i, e));
+ let i = mee(e);
+ return sg(i, e, t, n, new hee(i, e));
}
// node_modules/motion-dom/dist/es/effects/prop/index.mjs
-var xee = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {
+var _ee = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {
e[n] = r.get();
}), {
test: (e) => ku(e),
@@ -17085,19 +17085,19 @@ var xee = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {
let n = e[t];
return typeof n == "string" || typeof n == "number" ? n : void 0;
}
-}), { schedule: Wg, cancel: See } = /* @__PURE__ */ Df(queueMicrotask, !1);
+}), { schedule: Jg, cancel: vee } = /* @__PURE__ */ Df(queueMicrotask, !1);
// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function Gg(e, t, n) {
+function Yg(e, t, n) {
let r = Rh(e) ? e : hh(e);
return r.start(Th("", r, t, n)), r.animation;
}
// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs
-var Kg = {}, qg = {
+var Xg = {}, Zg = {
value: null,
addProjectionMetrics: null
};
// node_modules/motion-dom/dist/es/utils/delay.mjs
-function Jg(e, t) {
+function yee(e, t) {
let n = ld.now();
e = fg(e);
let r = ({ timestamp: i }) => {
@@ -17107,144 +17107,144 @@ function Jg(e, t) {
return Of.setup(r, !0), dg(() => kf(r));
}
// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function Cee(e) {
+function bee(e) {
return lg(e) && e.tagName === "svg";
}
// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function Yg(e) {
+function Qg(e) {
return Rh(e) ? e.get() : e;
}
// node_modules/motion-dom/dist/es/value/utils/as-number.mjs
-var Xg = (e) => typeof e == "number" ? e : parseFloat(e), wee = ng.length, Zg = [
+var $g = (e) => typeof e == "number" ? e : parseFloat(e), xee = ng.length, e_ = [
"rotate",
"rotateX",
"rotateY",
"rotateZ",
"skewX",
"skewY"
-], Tee = Zg.length, Qg = (e) => typeof e == "number" || W.test(e);
-function Eee(e, t, n, r, i, a) {
- i ? (e.opacity = sf(0, n.opacity ?? 1, Dee(r)), e.opacityExit = sf(t.opacity ?? 1, 0, Oee(r))) : a && (e.opacity = sf(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < wee; i++) {
- let a = ng[i], o = $g(t, a), s = $g(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Qg(o) === Qg(s) ? (e[a] = Math.max(sf(Xg(o), Xg(s), r), 0), (Md.test(s) || Md.test(o)) && (e[a] += "%")) : e[a] = s);
- }
- for (let i = 0; i < Tee; i++) {
- let a = Zg[i];
+], See = e_.length, t_ = (e) => typeof e == "number" || W.test(e);
+function Cee(e, t, n, r, i, a) {
+ i ? (e.opacity = sf(0, n.opacity ?? 1, wee(r)), e.opacityExit = sf(t.opacity ?? 1, 0, Tee(r))) : a && (e.opacity = sf(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < xee; i++) {
+ let a = ng[i], o = n_(t, a), s = n_(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || t_(o) === t_(s) ? (e[a] = Math.max(sf($g(o), $g(s), r), 0), (Md.test(s) || Md.test(o)) && (e[a] += "%")) : e[a] = s);
+ }
+ for (let i = 0; i < See; i++) {
+ let a = e_[i];
(t[a] || n[a]) && (e[a] = sf(t[a] || 0, n[a] || 0, r));
}
}
-function $g(e, t) {
+function n_(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var Dee = /*@__PURE__*/ e_(0, .5, Yu), Oee = /*@__PURE__*/ e_(.5, .95, Mu);
-function e_(e, t, n) {
+var wee = /*@__PURE__*/ r_(0, .5, Yu), Tee = /*@__PURE__*/ r_(.5, .95, Mu);
+function r_(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Pu(e, t, r));
}
// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function t_(e, t) {
+function i_(e, t) {
e.min = t.min, e.max = t.max;
}
-function n_(e, t) {
- t_(e.x, t.x), t_(e.y, t.y);
+function a_(e, t) {
+ i_(e.x, t.x), i_(e.y, t.y);
}
-function r_(e, t) {
+function o_(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var kee = .9999, Aee = 1.0001, jee = -.01, Mee = .01;
-function i_(e) {
+var Eee = .9999, Dee = 1.0001, Oee = -.01, kee = .01;
+function s_(e) {
return e.max - e.min;
}
-function Nee(e, t, n) {
+function Aee(e, t, n) {
return Math.abs(e - t) <= n;
}
-function a_(e, t, n, r = .5) {
- e.origin = r, e.originPoint = sf(t.min, t.max, e.origin), e.scale = i_(n) / i_(t), e.translate = sf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= kee && e.scale <= Aee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= jee && e.translate <= Mee || isNaN(e.translate)) && (e.translate = 0);
+function c_(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = sf(t.min, t.max, e.origin), e.scale = s_(n) / s_(t), e.translate = sf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Eee && e.scale <= Dee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Oee && e.translate <= kee || isNaN(e.translate)) && (e.translate = 0);
}
-function o_(e, t, n, r) {
- a_(e.x, t.x, n.x, r ? r.originX : void 0), a_(e.y, t.y, n.y, r ? r.originY : void 0);
+function l_(e, t, n, r) {
+ c_(e.x, t.x, n.x, r ? r.originX : void 0), c_(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function s_(e, t, n, r = 0) {
- e.min = (r ? sf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + i_(t);
+function u_(e, t, n, r = 0) {
+ e.min = (r ? sf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + s_(t);
}
-function Pee(e, t, n, r) {
- s_(e.x, t.x, n.x, r?.x), s_(e.y, t.y, n.y, r?.y);
+function jee(e, t, n, r) {
+ u_(e.x, t.x, n.x, r?.x), u_(e.y, t.y, n.y, r?.y);
}
-function c_(e, t, n, r = 0) {
+function d_(e, t, n, r = 0) {
let i = r ? sf(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + i_(t);
+ e.min = t.min - i, e.max = e.min + s_(t);
}
-function l_(e, t, n, r) {
- c_(e.x, t.x, n.x, r?.x), c_(e.y, t.y, n.y, r?.y);
+function f_(e, t, n, r) {
+ d_(e.x, t.x, n.x, r?.x), d_(e.y, t.y, n.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function u_(e, t, n, r, i) {
- return e -= t, e = Ng(e, 1 / n, r), i !== void 0 && (e = Ng(e, 1 / i, r)), e;
+function p_(e, t, n, r, i) {
+ return e -= t, e = Lg(e, 1 / n, r), i !== void 0 && (e = Lg(e, 1 / i, r)), e;
}
-function Fee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function Mee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (Md.test(t) && (t = parseFloat(t), t = sf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = sf(a.min, a.max, r);
- e === a && (s -= t), e.min = u_(e.min, t, n, s, i), e.max = u_(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = p_(e.min, t, n, s, i), e.max = p_(e.max, t, n, s, i);
}
-function d_(e, t, [n, r, i], a, o) {
- Fee(e, t[n], t[r], t[i], t.scale, a, o);
+function m_(e, t, [n, r, i], a, o) {
+ Mee(e, t[n], t[r], t[i], t.scale, a, o);
}
-var Iee = [
+var Nee = [
"x",
"scaleX",
"originX"
-], Lee = [
+], Pee = [
"y",
"scaleY",
"originY"
];
-function f_(e, t, n, r) {
- d_(e.x, t, Iee, n ? n.x : void 0, r ? r.x : void 0), d_(e.y, t, Lee, n ? n.y : void 0, r ? r.y : void 0);
+function h_(e, t, n, r) {
+ m_(e.x, t, Nee, n ? n.x : void 0, r ? r.x : void 0), m_(e.y, t, Pee, n ? n.y : void 0, r ? r.y : void 0);
}
// node_modules/motion-dom/dist/es/projection/geometry/models.mjs
-var p_ = () => ({
+var g_ = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), m_ = () => ({
- x: p_(),
- y: p_()
-}), h_ = () => ({
+}), __ = () => ({
+ x: g_(),
+ y: g_()
+}), v_ = () => ({
min: 0,
max: 0
-}), g_ = () => ({
- x: h_(),
- y: h_()
+}), y_ = () => ({
+ x: v_(),
+ y: v_()
});
// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function __(e) {
+function b_(e) {
return e.translate === 0 && e.scale === 1;
}
-function v_(e) {
- return __(e.x) && __(e.y);
+function x_(e) {
+ return b_(e.x) && b_(e.y);
}
-function y_(e, t) {
+function S_(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Ree(e, t) {
- return y_(e.x, t.x) && y_(e.y, t.y);
+function Fee(e, t) {
+ return S_(e.x, t.x) && S_(e.y, t.y);
}
-function b_(e, t) {
+function C_(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function x_(e, t) {
- return b_(e.x, t.x) && b_(e.y, t.y);
+function w_(e, t) {
+ return C_(e.x, t.x) && C_(e.y, t.y);
}
-function S_(e) {
- return i_(e.x) / i_(e.y);
+function T_(e) {
+ return s_(e.x) / s_(e.y);
}
-function C_(e, t) {
+function E_(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
// node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var zee = class {
+var Iee = class {
constructor() {
this.members = [];
}
@@ -17292,22 +17292,22 @@ var zee = class {
}
};
// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function w_(e, t) {
+function D_(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var T_ = { correct: (e, t) => {
+var O_ = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (W.test(e)) e = parseFloat(e);
else return e;
}
- return `${w_(e, t.target.x)}% ${w_(e, t.target.y)}%`;
-} }, Bee = {
- borderRadius: /* @__PURE__ */ Object.assign({}, T_, { applyTo: /* @__PURE__ */ ng.slice() }),
- borderTopLeftRadius: T_,
- borderTopRightRadius: T_,
- borderBottomLeftRadius: T_,
- borderBottomRightRadius: T_,
+ return `${D_(e, t.target.x)}% ${D_(e, t.target.y)}%`;
+} }, Lee = {
+ borderRadius: /* @__PURE__ */ Object.assign({}, O_, { applyTo: /* @__PURE__ */ ng.slice() }),
+ borderTopLeftRadius: O_,
+ borderTopRightRadius: O_,
+ borderBottomLeftRadius: O_,
+ borderBottomRightRadius: O_,
boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = nf.parse(e);
if (i.length > 5) return r;
@@ -17318,7 +17318,7 @@ var T_ = { correct: (e, t) => {
} }
};
// node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function Vee(e, t, n) {
+function Ree(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, rotateZ: s, skewX: c, skewY: l } = n;
@@ -17328,11 +17328,11 @@ function Vee(e, t, n) {
return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";
}
// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function E_(e) {
+function k_(e) {
return [e("x"), e("y")];
}
// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var Hee = (e, t) => e.depth - t.depth, Uee = class {
+var zee = (e, t) => e.depth - t.depth, Bee = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -17343,27 +17343,27 @@ var Hee = (e, t) => e.depth - t.depth, Uee = class {
Tu(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Hee), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(zee), this.isDirty = !1, this.children.forEach(e);
}
-}, D_ = {
+}, A_ = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, O_ = {
+}, j_ = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, k_ = [
+}, M_ = [
"",
"X",
"Y",
"Z"
-], Wee = 1e3, Gee = 0;
-function A_(e, t, n, r) {
+], Vee = 1e3, Hee = 0;
+function N_(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var j_ = ({ instance: e }) => e && Vm.get(e)?.demote();
-function M_(e) {
+var P_ = ({ instance: e }) => e && Vm.get(e)?.demote();
+function F_(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
@@ -17373,24 +17373,24 @@ function M_(e) {
window.MotionCancelOptimisedAnimation(n, "transform", Of, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && M_(r);
+ r && !r.hasCheckedOptimisedAppear && F_(r);
}
-function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
- return Object.assign(Kg, {
- ...Bee,
- ...Kg
+function I_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+ return Object.assign(Xg, {
+ ...Lee,
+ ...Xg
}), class {
constructor(e = {}, n = t?.()) {
- this.id = Gee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = Hee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, qg.value && (O_.nodes = O_.calculatedTargetDeltas = O_.calculatedProjections = 0), this.nodes.forEach(Jee), this.nodes.forEach(nte), this.nodes.forEach(rte), this.nodes.forEach(Yee), qg.addProjectionMetrics && qg.addProjectionMetrics(O_);
+ this.projectionUpdateScheduled = !1, Zg.value && (j_.nodes = j_.calculatedTargetDeltas = j_.calculatedProjections = 0), this.nodes.forEach(R_), this.nodes.forEach(Y_), this.nodes.forEach(X_), this.nodes.forEach(z_), Zg.addProjectionMetrics && Zg.addProjectionMetrics(j_);
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new Uee());
+ this.root === this && (this.nodes = new Bee());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Fu()), this.eventHandlers.get(e).add(t);
@@ -17404,7 +17404,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = lg(t) && !Cee(t), this.instance = t;
+ this.isSVG = lg(t) && !bee(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -17412,7 +17412,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Jg(i, 250), D_.hasAnimatedSinceResize && (D_.hasAnimatedSinceResize = !1, this.nodes.forEach(I_)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = yee(i, 250), A_.hasAnimatedSinceResize && (A_.hasAnimatedSinceResize = !1, this.nodes.forEach(J_)));
});
}
n && this.root.registerSharedNode(n, this), this.addLayoutListener();
@@ -17424,7 +17424,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || n.getDefaultTransition() || ste, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !x_(this.targetLayout, i), l = !t && r;
+ let a = this.options.transition || n.getDefaultTransition() || nv, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !w_(this.targetLayout, i), l = !t && r;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
@@ -17433,7 +17433,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
onComplete: s
};
(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || I_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || J_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = i;
}));
}
@@ -17452,7 +17452,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(ite), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Z_), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -17463,11 +17463,11 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && M_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
- j_(this), this.isLayoutDirty = !0;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && F_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ P_(this), this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
- t.shouldResetTransform = !0, j_(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);
+ t.shouldResetTransform = !0, P_(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);
}
let { layoutId: t, layout: n } = this.options;
if (t === void 0 && !n) return;
@@ -17477,22 +17477,22 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Zee), this.nodes.forEach(P_);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(H_), this.nodes.forEach(V_);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(F_);
+ this.nodes.forEach(U_);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach($ee), this.nodes.forEach(ete), this.nodes.forEach(tte), this.nodes.forEach(Kee), this.nodes.forEach(qee)) : this.nodes.forEach(F_), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(G_), this.nodes.forEach(K_), this.nodes.forEach(q_), this.nodes.forEach(Uee), this.nodes.forEach(L_)) : this.nodes.forEach(U_), this.clearAllSnapshots();
let e = ld.now();
od.delta = Eu(0, 1e3 / 60, e - od.timestamp), od.timestamp = e, od.isProcessing = !0, Af.update.process(od), Af.preRender.process(od), Af.render.process(od), od.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, Wg.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, Jg.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Xee), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
+ this.nodes.forEach(B_), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Of.preRender(this.updateProjection, !1, !0));
@@ -17503,13 +17503,13 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !i_(this.snapshot.measuredBox.x) && !i_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !s_(this.snapshot.measuredBox.x) && !s_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutCorrected ||= g_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutCorrected ||= y_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -17529,13 +17529,13 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
resetTransform() {
if (!i) return;
let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;
- e && j_(this);
- let t = this.projectionDelta && !v_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || Ag(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ e && P_(this);
+ let t = this.projectionDelta && !x_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Pg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), cte(n), {
+ return e && (n = this.removeTransform(n)), Wee(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -17545,42 +17545,42 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return g_();
+ if (!e) return y_();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(lte))) {
+ if (!(this.scroll?.wasRoot || this.path.some(Gee))) {
let { scroll: e } = this.root;
- e && (zg(t.x, e.offset.x), zg(t.y, e.offset.y));
+ e && (Ug(t.x, e.offset.x), Ug(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = g_();
- if (n_(t, e), this.scroll?.wasRoot) return t;
+ let t = y_();
+ if (a_(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && n_(t, e), zg(t.x, i.offset.x), zg(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && a_(t, e), Ug(t.x, i.offset.x), Ug(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n, r) {
- let i = n || g_();
- n_(i, e);
+ let i = n || y_();
+ a_(i, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (zg(i.x, -n.scroll.offset.x), zg(i.y, -n.scroll.offset.y)), Ag(n.latestValues) && Hg(i, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (Ug(i.x, -n.scroll.offset.x), Ug(i.y, -n.scroll.offset.y)), Pg(n.latestValues) && Kg(i, n.latestValues, n.layout?.layoutBox);
}
- return !r && Ag(this.latestValues) && Hg(i, this.latestValues, this.layout?.layoutBox), i;
+ return !r && Pg(this.latestValues) && Kg(i, this.latestValues, this.layout?.layoutBox), i;
}
removeTransform(e) {
- let t = g_();
- n_(t, e);
+ let t = y_();
+ a_(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!Ag(n.latestValues)) continue;
+ if (!Pg(n.latestValues)) continue;
let r;
- n.instance && (kg(n.latestValues) && n.updateSnapshot(), r = g_(), n_(r, n.measurePageBox())), f_(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Ng(n.latestValues) && n.updateSnapshot(), r = y_(), a_(r, n.measurePageBox())), h_(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Ag(this.latestValues) && f_(t, this.latestValues), t;
+ return Pg(this.latestValues) && h_(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -17607,16 +17607,16 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = od.timestamp;
let a = this.getClosestProjectingParent();
- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = g_(), this.targetWithTransforms = g_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Pee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : n_(this.target, this.layout.layoutBox), Ig(this.target, this.targetDelta)) : n_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), qg.value && O_.calculatedTargetDeltas++);
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = y_(), this.targetWithTransforms = y_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), jee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : a_(this.target, this.layout.layoutBox), Bg(this.target, this.targetDelta)) : a_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Zg.value && j_.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || kg(this.parent.latestValues) || jg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Ng(this.parent.latestValues) || Fg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = g_(), this.relativeTargetOrigin = g_(), l_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), n_(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = y_(), this.relativeTargetOrigin = y_(), f_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), a_(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -17626,11 +17626,11 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === od.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- n_(this.layoutCorrected, this.layout.layoutBox);
+ a_(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- hee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = g_());
+ dee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = y_());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (r_(this.prevProjectionDelta.x, this.projectionDelta.x), r_(this.prevProjectionDelta.y, this.projectionDelta.y)), o_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && C_(this.projectionDelta.x, this.prevProjectionDelta.x) && C_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), qg.value && O_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (o_(this.prevProjectionDelta.x, this.projectionDelta.x), o_(this.prevProjectionDelta.y, this.projectionDelta.y)), l_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && E_(this.projectionDelta.x, this.prevProjectionDelta.x) && E_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Zg.value && j_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -17646,22 +17646,22 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = m_(), this.projectionDelta = m_(), this.projectionDeltaWithTransform = m_();
+ this.prevProjectionDelta = __(), this.projectionDelta = __(), this.projectionDeltaWithTransform = __();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = m_();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = __();
this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = g_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(ote));
+ let s = y_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(tv));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = sf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = sf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (L_(o.x, e.x, n), L_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (l_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ate(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ree(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= g_(), n_(f, this.relativeTarget)), c && (this.animationValues = a, Eee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = sf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = sf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Q_(o.x, e.x, n), Q_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (f_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ev(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Fee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= y_(), a_(f, this.relativeTarget)), c && (this.animationValues = a, Cee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (kf(this.pendingAnimation), void 0), this.pendingAnimation = Of.update(() => {
- D_.hasAnimatedSinceResize = !0, this.motionValue ||= hh(0), this.motionValue.jump(0, !1), this.currentAnimation = Gg(this.motionValue, [0, 1e3], {
+ A_.hasAnimatedSinceResize = !0, this.motionValue ||= hh(0), this.motionValue.jump(0, !1), this.currentAnimation = Yg(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -17680,23 +17680,23 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Wee), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Vee), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;
if (t && i && n) {
- if (this !== e && this.layout && n && H_(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
- i = this.target || g_();
- let t = i_(this.layout.layoutBox.x);
+ if (this !== e && this.layout && n && ov(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ i = this.target || y_();
+ let t = s_(this.layout.layoutBox.x);
i.x.min = e.target.x.min, i.x.max = i.x.min + t;
- let n = i_(this.layout.layoutBox.y);
+ let n = s_(this.layout.layoutBox.y);
i.y.min = e.target.y.min, i.y.max = i.y.min + n;
}
- n_(t, i), Hg(t, r), o_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ a_(t, i), Kg(t, r), l_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new zee()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Iee()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -17733,8 +17733,8 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && A_("z", e, r, this.animationValues);
- for (let t = 0; t < k_.length; t++) A_(`rotate${k_[t]}`, e, r, this.animationValues), A_(`skew${k_[t]}`, e, r, this.animationValues);
+ n.z && N_("z", e, r, this.animationValues);
+ for (let t = 0; t < M_.length; t++) N_(`rotate${M_[t]}`, e, r, this.animationValues), N_(`skew${M_[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -17747,71 +17747,71 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Yg(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Qg(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Yg(t?.pointerEvents) || ""), this.hasProjected && !Ag(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Qg(t?.pointerEvents) || ""), this.hasProjected && !Pg(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = Vee(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = Ree(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in Kg) {
+ for (let t in Xg) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = Kg[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = Xg[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? Yg(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? Qg(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(P_), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(V_), this.root.sharedNodes.clear();
}
};
}
-function Kee(e) {
- e.updateLayout(), Qee(e);
+function Uee(e) {
+ e.updateLayout(), W_(e);
}
-function qee(e) {
+function L_(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") E_((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = i_(r);
+ if (i === "size") k_((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = s_(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- t_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else H_(i, t.layoutBox, n) && E_((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = i_(n[r]);
+ i_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else ov(i, t.layoutBox, n) && k_((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = s_(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = m_();
- o_(o, n, t.layoutBox);
- let s = m_();
- a ? o_(s, e.applyTransform(r, !0), t.measuredBox) : o_(s, n, t.layoutBox);
- let c = !v_(o), l = !1;
+ let o = __();
+ l_(o, n, t.layoutBox);
+ let s = __();
+ a ? l_(s, e.applyTransform(r, !0), t.measuredBox) : l_(s, n, t.layoutBox);
+ let c = !x_(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = g_();
- l_(s, t.layoutBox, i.layoutBox, o);
- let c = g_();
- l_(c, n, a.layoutBox, o), x_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = y_();
+ f_(s, t.layoutBox, i.layoutBox, o);
+ let c = y_();
+ f_(c, n, a.layoutBox, o), w_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -17829,65 +17829,65 @@ function qee(e) {
}
e.options.transition = void 0;
}
-function Jee(e) {
- qg.value && O_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function R_(e) {
+ Zg.value && j_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function Yee(e) {
+function z_(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Xee(e) {
+function B_(e) {
e.clearSnapshot();
}
-function P_(e) {
+function V_(e) {
e.clearMeasurements();
}
-function Zee(e) {
+function H_(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function F_(e) {
+function U_(e) {
e.isLayoutDirty = !1;
}
-function Qee(e) {
+function W_(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- E_((e) => zg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ k_((e) => Ug(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function $ee(e) {
+function G_(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function ete(e) {
+function K_(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function tte(e) {
+function q_(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function I_(e) {
+function J_(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function nte(e) {
+function Y_(e) {
e.resolveTargetDelta();
}
-function rte(e) {
+function X_(e) {
e.calcProjection();
}
-function ite(e) {
+function Z_(e) {
e.resetSkewAndRotation();
}
-function L_(e, t, n) {
+function Q_(e, t, n) {
e.translate = sf(t.translate, 0, n), e.scale = sf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function R_(e, t, n, r) {
+function $_(e, t, n, r) {
e.min = sf(t.min, n.min, r), e.max = sf(t.max, n.max, r);
}
-function ate(e, t, n, r) {
- R_(e.x, t.x, n.x, r), R_(e.y, t.y, n.y, r);
+function ev(e, t, n, r) {
+ $_(e.x, t.x, n.x, r), $_(e.y, t.y, n.y, r);
}
-function ote(e) {
+function tv(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var ste = {
+var nv = {
duration: .45,
ease: [
.4,
@@ -17895,58 +17895,58 @@ var ste = {
.1,
1
]
-}, z_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), B_ = z_("applewebkit/") && !z_("chrome/") ? Math.round : Mu;
-function V_(e) {
- e.min = B_(e.min), e.max = B_(e.max);
+}, rv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), iv = rv("applewebkit/") && !rv("chrome/") ? Math.round : Mu;
+function av(e) {
+ e.min = iv(e.min), e.max = iv(e.max);
}
-function cte(e) {
- V_(e.x), V_(e.y);
+function Wee(e) {
+ av(e.x), av(e.y);
}
-function H_(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Nee(S_(t), S_(n), .2);
+function ov(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !Aee(T_(t), T_(n), .2);
}
-function lte(e) {
+function Gee(e) {
return e !== e.root && e.scroll?.wasRoot;
}
// node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function U_(e, t, n, r = { passive: !0 }) {
+function sv(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var ute = /* @__PURE__ */ N_({
- attachResizeListener: (e, t) => U_(e, "resize", t),
+var Kee = /* @__PURE__ */ I_({
+ attachResizeListener: (e, t) => sv(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), W_ = { current: void 0 }, G_ = /* @__PURE__ */ N_({
+}), cv = { current: void 0 }, lv = /* @__PURE__ */ I_({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!W_.current) {
- let e = new ute({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), W_.current = e;
+ if (!cv.current) {
+ let e = new Kee({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), cv.current = e;
}
- return W_.current;
+ return cv.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), K_ = /* @__PURE__ */ new WeakMap();
+}), uv = /* @__PURE__ */ new WeakMap();
// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function q_(e) {
+function dv(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function J_(e) {
+function fv(e) {
return typeof e == "string" || Array.isArray(e);
}
// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var Y_ = [
+var pv = [
"animate",
"whileInView",
"whileFocus",
@@ -17954,18 +17954,18 @@ var Y_ = [
"whileTap",
"whileDrag",
"exit"
-], X_ = /* @__PURE__ */ ["initial"].concat(Y_);
+], mv = /* @__PURE__ */ ["initial"].concat(pv);
// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function Z_(e) {
- if (q_(e.animate)) return !0;
- for (let t = 0; t < X_.length; t++) if (J_(e[X_[t]])) return !0;
+function hv(e) {
+ if (dv(e.animate)) return !0;
+ for (let t = 0; t < mv.length; t++) if (fv(e[mv[t]])) return !0;
return !1;
}
-function Q_(e) {
- return !!(Z_(e) || e.variants);
+function gv(e) {
+ return !!(hv(e) || e.variants);
}
// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function dte(e, t, n) {
+function qee(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
if (Rh(i)) e.addValue(r, i);
@@ -17984,17 +17984,17 @@ function dte(e, t, n) {
return t;
}
// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var $_ = { current: null }, ev = { current: !1 }, fte = typeof window < "u";
-function tv() {
- if (ev.current = !0, fte) {
+var _v = { current: null }, vv = { current: !1 }, Jee = typeof window < "u";
+function yv() {
+ if (vv.current = !0, Jee) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => $_.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => _v.current = e.matches;
e.addEventListener("change", t), t();
- } else $_.current = !1;
+ } else _v.current = !1;
}
}
// node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var nv = [
+var bv = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -18002,14 +18002,14 @@ var nv = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], rv = {};
-function iv(e) {
- rv = e;
+], xv = {};
+function Sv(e) {
+ xv = e;
}
-function av() {
- return rv;
+function Yee() {
+ return xv;
}
-var ov = class {
+var Xee = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
@@ -18021,7 +18021,7 @@ var ov = class {
this.renderScheduledAt < e && (this.renderScheduledAt = e, Of.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Z_(t), this.isVariantNode = Q_(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = hv(t), this.isVariantNode = gv(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
@@ -18030,7 +18030,7 @@ var ov = class {
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- if (this.current = e, K_.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {
+ if (this.current = e, uv.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {
let e = this;
do
e = e.props.inherit !== !1 && e.parent;
@@ -18040,7 +18040,7 @@ var ov = class {
t.add(this), this.removeFromVariantTree = () => t.delete(this);
}
}
- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (ev.current || tv(), this.shouldReduceMotion = $_.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (vv.current || yv(), this.shouldReduceMotion = _v.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection && this.projection.unmount(), kf(this.notifyUpdate), kf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
@@ -18086,8 +18086,8 @@ var ov = class {
}
updateFeatures() {
let e = "animation";
- for (e in rv) {
- let t = rv[e];
+ for (e in xv) {
+ let t = xv[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -18100,7 +18100,7 @@ var ov = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : g_();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : y_();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -18111,13 +18111,13 @@ var ov = class {
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
(e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Vm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < nv.length; t++) {
- let n = nv[t];
+ for (let t = 0; t < bv.length; t++) {
+ let n = bv[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = dte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = qee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -18166,9 +18166,9 @@ var ov = class {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- Wg.render(this.render);
+ Jg.render(this.render);
}
-}, sv = class extends ov {
+}, Cv = class extends Xee {
constructor() {
super(...arguments), this.KeyframeResolver = tg;
}
@@ -18191,29 +18191,29 @@ var ov = class {
}
};
// node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function cv(e, { style: t, vars: n }, r, i) {
+function wv(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function lv(e, { layout: t, layoutId: n }) {
- return Gp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Kg[e] || e === "opacity");
+function Tv(e, { layout: t, layoutId: n }) {
+ return Gp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Xg[e] || e === "opacity");
}
// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function uv(e, t, n) {
+function Ev(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (Rh(r[t]) || i && Rh(i[t]) || lv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (Rh(r[t]) || i && Rh(i[t]) || Tv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function pte(e) {
+function Zee(e) {
return window.getComputedStyle(e);
}
-var mte = class extends sv {
+var Qee = class extends Cv {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = cv;
+ super(...arguments), this.type = "html", this.renderInstance = wv;
}
mount(e) {
e.style, super.mount(e);
@@ -18221,69 +18221,69 @@ var mte = class extends sv {
readValueFromInstance(e, t) {
if (Gp.has(t)) return this.projection?.isProjecting ? Bp(t) : Hp(e, t);
{
- let n = pte(e), r = (fd(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = Zee(e), r = (fd(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return Ug(e, t);
+ return qg(e, t);
}
build(e, t, n) {
xg(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return uv(e, t, n);
+ return Ev(e, t, n);
}
-}, dv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
+}, Dv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
// node_modules/motion-dom/dist/es/events/event-info.mjs
-function fv(e) {
+function Ov(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var hte = (e) => (t) => dv(t) && e(t, fv(t));
+var $ee = (e) => (t) => Dv(t) && e(t, Ov(t));
// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs
-function pv(e, t, n, r) {
- return U_(e, t, hte(n), r);
+function kv(e, t, n, r) {
+ return sv(e, t, $ee(n), r);
}
// node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var mv = /* @__PURE__ */ new WeakMap(), hv, gv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : lg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], gte = /*@__PURE__*/ gv("inline", "width", "offsetWidth"), _te = /*@__PURE__*/ gv("block", "height", "offsetHeight");
-function vte({ target: e, borderBoxSize: t }) {
- mv.get(e)?.forEach((n) => {
+var Av = /* @__PURE__ */ new WeakMap(), jv, Mv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : lg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ete = /*@__PURE__*/ Mv("inline", "width", "offsetWidth"), tte = /*@__PURE__*/ Mv("block", "height", "offsetHeight");
+function nte({ target: e, borderBoxSize: t }) {
+ Av.get(e)?.forEach((n) => {
n(e, {
get width() {
- return gte(e, t);
+ return ete(e, t);
},
get height() {
- return _te(e, t);
+ return tte(e, t);
}
});
});
}
-function yte(e) {
- e.forEach(vte);
+function rte(e) {
+ e.forEach(nte);
}
-function bte() {
- typeof ResizeObserver < "u" && (hv = new ResizeObserver(yte));
+function ite() {
+ typeof ResizeObserver < "u" && (jv = new ResizeObserver(rte));
}
-function xte(e, t) {
- hv || bte();
+function ate(e, t) {
+ jv || ite();
let n = pg(e);
return n.forEach((e) => {
- let n = mv.get(e);
- n || (n = /* @__PURE__ */ new Set(), mv.set(e, n)), n.add(t), hv?.observe(e);
+ let n = Av.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Av.set(e, n)), n.add(t), jv?.observe(e);
}), () => {
n.forEach((e) => {
- let n = mv.get(e);
- n?.delete(t), n?.size || hv?.unobserve(e);
+ let n = Av.get(e);
+ n?.delete(t), n?.size || jv?.unobserve(e);
});
};
}
// node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var _v = /* @__PURE__ */ new Set(), vv;
-function Ste() {
- vv = () => {
+var Nv = /* @__PURE__ */ new Set(), Pv;
+function ote() {
+ Pv = () => {
let e = {
get width() {
return window.innerWidth;
@@ -18292,26 +18292,26 @@ function Ste() {
return window.innerHeight;
}
};
- _v.forEach((t) => t(e));
- }, window.addEventListener("resize", vv);
+ Nv.forEach((t) => t(e));
+ }, window.addEventListener("resize", Pv);
}
-function Cte(e) {
- return _v.add(e), vv || Ste(), () => {
- _v.delete(e), !_v.size && typeof vv == "function" && (window.removeEventListener("resize", vv), vv = void 0);
+function ste(e) {
+ return Nv.add(e), Pv || ote(), () => {
+ Nv.delete(e), !Nv.size && typeof Pv == "function" && (window.removeEventListener("resize", Pv), Pv = void 0);
};
}
// node_modules/motion-dom/dist/es/resize/index.mjs
-function yv(e, t) {
- return dg(typeof e == "function" ? Cte(e) : xte(e, t));
+function Fv(e, t) {
+ return dg(typeof e == "function" ? ste(e) : ate(e, t));
}
// node_modules/motion-dom/dist/es/utils/distance.mjs
-var bv = (e, t) => Math.abs(e - t);
-function wte(e, t) {
- let n = bv(e.x, t.x), r = bv(e.y, t.y);
+var Iv = (e, t) => Math.abs(e - t);
+function cte(e, t) {
+ let n = Iv(e.x, t.x), r = Iv(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs
-var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {
+var Lv = /*#__PURE__*/ new Set(["auto", "scroll"]), Rv = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -18319,8 +18319,8 @@ var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Cv(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Tv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = wte(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = zv(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Vv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = cte(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -18333,33 +18333,33 @@ var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Cv(t, this.transformPagePoint), this.hasPendingMove = !0, Of.update(this.updatePoint, !0);
+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = zv(t, this.transformPagePoint), this.hasPendingMove = !0, Of.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.hasPendingMove && this.updatePoint(), this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Tv(e.type === "pointercancel" ? this.lastMoveEventInfo : Cv(t, this.transformPagePoint), this.history);
+ let a = Vv(e.type === "pointercancel" ? this.lastMoveEventInfo : zv(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !dv(e)) return;
+ }, !Dv(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = Cv(fv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = od;
+ let s = zv(Ov(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = od;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, Tv(s, this.history));
+ u && u(e, Vv(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Nu(pv(this.contextWindow, "pointermove", this.handlePointerMove, d), pv(this.contextWindow, "pointerup", this.handlePointerUp, d), pv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Nu(kv(this.contextWindow, "pointermove", this.handlePointerMove, d), kv(this.contextWindow, "pointerup", this.handlePointerUp, d), kv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (xv.has(e.overflowX) || xv.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (Lv.has(e.overflowX) || Lv.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -18393,35 +18393,35 @@ var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), kf(this.updatePoint);
}
};
-function Cv(e, t) {
+function zv(e, t) {
return t ? { point: t(e.point) } : e;
}
-function wv(e, t) {
+function Bv(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Tv({ point: e }, t) {
+function Vv({ point: e }, t) {
return {
point: e,
- delta: wv(e, Ev(t)),
- offset: wv(e, Tte(t)),
- velocity: Ete(t, .1)
+ delta: Bv(e, Hv(t)),
+ offset: Bv(e, lte(t)),
+ velocity: ute(t, .1)
};
}
-function Tte(e) {
+function lte(e) {
return e[0];
}
-function Ev(e) {
+function Hv(e) {
return e[e.length - 1];
}
-function Ete(e, t) {
+function ute(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = Ev(e);
+ let n = e.length - 1, r = null, i = Hv(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Iu(t)));) n--;
if (!r) return {
x: 0,
@@ -18440,100 +18440,100 @@ function Ete(e, t) {
return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;
}
// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs
-var Dte = /* @__PURE__ */ new Set([
+var dte = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Ote(e) {
- return Dte.has(e.tagName) || e.isContentEditable === !0;
+function fte(e) {
+ return dte.has(e.tagName) || e.isContentEditable === !0;
}
-var kte = /* @__PURE__ */ new Set([
+var pte = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Ate(e) {
- return kte.has(e.tagName) || e.isContentEditable === !0;
+function mte(e) {
+ return pte.has(e.tagName) || e.isContentEditable === !0;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
-var Dv = {
+var Uv = {
x: !1,
y: !1
};
-function Ov() {
- return Dv.x || Dv.y;
+function Wv() {
+ return Uv.x || Uv.y;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function jte(e) {
- return e === "x" || e === "y" ? Dv[e] ? null : (Dv[e] = !0, () => {
- Dv[e] = !1;
- }) : Dv.x || Dv.y ? null : (Dv.x = Dv.y = !0, () => {
- Dv.x = Dv.y = !1;
+function hte(e) {
+ return e === "x" || e === "y" ? Uv[e] ? null : (Uv[e] = !0, () => {
+ Uv[e] = !1;
+ }) : Uv.x || Uv.y ? null : (Uv.x = Uv.y = !0, () => {
+ Uv.x = Uv.y = !1;
});
}
// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs
-function Mte(e, { min: t, max: n }, r) {
+function gte(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? sf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? sf(n, e, r.max) : Math.min(e, n)), e;
}
-function kv(e, t, n) {
+function Gv(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Nte(e, { top: t, left: n, bottom: r, right: i }) {
+function _te(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: kv(e.x, n, i),
- y: kv(e.y, t, r)
+ x: Gv(e.x, n, i),
+ y: Gv(e.y, t, r)
};
}
-function Av(e, t) {
+function Kv(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function Pte(e, t) {
+function vte(e, t) {
return {
- x: Av(e.x, t.x),
- y: Av(e.y, t.y)
+ x: Kv(e.x, t.x),
+ y: Kv(e.y, t.y)
};
}
-function Fte(e, t) {
- let n = .5, r = i_(e), i = i_(t);
+function yte(e, t) {
+ let n = .5, r = s_(e), i = s_(t);
return i > r ? n = /* @__PURE__ */ Pu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Pu(e.min, e.max - i, t.min)), Eu(0, 1, n);
}
-function Ite(e, t) {
+function bte(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var jv = .35;
-function Lte(e = jv) {
- return e === !1 ? e = 0 : e === !0 && (e = jv), {
- x: Mv(e, "left", "right"),
- y: Mv(e, "top", "bottom")
+var qv = .35;
+function xte(e = qv) {
+ return e === !1 ? e = 0 : e === !0 && (e = qv), {
+ x: Jv(e, "left", "right"),
+ y: Jv(e, "top", "bottom")
};
}
-function Mv(e, t, n) {
+function Jv(e, t, n) {
return {
- min: Nv(e, t),
- max: Nv(e, n)
+ min: Yv(e, t),
+ max: Yv(e, n)
};
}
-function Nv(e, t) {
+function Yv(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs
-var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
+var Ste = /* @__PURE__ */ new WeakMap(), Cte = class {
constructor(e, t = () => e.getProps()) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = g_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = y_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
@@ -18542,15 +18542,15 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
t && this.snapToCursor(e), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = jte(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), E_((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = hte(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), k_((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
if (md(t) && (t = Oh(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);
else if (Md.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = i_(r) * (parseFloat(t) / 100));
+ r && (t = s_(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
@@ -18563,7 +18563,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- if (this.currentDirection = Vte(o), this.currentDirection === null) return;
+ if (this.currentDirection = Tte(o), this.currentDirection === null) return;
i && i(this.currentDirection);
}
this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Of.update(() => a(e, t), !1, !0);
@@ -18576,7 +18576,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new Sv(e, {
+ this.panSession = new Rv(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -18610,32 +18610,32 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !Lv(e, r, this.currentDirection)) return;
+ if (!n || !$v(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Mte(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = gte(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- Pv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Nte(n.layoutBox, e) : !1, this.elastic = Lte(t), r !== this.constraints && !Pv(e) && n && this.constraints && !this.hasMutatedConstraints && E_((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Ite(n.layoutBox[e], this.constraints[e]));
+ Xv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? _te(n.layoutBox, e) : !1, this.elastic = xte(t), r !== this.constraints && !Xv(e) && n && this.constraints && !this.hasMutatedConstraints && k_((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = bte(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!Pv(e)) return !1;
- let n = Fv(e), { projection: r } = this.visualElement;
+ if (!Xv(e)) return !1;
+ let n = Zv(e), { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = gee(n, r.root, this.visualElement.getTransformPagePoint()), a = Pte(r.layout.layoutBox, i);
+ let i = fee(n, r.root, this.visualElement.getTransformPagePoint()), a = vte(r.layout.layoutBox, i);
if (t) {
- let e = t(pee(a));
- this.hasMutatedConstraints = !!e, e && (a = Dg(e));
+ let e = t(Ag(a));
+ this.hasMutatedConstraints = !!e, e && (a = kg(e));
}
return a;
}
startAnimation(e, t) {
- let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = E_((s) => {
- if (!Lv(s, t || n, this.currentDirection)) return;
+ let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = k_((s) => {
+ if (!$v(s, t || n, this.currentDirection)) return;
let l = c && c[s] || {};
(o === !0 || o === s) && (l = {
min: 0,
@@ -18661,7 +18661,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
return Bh(this.visualElement, e), n.start(Th(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- E_((e) => this.getAxisMotionValue(e).stop());
+ k_((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
@@ -18672,8 +18672,8 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
x: e,
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
- E_((e) => {
- if (!Lv(e, n, this.currentDirection)) return;
+ k_((e) => {
+ if (!$v(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - sf(r, o, .5));
});
@@ -18681,41 +18681,41 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!Pv(t) || !n || !this.constraints) return;
+ if (!Xv(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- E_((e) => {
+ k_((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = Fte({
+ i[e] = yte({
min: t,
max: t
}, r[e]);
});
let { transformTemplate: a } = this.visualElement.getProps();
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), E_((t) => {
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), k_((t) => {
let n = this.getAxisMotionValue(t);
- if (!Lv(t, e, null) || !n.get()) return;
+ if (!$v(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(sf(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Rte.set(this.visualElement, this);
- let e = this.visualElement.current, t = pv(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Ate(i);
+ Ste.set(this.visualElement, this);
+ let e = this.visualElement.current, t = kv(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && mte(i);
n && r && !a && this.start(t);
}), n, r = () => {
- let { dragConstraints: t } = this.getProps(), r = Pv(t) && Fv(t);
- r && (this.constraints = this.resolveRefConstraints(), n ||= Bte(e, r, () => this.scalePositionWithinConstraints()));
+ let { dragConstraints: t } = this.getProps(), r = Xv(t) && Zv(t);
+ r && (this.constraints = this.resolveRefConstraints(), n ||= wte(e, r, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Of.read(r);
- let o = U_(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (E_((t) => {
- if (!Lv(t, this.getProps().drag, this.currentDirection)) return;
+ let o = sv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (k_((t) => {
+ if (!$v(t, this.getProps().drag, this.currentDirection)) return;
let n = this.getAxisMotionValue(t);
this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);
}), this.visualElement.render());
@@ -18725,7 +18725,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
};
}
getProps() {
- let e = this.readProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = jv, dragMomentum: o = !0 } = e;
+ let e = this.readProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = qv, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -18737,31 +18737,31 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {
};
}
};
-function Pv(e) {
+function Xv(e) {
return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);
}
-var Fv = (e) => "current" in e ? e.current : e;
-function Iv(e) {
+var Zv = (e) => "current" in e ? e.current : e;
+function Qv(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function Bte(e, t, n) {
- let r = yv(e, Iv(n)), i = yv(t, Iv(n));
+function wte(e, t, n) {
+ let r = Fv(e, Qv(n)), i = Fv(t, Qv(n));
return () => {
r(), i();
};
}
-function Lv(e, t, n) {
+function $v(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Vte(e, t = 10) {
+function Tte(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function Rv(e, t) {
+function ey(e, t) {
let n = pg(e), r = new AbortController();
return [
n,
@@ -18774,12 +18774,12 @@ function Rv(e, t) {
];
}
// node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Hte(e) {
- return !(e.pointerType === "touch" || Ov());
+function Ete(e) {
+ return !(e.pointerType === "touch" || Wv());
}
-function Ute(e, t, n = {}) {
+function Dte(e, t, n = {}) {
t = fg(t);
- let [r, i, a] = Rv(e, n);
+ let [r, i, a] = ey(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -18793,7 +18793,7 @@ function Ute(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!Hte(n)) return;
+ if (!Ete(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -18801,71 +18801,71 @@ function Ute(e, t, n = {}) {
}), a;
}
// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var zv = (e, t) => t ? e === t || zv(e, t.parentElement) : !1, Bv = /* @__PURE__ */ new WeakSet();
+var ty = (e, t) => t ? e === t || ty(e, t.parentElement) : !1, ny = /* @__PURE__ */ new WeakSet();
// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function Vv(e) {
+function ry(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function Hv(e, t) {
+function iy(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Wte = (e, t) => {
- let n = !1, r = Vv(() => {
- Bv.has(e) || (n = !0, Hv(e, "down"));
- }), i = Vv(() => {
- n && (n = !1, Hv(e, "up"));
+var Ote = (e, t) => {
+ let n = !1, r = ry(() => {
+ ny.has(e) || (n = !0, iy(e, "down"));
+ }), i = ry(() => {
+ n && (n = !1, iy(e, "up"));
});
e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {
- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && Hv(e, "cancel");
+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && iy(e, "cancel");
}, {
...t,
once: !0
});
};
// node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function Uv(e) {
- return dv(e) && !Ov();
+function ay(e) {
+ return Dv(e) && !Wv();
}
-var Wv = /* @__PURE__ */ new WeakSet();
-function Gte(e, t, n = {}) {
+var oy = /* @__PURE__ */ new WeakSet();
+function kte(e, t, n = {}) {
t = fg(t);
- let [r, i, a] = Rv(e, n), o = (e) => {
+ let [r, i, a] = ey(e, n), o = (e) => {
let r = e.currentTarget;
- if (!Uv(e) || Wv.has(e)) return;
- Bv.add(r), n.stopPropagation && Wv.add(e);
+ if (!ay(e) || oy.has(e)) return;
+ ny.add(r), n.stopPropagation && oy.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Bv.has(r) && Bv.delete(r), Uv(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ny.has(r) && ny.delete(r), ay(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || zv(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || ty(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), cg(e) && (e.addEventListener("focus", () => Wte(e, i), i), !Ote(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), cg(e) && (e.addEventListener("focus", () => Ote(e, i), i), !fte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function Gv(e, t) {
+function sy(e, t) {
let n = window.getComputedStyle(e);
return um(t) ? n.getPropertyValue(t) : n[t];
}
// node_modules/motion-dom/dist/es/render/Feature.mjs
-var Kv = class {
+var cy = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
update() {}
-}, qv = /* @__PURE__ */ new Set([
+}, ly = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -18889,15 +18889,15 @@ var Kv = class {
"startOffset",
"textLength",
"lengthAdjust"
-]), Jv = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), uy = (e) => typeof e == "string" && e.toLowerCase() === "svg";
// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function Kte(e, t, n, r) {
- cv(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(qv.has(n) ? n : bg(n), t.attrs[n]);
+function Ate(e, t, n, r) {
+ wv(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(ly.has(n) ? n : bg(n), t.attrs[n]);
}
// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function Yv(e, t, n) {
- let r = uv(e, t, n);
+function dy(e, t, n) {
+ let r = Ev(e, t, n);
for (let n in e) if (n !== "children" && (Rh(e[n]) || Rh(t[n]))) {
let t = Wp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
@@ -18905,9 +18905,9 @@ function Yv(e, t, n) {
return r;
}
// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var qte = class extends sv {
+var jte = class extends Cv {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = g_;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = y_;
}
getBaseTargetFromProps(e, t) {
return Gp.has(t) ? super.getBaseTargetFromProps(e, t) ?? Bp(t) : e[t];
@@ -18920,27 +18920,27 @@ var qte = class extends sv {
let e = Op(t);
return e && e.default || 0;
}
- if (Cg.includes(t)) {
+ if (Sg.includes(t)) {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = qv.has(t) ? t : bg(t), e.getAttribute(t);
+ return t = ly.has(t) ? t : bg(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Yv(e, t, n);
+ return dy(e, t, n);
}
build(e, t, n) {
- wg(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ Cg(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- Kte(e, t, n, r);
+ Ate(e, t, n, r);
}
mount(e) {
- this.isSVGTag = Jv(e.tagName), super.mount(e);
+ this.isSVGTag = uy(e.tagName), super.mount(e);
}
};
// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function Xv(e, t) {
+function fy(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -18948,19 +18948,19 @@ function Xv(e, t) {
return !0;
}
// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Jte = [...Y_].reverse();
-function Yte(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => qh(e, t, n))), n = Zv(), r = !0, i = !1;
+var Mte = [...pv].reverse();
+function Nte(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => qh(e, t, n))), n = py(), r = !0, i = !1;
function a(a) {
let { props: o, parent: s, manuallyAnimateOnMount: c } = e, l = r || i, u = [], d = /* @__PURE__ */ new Set(), f = {}, p = Infinity, m = e;
do
m = m.props.inherit !== !1 && m.parent;
while (m && !m.isControllingVariants);
- if (Jte.forEach((t, r) => {
- let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? J_(g) || g === !1 ? g : void 0 : h, v = J_(_), y = t === a ? i.isActive : null;
+ if (Mte.forEach((t, r) => {
+ let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? fv(g) || g === !1 ? g : void 0 : h, v = fv(_), y = t === a ? i.isActive : null;
y === !1 && (p = r);
let b = v && h === void 0 && !(l && c);
- if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || q_(_) || typeof _ == "boolean") return;
+ if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || dv(_) || typeof _ == "boolean") return;
if (t === "exit" && i.isActive && y !== !0) {
f = {
...f,
@@ -18968,7 +18968,7 @@ function Yte(e) {
};
return;
}
- let x = Xte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};
+ let x = Pte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};
if (y !== !1) for (let n of w) {
let { transition: r, transitionEnd: i, ...a } = jh(e, n, Mh(e, t)) || {};
T = {
@@ -18983,7 +18983,7 @@ function Yte(e) {
...T
}) {
if (t in f) continue;
- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !Xv(n, r) || x : n !== r;
+ let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !fy(n, r) || x : n !== r;
if (a && n == null) d.add(t);
else if (a || n !== void 0 && d.has(t)) {
S = !0, d.delete(t) && (C = !0), i.needsAnimating[t] = !0;
@@ -19032,16 +19032,16 @@ function Yte(e) {
},
getState: () => n,
reset: () => {
- n = Zv(), i = !0;
+ n = py(), i = !0;
}
};
}
-function Xte(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Xv(t, e) : !1;
+function Pte(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !fy(t, e) : !1;
}
-function Zv() {
+function py() {
let e = {};
- for (let t of Y_) e[t] = {
+ for (let t of pv) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -19050,35 +19050,35 @@ function Zv() {
return e;
}
// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
-var Qv = /* @__PURE__ */ (0, P.createContext)({
+var my = /* @__PURE__ */ (0, P.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function $v(e, t) {
+function hy(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Zte(...e) {
+function Fte(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = $v(e, t);
+ let r = hy(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : $v(e[t], null);
+ typeof n == "function" ? n() : hy(e[t], null);
}
};
};
}
-function Qte(...e) {
- return P.useCallback(Zte(...e), e);
+function Ite(...e) {
+ return P.useCallback(Fte(...e), e);
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var $te = class extends P.Component {
+var Lte = class extends P.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.getElement();
if (cg(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
@@ -19092,7 +19092,7 @@ var $te = class extends P.Component {
return this.props.children;
}
};
-function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
+function gy({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)({
width: 0,
height: 0,
@@ -19101,7 +19101,7 @@ function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: u } = (0, P.useContext)(Qv), d = Qte(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;
+ }), { nonce: u } = (0, P.useContext)(my), d = Ite(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;
return (0, P.useInsertionEffect)(() => {
let { width: e, height: o, top: c, left: d, right: p, bottom: m, direction: h } = l.current, g = f();
if (t || a === !1 || !g || !e || !o) return;
@@ -19121,7 +19121,7 @@ function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
g.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);
};
- }, [t]), (0, F.jsx)($te, {
+ }, [t]), (0, F.jsx)(Lte, {
isPresent: t,
getElement: f,
sizeRef: l,
@@ -19130,8 +19130,8 @@ function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
});
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var tne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = xu(nne), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);
+var _y = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = xu(vy), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);
Su(() => {
p.current = n, m.current = r;
});
@@ -19157,7 +19157,7 @@ var tne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), P.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, F.jsx)(ene, {
+ }, [n]), e = (0, F.jsx)(gy, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -19170,11 +19170,11 @@ var tne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function nne() {
+function vy() {
return /* @__PURE__ */ new Map();
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function ey(e = !0) {
+function yy(e = !0) {
let t = (0, P.useContext)(Cu);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, P.useId)();
@@ -19188,23 +19188,23 @@ function ey(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function ty() {
- return rne((0, P.useContext)(Cu));
+function by() {
+ return Rte((0, P.useContext)(Cu));
}
-function rne(e) {
+function Rte(e) {
return e === null || e.isPresent;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var ny = (e) => e.key || "";
-function ry(e) {
+var xy = (e) => e.key || "";
+function Sy(e) {
let t = [];
return P.Children.forEach(e, (e) => {
(0, P.isValidElement)(e) && t.push(e);
}), t;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = ey(o), f = (0, P.useMemo)(() => ry(e), [e]), p = o && !u ? [] : f.map(ny), m = (0, P.useRef)(!0), h = xu(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);
+var Cy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = yy(o), f = (0, P.useMemo)(() => Sy(e), [e]), p = o && !u ? [] : f.map(xy), m = (0, P.useRef)(!0), h = xu(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);
Su(() => {
o && !u && !y.length && d?.();
}, [
@@ -19220,7 +19220,7 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
}, [y]), Su(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = ny(y[e]);
+ let t = xy(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -19232,15 +19232,15 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
if (f !== _) {
let e = [...f], t = 0;
for (let n of y) {
- let r = p.indexOf(ny(n));
+ let r = p.indexOf(xy(n));
r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;
}
- return S.every((e) => h.get(ny(e))) ? e = f : a === "wait" && (e = S), b(ry(e)), v(f), null;
+ return S.every((e) => h.get(xy(e))) ? e = f : a === "wait" && (e = S), b(Sy(e)), v(f), null;
}
let { forceRender: C } = (0, P.useContext)(bu);
return (0, F.jsx)(F.Fragment, { children: y.map((e) => {
- let _ = ny(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, F.jsx)(tne, {
+ let _ = xy(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, F.jsx)(_y, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -19261,7 +19261,7 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, ay = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), oy = {
+}, wy = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), Ty = {
animation: [
"animate",
"variants",
@@ -19298,28 +19298,28 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, sy = !1;
-function ine() {
- if (sy) return;
+}, Ey = !1;
+function zte() {
+ if (Ey) return;
let e = {};
- for (let t in oy) e[t] = { isEnabled: (e) => oy[t].some((t) => !!e[t]) };
- iv(e), sy = !0;
+ for (let t in Ty) e[t] = { isEnabled: (e) => Ty[t].some((t) => !!e[t]) };
+ Sv(e), Ey = !0;
}
-function cy() {
- return ine(), av();
+function Dy() {
+ return zte(), Yee();
}
// node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function ane(e) {
- let t = cy();
+function Bte(e) {
+ let t = Dy();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- iv(t);
+ Sv(t);
}
// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function one({ children: e, ...t }) {
- let n = (0, P.useContext)(Qv);
+function Vte({ children: e, ...t }) {
+ let n = (0, P.useContext)(my);
t = {
...n,
...t
@@ -19331,77 +19331,77 @@ function one({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, F.jsx)(Qv.Provider, {
+ return (0, F.jsx)(my.Provider, {
value: r,
children: e
});
}
// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var ly = /* @__PURE__ */ (0, P.createContext)({});
+var Oy = /* @__PURE__ */ (0, P.createContext)({});
// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function sne(e, t) {
- if (Z_(e)) {
+function Hte(e, t) {
+ if (hv(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || J_(t) ? t : void 0,
- animate: J_(n) ? n : void 0
+ initial: t === !1 || fv(t) ? t : void 0,
+ animate: fv(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function cne(e) {
- let { initial: t, animate: n } = sne(e, (0, P.useContext)(ly));
+function Ute(e) {
+ let { initial: t, animate: n } = Hte(e, (0, P.useContext)(Oy));
return (0, P.useMemo)(() => ({
initial: t,
animate: n
- }), [uy(t), uy(n)]);
+ }), [ky(t), ky(n)]);
}
-function uy(e) {
+function ky(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var dy = () => ({
+var Ay = () => ({
style: {},
transform: {},
transformOrigin: {},
vars: {}
});
// node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function fy(e, t, n) {
- for (let r in t) !Rh(t[r]) && !lv(r, n) && (e[r] = t[r]);
+function jy(e, t, n) {
+ for (let r in t) !Rh(t[r]) && !Tv(r, n) && (e[r] = t[r]);
}
-function lne({ transformTemplate: e }, t) {
+function Wte({ transformTemplate: e }, t) {
return (0, P.useMemo)(() => {
- let n = dy();
+ let n = Ay();
return xg(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function une(e, t) {
+function Gte(e, t) {
let n = e.style || {}, r = {};
- return fy(r, n, e), Object.assign(r, lne(e, t)), r;
+ return jy(r, n, e), Object.assign(r, Wte(e, t)), r;
}
-function dne(e, t) {
- let n = {}, r = une(e, t);
+function Kte(e, t) {
+ let n = {}, r = Gte(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var py = () => ({
- ...dy(),
+var My = () => ({
+ ...Ay(),
attrs: {}
});
// node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function fne(e, t, n, r) {
+function qte(e, t, n, r) {
let i = (0, P.useMemo)(() => {
- let n = py();
- return wg(n, t, Jv(r), e.transformTemplate, e.style), {
+ let n = My();
+ return Cg(n, t, uy(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- return fy(t, e.style, e), {
+ return jy(t, e.style, e), {
...i,
style: {
...t,
@@ -19412,21 +19412,21 @@ function fne(e, t, n, r) {
return i;
}
// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var pne = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function my(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || pne.has(e);
+var Jte = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function Ny(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Jte.has(e);
}
// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function mne(e, t) {
- return e.startsWith("on") ? !my(e) : t?.(e) ?? !my(e);
+function Yte(e, t) {
+ return e.startsWith("on") ? !Ny(e) : t?.(e) ?? !Ny(e);
}
-function hne(e, t, n, r) {
+function Xte(e, t, n, r) {
let i = {};
- for (let a in e) a === "values" && typeof e.values == "object" || Rh(e[a]) || (mne(a, r) || n === !0 && my(a) || !t && !my(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
+ for (let a in e) a === "values" && typeof e.values == "object" || Rh(e[a]) || (Yte(a, r) || n === !0 && Ny(a) || !t && !Ny(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
return i;
}
// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var gne = [
+var Zte = [
"animate",
"circle",
"defs",
@@ -19454,12 +19454,12 @@ var gne = [
"view"
];
// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function hy(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(gne.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function Py(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Zte.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
// node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function _ne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? hy(e) ? fne : dne)(t, r, i, e), l = hne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {
+function Fy(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? Py(e) ? qte : Kte)(t, r, i, e), l = Xte(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {
...l,
...c,
ref: n
@@ -19470,21 +19470,21 @@ function _ne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
});
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function vne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Iy({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: yne(n, r, i, e),
+ latestValues: Ly(n, r, i, e),
renderState: t()
};
}
-function yne(e, t, n, r) {
+function Ly(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = Yg(a[e]);
- let { initial: o, animate: s } = e, c = Z_(e), l = Q_(e);
+ for (let e in a) i[e] = Qg(a[e]);
+ let { initial: o, animate: s } = e, c = hv(e), l = gv(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !q_(d)) {
+ if (d && typeof d != "boolean" && !dv(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
let r = Ah(e, t[n]);
@@ -19504,18 +19504,18 @@ function yne(e, t, n, r) {
}
return i;
}
-var gy = (e) => (t, n) => {
- let r = (0, P.useContext)(ly), i = (0, P.useContext)(Cu), a = () => vne(e, t, r, i);
+var Ry = (e) => (t, n) => {
+ let r = (0, P.useContext)(Oy), i = (0, P.useContext)(Cu), a = () => Iy(e, t, r, i);
return n ? a() : xu(a);
-}, bne = /*@__PURE__*/ gy({
- scrapeMotionValuesFromProps: uv,
- createRenderState: dy
-}), xne = /*@__PURE__*/ gy({
- scrapeMotionValuesFromProps: Yv,
- createRenderState: py
-}), Sne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
+}, zy = /*@__PURE__*/ Ry({
+ scrapeMotionValuesFromProps: Ev,
+ createRenderState: Ay
+}), By = /*@__PURE__*/ Ry({
+ scrapeMotionValuesFromProps: dy,
+ createRenderState: My
+}), Vy = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Cne(e, t, n) {
+function Hy(e, t, n) {
let r = (0, P.useRef)(n);
(0, P.useInsertionEffect)(() => {
r.current = n;
@@ -19533,14 +19533,14 @@ function Cne(e, t, n) {
}, [t]);
}
// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var _y = /* @__PURE__ */ (0, P.createContext)({});
+var Uy = /* @__PURE__ */ (0, P.createContext)({});
// node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function wne(e) {
+function Qte(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function Tne(e, t, n, r, i, a) {
- let { visualElement: o } = (0, P.useContext)(ly), s = (0, P.useContext)(ay), c = (0, P.useContext)(Cu), l = (0, P.useContext)(Qv), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);
+function $te(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, P.useContext)(Oy), s = (0, P.useContext)(wy), c = (0, P.useContext)(Cu), l = (0, P.useContext)(my), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -19551,8 +19551,8 @@ function Tne(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, P.useContext)(_y);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ene(f.current, n, i, h), (0, P.useInsertionEffect)(() => {
+ let m = f.current, h = (0, P.useContext)(Uy);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && ene(f.current, n, i, h), (0, P.useInsertionEffect)(() => {
m && m.props !== n && m.update(n, c);
});
let g = n[Vh], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
@@ -19566,12 +19566,12 @@ function Tne(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function Ene(e, t, n, r) {
- let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : vy(e.parent));
+function ene(e, t, n, r) {
+ let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Wy(e.parent));
f.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && wne(s),
+ alwaysMeasureLayout: !!o || s && Qte(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -19583,50 +19583,50 @@ function Ene(e, t, n, r) {
let p = f.getStack()?.lead;
p && !f.root.isUpdateBlocked() && (p.willUpdate(), p.scheduleCheckAfterUnmount());
}
-function vy(e) {
- if (e) return e.options.allowProjection === !1 ? vy(e.parent) : e.projection;
+function Wy(e) {
+ if (e) return e.options.allowProjection === !1 ? Wy(e.parent) : e.projection;
}
// node_modules/framer-motion/dist/es/motion/index.mjs
-function yy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && ane(r);
- let a = n ? n === "svg" : hy(e), o = a ? xne : bne;
+function Gy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Bte(r);
+ let a = n ? n === "svg" : Py(e), o = a ? By : zy;
function s(n, s) {
- let c, l = Dne(n);
- xu(() => !!W_.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
+ let c, l = tne(n);
+ xu(() => !!cv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
...n,
initial: !1
});
let u = {
- ...(0, P.useContext)(Qv),
+ ...(0, P.useContext)(my),
...n,
layoutId: l
- }, { isStatic: d, isValidProp: f } = u, p = cne(n), m = o(n, d);
+ }, { isStatic: d, isValidProp: f } = u, p = Ute(n), m = o(n, d);
if (!d && typeof window < "u") {
- One(u, r);
- let t = kne(u);
- c = t.MeasureLayout, p.visualElement = Tne(e, m, u, i, t.ProjectionNode, a);
+ nne(u, r);
+ let t = rne(u);
+ c = t.MeasureLayout, p.visualElement = $te(e, m, u, i, t.ProjectionNode, a);
}
- return (0, F.jsxs)(ly.Provider, {
+ return (0, F.jsxs)(Oy.Provider, {
value: p,
children: [c && p.visualElement ? (0, F.jsx)(c, {
visualElement: p.visualElement,
...u
- }) : null, _ne(e, n, Cne(m, p.visualElement, s), m, d, t, a, f)]
+ }) : null, Fy(e, n, Hy(m, p.visualElement, s), m, d, t, a, f)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, P.forwardRef)(s);
- return c[Sne] = e, c;
+ return c[Vy] = e, c;
}
-function Dne({ layoutId: e }) {
+function tne({ layoutId: e }) {
let t = (0, P.useContext)(bu).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function One(e, t) {
- (0, P.useContext)(ay).strict;
+function nne(e, t) {
+ (0, P.useContext)(wy).strict;
}
-function kne(e) {
- let { drag: t, layout: n } = cy();
+function rne(e) {
+ let { drag: t, layout: n } = Dy();
if (!t && !n) return {};
let r = {
...t,
@@ -19638,19 +19638,19 @@ function kne(e) {
};
}
// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Ane(e, t) {
- if (typeof Proxy > "u") return yy;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => yy(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, yy(a, void 0, e, t)), n.get(a)) });
+function ine(e, t) {
+ if (typeof Proxy > "u") return Gy;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Gy(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Gy(a, void 0, e, t)), n.get(a)) });
}
// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection: e !== P.Fragment }), Mne = class extends Kv {
+var ane = (e, t) => t.isSVG ?? Py(e) ? new jte(t) : new Qee(t, { allowProjection: e !== P.Fragment }), one = class extends cy {
constructor(e) {
- super(e), e.animationState ||= Yte(e);
+ super(e), e.animationState ||= Nte(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- q_(e) && (this.unmountControls = e.subscribe(this.node));
+ dv(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -19662,11 +19662,11 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Nne = 0, Pne = {
- animation: { Feature: Mne },
- exit: { Feature: class extends Kv {
+}, sne = 0, cne = {
+ animation: { Feature: one },
+ exit: { Feature: class extends cy {
constructor() {
- super(...arguments), this.id = Nne++;
+ super(...arguments), this.id = sne++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -19696,9 +19696,9 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection
}
unmount() {}
} }
-}, Fne = class extends Kv {
+}, lne = class extends cy {
constructor(e) {
- super(e), this.removeGroupControls = Mu, this.removeListeners = Mu, this.controls = new zte(e);
+ super(e), this.removeGroupControls = Mu, this.removeListeners = Mu, this.controls = new Cte(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -19711,31 +19711,31 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Ine = ({ current: e }) => e ? e.ownerDocument.defaultView : null, by = (e) => (t, n) => {
+}, une = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Ky = (e) => (t, n) => {
e && Of.update(() => e(t, n), !1, !0);
-}, xy = class extends Kv {
+}, dne = class extends cy {
constructor() {
super(...arguments), this.removePointerDownListener = Mu;
}
onPointerDown(e) {
- this.session = new Sv(e, this.createPanHandlers(), {
+ this.session = new Rv(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: Ine(this.node)
+ contextWindow: une(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: by(e),
- onStart: by(t),
- onMove: by(n),
+ onSessionStart: Ky(e),
+ onStart: Ky(t),
+ onMove: Ky(n),
onEnd: (e, t) => {
delete this.session, r && Of.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = pv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = kv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -19743,40 +19743,40 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, Sy = !1, Cy = ({ layout: e, layoutDependency: t }) => ({
+}, qy = !1, Jy = ({ layout: e, layoutDependency: t }) => ({
layout: e,
layoutDependency: t,
animationType: typeof e == "string" ? e : "both"
-}), wy = class extends P.Component {
+}), fne = class extends P.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Sy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), qy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
- ...Cy(this.props),
+ ...Jy(this.props),
onExitComplete: () => this.safeToRemove()
- })), D_.hasEverUpdated = !0;
+ })), A_.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layout: t, layoutDependency: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;
return o && (o.isPresent = a, (e.layoutDependency !== n || e.layout !== t) && o.setOptions({
...o.options,
- ...Cy(this.props)
- }), Sy = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Of.postRender(() => {
+ ...Jy(this.props)
+ }), qy = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Of.postRender(() => {
let e = o.getStack();
e && e.members.length || this.safeToRemove();
}))), null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), Wg.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Jg.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Sy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ qy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -19786,39 +19786,39 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection
return null;
}
};
-function Ty(e) {
- let [t, n] = ey(), r = (0, P.useContext)(bu);
- return (0, F.jsx)(wy, {
+function Yy(e) {
+ let [t, n] = yy(), r = (0, P.useContext)(bu);
+ return (0, F.jsx)(fne, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, P.useContext)(_y),
+ switchLayoutGroup: (0, P.useContext)(Uy),
isPresent: t,
safeToRemove: n
});
}
// node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Ey = {
- pan: { Feature: xy },
+var pne = {
+ pan: { Feature: dne },
drag: {
- Feature: Fne,
- ProjectionNode: G_,
- MeasureLayout: Ty
+ Feature: lne,
+ ProjectionNode: lv,
+ MeasureLayout: Yy
}
};
// node_modules/framer-motion/dist/es/gestures/hover.mjs
-function Dy(e, t, n) {
+function Xy(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && Of.postRender(() => i(t, fv(t)));
+ i && Of.postRender(() => i(t, Ov(t)));
}
-var Oy = class extends Kv {
+var mne = class extends cy {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Ute(e, (e, t) => (Dy(this.node, t, "Start"), (e) => Dy(this.node, e, "End"))));
+ e && (this.unmount = Dte(e, (e, t) => (Xy(this.node, t, "Start"), (e) => Xy(this.node, e, "End"))));
}
unmount() {}
-}, Lne = class extends Kv {
+}, hne = class extends cy {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -19835,55 +19835,55 @@ var Oy = class extends Kv {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Nu(U_(this.node.current, "focus", () => this.onFocus()), U_(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Nu(sv(this.node.current, "focus", () => this.onFocus()), sv(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
// node_modules/framer-motion/dist/es/gestures/press.mjs
-function ky(e, t, n) {
+function Zy(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && Of.postRender(() => i(t, fv(t)));
+ i && Of.postRender(() => i(t, Ov(t)));
}
-var Rne = class extends Kv {
+var gne = class extends cy {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Gte(e, (e, t) => (ky(this.node, t, "Start"), (e, { success: t }) => ky(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = kte(e, (e, t) => (Zy(this.node, t, "Start"), (e, { success: t }) => Zy(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, Ay = /* @__PURE__ */ new WeakMap(), jy = /* @__PURE__ */ new WeakMap(), zne = (e) => {
- let t = Ay.get(e.target);
+}, Qy = /* @__PURE__ */ new WeakMap(), $y = /* @__PURE__ */ new WeakMap(), _ne = (e) => {
+ let t = Qy.get(e.target);
t && t(e);
-}, Bne = (e) => {
- e.forEach(zne);
+}, vne = (e) => {
+ e.forEach(_ne);
};
-function Vne({ root: e, ...t }) {
+function yne({ root: e, ...t }) {
let n = e || document;
- jy.has(n) || jy.set(n, {});
- let r = jy.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Bne, {
+ $y.has(n) || $y.set(n, {});
+ let r = $y.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(vne, {
root: e,
...t
})), r[i];
}
-function Hne(e, t, n) {
- let r = Vne(t);
- return Ay.set(e, n), r.observe(e), () => {
- Ay.delete(e), r.unobserve(e);
+function bne(e, t, n) {
+ let r = yne(t);
+ return Qy.set(e, n), r.observe(e), () => {
+ Qy.delete(e), r.unobserve(e);
};
}
// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Une = {
+var xne = {
some: 0,
all: 1
-}, Wne = class extends Kv {
+}, Sne = class extends cy {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -19892,7 +19892,7 @@ var Une = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : Une[r]
+ threshold: typeof r == "number" ? r : xne[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -19900,7 +19900,7 @@ var Une = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Hne(this.node.current, a, o);
+ this.stopObserver = bne(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -19912,56 +19912,56 @@ var Une = {
"amount",
"margin",
"root"
- ].some(Gne(e, t)) && this.startObserver();
+ ].some(Cne(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Gne({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Cne({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
-var Kne = /*@__PURE__*/ Ane(/* @__PURE__ */ Object.assign({}, Pne, {
- inView: { Feature: Wne },
- tap: { Feature: Rne },
- focus: { Feature: Lne },
- hover: { Feature: Oy }
-}, Ey, { layout: {
- ProjectionNode: G_,
- MeasureLayout: Ty
-} }), jne);
+var wne = /*@__PURE__*/ ine(/* @__PURE__ */ Object.assign({}, cne, {
+ inView: { Feature: Sne },
+ tap: { Feature: gne },
+ focus: { Feature: hne },
+ hover: { Feature: mne }
+}, pne, { layout: {
+ ProjectionNode: lv,
+ MeasureLayout: Yy
+} }), ane);
// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function My() {
- !ev.current && tv();
- let [e] = (0, P.useState)($_.current);
+function eb() {
+ !vv.current && yv();
+ let [e] = (0, P.useState)(_v.current);
return e;
}
// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function Ny(e) {
+function tb(e) {
return typeof e == "object" && !Array.isArray(e);
}
// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function Py(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && Ny(t) ? pg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function nb(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && tb(t) ? pg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function qne(e, t, n) {
+function Tne(e, t, n) {
return e * (t + 1) + n * t;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function Fy(e, t, n, r) {
+function rb(e, t, n, r) {
return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function Jne(e, t, n) {
+function Ene(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (Tu(e, i), r--);
}
}
-function Yne(e, t, n, r, i, a) {
- Jne(e, i, a);
+function Dne(e, t, n, r, i, a) {
+ Ene(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: sf(i, a, r[o]),
@@ -19969,17 +19969,17 @@ function Yne(e, t, n, r, i, a) {
});
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function Xne(e, t, n = 0) {
+function One(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function Zne(e, t) {
+function kne(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
// node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var Qne = "easeInOut", Iy = 20;
-function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
+var Ane = "easeInOut", ib = 20;
+function jne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;
for (let n = 0; n < e.length; n++) {
let o = e[n];
@@ -19988,16 +19988,16 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
continue;
}
if (!Array.isArray(o)) {
- l.set(o.name, Fy(d, o.at, u, l));
+ l.set(o.name, rb(d, o.at, u, l));
continue;
}
let [p, m, h = {}] = o;
- h.at !== void 0 && (d = Fy(d, h.at, u, l));
+ h.at !== void 0 && (d = rb(d, h.at, u, l));
let g = 0, _ = (e, n, r, o = 0, s = 0) => {
- let c = ere(e), { delay: l = 0, times: u = $f(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = bm(p) ? p : i?.[p || "keyframes"];
+ let c = Mne(e), { delay: l = 0, times: u = $f(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = bm(p) ? p : i?.[p || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && rre(c)) {
+ if (S === 2 && Fne(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -20013,9 +20013,9 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let w = d + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && Qf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Iy}`, m && m < Iy) {
+ if (T > 0 && Qf(u, T), c.length === 1 && c.unshift(null), m && `${m}${ib}`, m && m < ib) {
let e = b > 0 ? _ / b : 0;
- b = qne(b, m, _);
+ b = Tne(b, m, _);
let t = [...c], n = [...u];
y = Array.isArray(y) ? [...y] : [y];
let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -20025,20 +20025,20 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ td(f, e - 1));
}
- Xne(u, m, e);
+ One(u, m, e);
}
let E = w + b;
- Yne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
+ Dne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
};
if (Rh(p)) {
- let e = Ly(p, s);
- _(m, h, Ry("default", e));
+ let e = ab(p, s);
+ _(m, h, ob("default", e));
} else {
- let e = Py(p, m, r, c), t = e.length;
+ let e = nb(p, m, r, c), t = e.length;
for (let n = 0; n < t; n++) {
m = m, h = h;
- let r = e[n], i = Ly(r, s);
- for (let e in m) _(m[e], tre(h, e), Ry(e, i), n, t);
+ let r = e[n], i = ab(r, s);
+ for (let e in m) _(m[e], Nne(h, e), ob(e, i), n, t);
}
}
u = d, d += g;
@@ -20046,13 +20046,13 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
return s.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(Zne);
+ a.sort(kne);
let s = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
s.push(n), c.push(/* @__PURE__ */ Pu(0, f, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Qne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Ane)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
keyframes: {},
transition: {}
});
@@ -20069,43 +20069,43 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
}
}), o;
}
-function Ly(e, t) {
+function ab(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function Ry(e, t) {
+function ob(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function ere(e) {
+function Mne(e) {
return Array.isArray(e) ? e : [e];
}
-function tre(e, t) {
+function Nne(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var nre = (e) => typeof e == "number", rre = (e) => e.every(nre);
+var Pne = (e) => typeof e == "number", Fne = (e) => e.every(Pne);
// node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function ire(e, t) {
- return Rh(e) || typeof e == "number" || typeof e == "string" && !Ny(t);
+function Ine(e, t) {
+ return Rh(e) || typeof e == "number" || typeof e == "string" && !tb(t);
}
-function zy(e, t, n, r) {
+function sb(e, t, n, r) {
let i = [];
- if (ire(e, t)) i.push(Gg(e, Ny(t) && t.default || t, n && (n.default || n)));
+ if (Ine(e, t)) i.push(Yg(e, tb(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = Py(e, t, r), o = a.length;
+ let a = nb(e, t, r), o = a.length;
for (let e = 0; e < o; e++) {
let r = a[e], s = { ...n };
- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...bee(r, t, s, K_.get(r))) : i.push(...sg(nee(r) ?? xee, r, t, s));
+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...gee(r, t, s, uv.get(r))) : i.push(...sg(nee(r) ?? _ee, r, t, s));
}
}
return i;
}
// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function are(e, t, n) {
+function Lne(e, t, n) {
let r = [];
- return $ne(e.map((e) => {
+ return jne(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
let t = e[0], n = hh(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
@@ -20120,29 +20120,29 @@ function are(e, t, n) {
}
return e;
}), t, n, { spring: Jf }).forEach(({ keyframes: e, transition: t }, n) => {
- r.push(...zy(n, e, t));
+ r.push(...sb(n, e, t));
}), r;
}
// node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function ore(e) {
+function Rne(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function sre(e = {}) {
+function zne(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
let o = [], s, c = ug.current, l = c?.transition, u = {};
- if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), ore(e)) {
+ if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), Rne(e)) {
let { onComplete: n, ...r } = i || {};
typeof n == "function" && (s = n), l && (r.defaultTransition = {
...l,
...r.defaultTransition
- }), o = are(e, {
+ }), o = Lne(e, {
...u,
...r
}, t);
} else {
let { onComplete: n, ...r } = a || {};
- typeof n == "function" && (s = n), o = zy(e, i, {
+ typeof n == "function" && (s = n), o = sb(e, i, {
...u,
...l,
...r
@@ -20155,12 +20155,12 @@ function sre(e = {}) {
}
return i;
}
-var cre = /* @__PURE__ */ Object.assign(/* @__PURE__ */ sre(), {
+var Bne = /* @__PURE__ */ Object.assign(/* @__PURE__ */ zne(), {
addEffect: tee,
removeEffect: ag
});
// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function lre(e, t, n, r) {
+function Vne(e, t, n, r) {
if (e == null) return [];
let i = pg(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
@@ -20187,7 +20187,7 @@ function lre(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = Gv(r, i)), jp(t), eee(t, i), !a && t.length < 2 && t.unshift(Gv(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = sy(r, i)), jp(t), eee(t, i), !a && t.length < 2 && t.unshift(sy(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
@@ -20196,12 +20196,12 @@ function lre(e, t, n, r) {
}
return s;
}
-var ure = /*@__PURE__*/ ((e) => {
+var Hne = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new oh(lre(t, n, r, e));
+ return new oh(Vne(t, n, r, e));
}
return t;
-})(), By = Kne, Vy = class {
+})(), cb = wne, lb = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -20216,22 +20216,22 @@ var ure = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, Hy = class extends Vy {
+}, ub = class extends lb {
filter(e, t, n) {
- let [r, i] = Ky(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = mb(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends Vy {
+(class extends lb {
static {
this.type = "header";
}
});
-var Uy = class extends Vy {
+var db = class extends lb {
static {
this.type = "loader";
}
-}, Wy = class extends Hy {
+}, fb = class extends ub {
static {
this.type = "item";
}
@@ -20242,7 +20242,7 @@ var Uy = class extends Vy {
}
return null;
}
-}, dre = class extends Hy {
+}, Une = class extends ub {
static {
this.type = "section";
}
@@ -20254,7 +20254,7 @@ var Uy = class extends Vy {
}
return null;
}
-}, Gy = class {
+}, pb = class {
get size() {
return this.itemCount;
}
@@ -20329,14 +20329,14 @@ var Uy = class extends Vy {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Ky(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = mb(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function Ky(e, t, n, r) {
+function mb(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -20350,7 +20350,7 @@ function Ky(e, t, n, r) {
return [i?.key ?? null, a?.key ?? null];
}
// node_modules/react-aria/dist/private/collections/Document.mjs
-var qy = class {
+var hb = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -20431,7 +20431,7 @@ var qy = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, Jy = class e extends qy {
+}, gb = class e extends hb {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -20482,7 +20482,7 @@ var qy = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, fre = class extends qy {
+}, Wne = class extends hb {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -20490,7 +20490,7 @@ var qy = class {
return !0;
}
createElement(e) {
- return new Jy(e, this);
+ return new gb(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -20512,8 +20512,8 @@ var qy = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof Jy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof Jy ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof gb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof gb ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -20531,13 +20531,13 @@ var qy = class {
}
};
// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Yy(e) {
+function _b(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, P.useMemo)(() => void 0, [t]), s = (0, P.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, P.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = pre(a) ? a : null, o = n ? s.get(n) : null;
+ let n = Gne(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -20562,7 +20562,7 @@ function Yy(e) {
i
]);
}
-function pre(e) {
+function Gne(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -20571,24 +20571,24 @@ function pre(e) {
}
}
// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function Xy(e) {
+function vb(e) {
e.focus({ preventScroll: !0 });
}
// node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Zy = (e) => mre(e) ? e.document : hre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Qy = (e) => Zy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function $y(e) {
+var yb = (e) => Kne(e) ? e.document : qne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), bb = (e) => yb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function xb(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function mre(e) {
+function Kne(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function hre(e) {
- return $y(e) && e.nodeType === 9;
+function qne(e) {
+ return xb(e) && e.nodeType === 9;
}
-function eb(e) {
- return $y(e) && e.nodeType === 11 && "host" in e;
+function Sb(e) {
+ return xb(e) && e.nodeType === 11 && "host" in e;
}
-function tb(e, t, n, r) {
+function Cb(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -20596,7 +20596,7 @@ function tb(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function nb(e, t, n, r) {
+function wb(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -20610,70 +20610,70 @@ function nb(e, t, n, r) {
};
}
// node_modules/react-stately/dist/private/flags/flags.mjs
-var gre = !1;
-function rb() {
- return gre;
+var Tb = !1;
+function Eb() {
+ return Tb;
}
// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function ib(e, t) {
- if (!rb()) return t && e ? e.contains(t) : !1;
+function Db(e, t) {
+ if (!Eb()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n != null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : eb(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Sb(n) ? n.host : n.parentNode;
}
return !1;
}
-var ab = (e = document) => {
- if (!rb()) return e.activeElement;
+var Ob = (e = document) => {
+ if (!Eb()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function G(e) {
- if (rb() && e.target instanceof Element && e.target.shadowRoot) {
+ if (Eb() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function ob(e, t) {
+function kb(e, t) {
if (t === null) return [];
- t ??= Qy(e);
+ t ??= bb(e);
let n = [t];
- if (!rb() || !e || e === t) return n;
+ if (!Eb() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; eb(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; Sb(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function sb(e) {
+function Ab(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Qy(e);
+ let t = e.getRootNode(), n = bb(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
// node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var _re = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function vre(e) {
- let t = Qy(e);
+var jb = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function Mb(e) {
+ let t = bb(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = Qy(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = bb(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function yre(e, t) {
+function Nb(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function cb(e, t) {
- return _re ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && vre(e) && yre(e, t) && (!e.parentElement || cb(e.parentElement, e));
+function Pb(e, t) {
+ return jb ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Mb(e) && Nb(e, t) && (!e.parentElement || Pb(e.parentElement, e));
}
// node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var lb = [
+var Fb = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -20688,39 +20688,39 @@ var lb = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], bre = lb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-lb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var xre = lb.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function ub(e, t) {
- return e.matches(bre) && !fb(e) && (t?.skipVisibilityCheck || cb(e));
+], Ib = Fb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+Fb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var Lb = Fb.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Rb(e, t) {
+ return e.matches(Ib) && !Bb(e) && (t?.skipVisibilityCheck || Pb(e));
}
-function db(e) {
- return e.matches(xre) && cb(e) && !fb(e);
+function zb(e) {
+ return e.matches(Lb) && Pb(e) && !Bb(e);
}
-function fb(e) {
+function Bb(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Qy(t).HTMLElement && t.inert) return !0;
+ if (t instanceof bb(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var pb = typeof document < "u" ? P.useLayoutEffect : () => {};
+var Vb = typeof document < "u" ? P.useLayoutEffect : () => {};
// node_modules/react-aria/dist/private/interactions/utils.mjs
-function mb(e) {
+function Hb(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function hb(e, t) {
+function Ub(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function gb(e) {
+function Wb(e) {
let t = (0, P.useRef)({
isFocused: !1,
observer: null
});
- return pb(() => {
+ return Vb(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -20732,14 +20732,14 @@ function gb(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = mb(r);
+ let t = Hb(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === ab() ? null : ab();
+ let e = n === Ob() ? null : Ob();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -20752,80 +20752,80 @@ function gb(e) {
}
}, [e]);
}
-var _b = !1;
-function Sre(e) {
- for (; e && !ub(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = ab(Qy(e).document);
+var Gb = !1;
+function Kb(e) {
+ for (; e && !Rb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Ob(bb(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && eb(n) ? n : Qy(e), i = (t) => t === e || $y(t) && ib(e, t), a = (e) => e === t || t != null && $y(e) && ib(t, e);
- _b = !0;
+ let n = e?.getRootNode(), r = n != null && Sb(n) ? n : bb(e), i = (t) => t === e || xb(t) && Db(e, t), a = (e) => e === t || t != null && xb(e) && Db(t, e);
+ Gb = !0;
let o = !1, s = (e) => {
(a(G(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Xy(t), d()));
+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, vb(t), d()));
}, l = (e) => {
(i(G(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Xy(t), d()));
+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, vb(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), _b = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), Gb = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
// node_modules/react-aria/dist/private/utils/platform.mjs
-function vb(e) {
+function qb(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function yb(e) {
+function Jb(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function bb(e) {
+function Yb(e) {
let t = null;
return () => (t ??= e(), t);
}
-var xb = bb(function() {
- return yb(/^Mac/i);
-}), Cre = bb(function() {
- return yb(/^iPhone/i);
-}), Sb = bb(function() {
- return yb(/^iPad/i) || xb() && navigator.maxTouchPoints > 1;
-}), Cb = bb(function() {
- return Cre() || Sb();
-}), wre = bb(function() {
- return xb() || Cb();
-}), wb = bb(function() {
- return vb(/AppleWebKit/i) && (Cb() || !Tb());
-}), Tb = bb(function() {
- return vb(/Chrome|CriOS|CrMo/i);
-}), Eb = bb(function() {
- return vb(/Android/i);
+var Xb = Yb(function() {
+ return Jb(/^Mac/i);
+}), Jne = Yb(function() {
+ return Jb(/^iPhone/i);
+}), Zb = Yb(function() {
+ return Jb(/^iPad/i) || Xb() && navigator.maxTouchPoints > 1;
+}), Qb = Yb(function() {
+ return Jne() || Zb();
+}), Yne = Yb(function() {
+ return Xb() || Qb();
+}), $b = Yb(function() {
+ return qb(/AppleWebKit/i) && (Qb() || !ex());
+}), ex = Yb(function() {
+ return qb(/Chrome|CriOS|CrMo/i);
+}), tx = Yb(function() {
+ return qb(/Android/i);
});
// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Db(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : Eb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function nx(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : tx() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function Tre(e) {
- return !Eb() && e.width === 0 && e.height === 0 || Eb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function Xne(e) {
+ return !tx() && e.width === 0 && e.height === 0 || tx() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
// node_modules/react-aria/dist/private/utils/openLink.mjs
-var Ere = /*#__PURE__*/ (0, P.createContext)({
+var Zne = /*#__PURE__*/ (0, P.createContext)({
isNative: !0,
- open: kre,
+ open: ere,
useHref: (e) => e
});
-function Ob() {
- return (0, P.useContext)(Ere);
+function rx() {
+ return (0, P.useContext)(Zne);
}
-function Dre(e, t) {
+function Qne(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function kb(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = wb() && xb() && !Sb() ? new KeyboardEvent("keydown", {
+function ix(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = $b() && Xb() && !Zb() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -20840,21 +20840,21 @@ function kb(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- kb.isOpening = n, Xy(e), e.dispatchEvent(s), kb.isOpening = !1;
+ ix.isOpening = n, vb(e), e.dispatchEvent(s), ix.isOpening = !1;
}
-kb.isOpening = !1;
-function Ore(e, t) {
+ix.isOpening = !1;
+function $ne(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function kre(e, t) {
- Ore(e, (e) => kb(e, t));
+function ere(e, t) {
+ $ne(e, (e) => ix(e, t));
}
-function Ab(e) {
- let t = Ob().useHref(e.href ?? "");
+function ax(e) {
+ let t = rx().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -20864,8 +20864,8 @@ function Ab(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function jb(e) {
- let t = Ob().useHref(e?.href ?? ""), n = {};
+function ox(e) {
+ let t = rx().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -20876,138 +20876,138 @@ function jb(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Are(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Dre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function tre(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Qne(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Mb = {
+var sx = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, Nb = /*#__PURE__*/ P.createContext(Mb), jre = /*#__PURE__*/ P.createContext(!1);
+}, cx = /*#__PURE__*/ P.createContext(sx), nre = /*#__PURE__*/ P.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var Pb = /* @__PURE__ */ new WeakMap();
-function Mre(e = !1) {
- let t = (0, P.useContext)(Nb), n = (0, P.useRef)(null);
+var lx = /* @__PURE__ */ new WeakMap();
+function rre(e = !1) {
+ let t = (0, P.useContext)(cx), n = (0, P.useRef)(null);
if (n.current === null && !e) {
let e = P.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = Pb.get(e);
- n == null ? Pb.set(e, {
+ let n = lx.get(e);
+ n == null ? lx.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, Pb.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, lx.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Nre(e) {
- let t = (0, P.useContext)(Nb), n = Mre(!!e), r = `react-aria${t.prefix}`;
+function ire(e) {
+ let t = (0, P.useContext)(cx), n = rre(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Pre(e) {
- let t = P.useId(), [n] = (0, P.useState)(Fb()), r = n ? "react-aria" : `react-aria${Mb.prefix}`;
+function are(e) {
+ let t = P.useId(), [n] = (0, P.useState)(ux()), r = n ? "react-aria" : `react-aria${sx.prefix}`;
return e || `${r}-${t}`;
}
-var Fre = typeof P.useId == "function" ? Pre : Nre;
-function Ire() {
+var ore = typeof P.useId == "function" ? are : ire;
+function sre() {
return !1;
}
-function Lre() {
+function cre() {
return !0;
}
-function Rre(e) {
+function lre(e) {
return () => {};
}
-function Fb() {
- return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(Rre, Ire, Lre) : (0, P.useContext)(jre);
+function ux() {
+ return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(lre, sre, cre) : (0, P.useContext)(nre);
}
// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var Ib = null, Lb = /* @__PURE__ */ new Set(), Rb = /* @__PURE__ */ new Map(), zb = !1, Bb = !1, zre = {
+var dx = null, fx = /* @__PURE__ */ new Set(), px = /* @__PURE__ */ new Map(), mx = !1, hx = !1, ure = {
Tab: !0,
Escape: !0
};
-function Vb(e, t) {
- for (let n of Lb) n(e, t);
+function gx(e, t) {
+ for (let n of fx) n(e, t);
}
-function Bre(e) {
- return !(e.metaKey || !xb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function dre(e) {
+ return !(e.metaKey || !Xb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function Hb(e) {
- zb = !0, !kb.isOpening && Bre(e) && (Ib = "keyboard", Vb("keyboard", e));
+function _x(e) {
+ mx = !0, !ix.isOpening && dre(e) && (dx = "keyboard", gx("keyboard", e));
}
-function Ub(e) {
- Ib = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (zb = !0, Vb("pointer", e));
+function vx(e) {
+ dx = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (mx = !0, gx("pointer", e));
}
-function Wb(e) {
- !kb.isOpening && Db(e) && (zb = !0, Ib = "virtual");
+function yx(e) {
+ !ix.isOpening && nx(e) && (mx = !0, dx = "virtual");
}
-function Gb(e) {
- if (_b) return;
- let t = G(e), n = Qy(t), r = Zy(t);
- t === n ? Bb = !0 : t !== r && e.isTrusted && (!zb && !Bb && (Ib = "virtual", Vb("virtual", e)), zb = !1, Bb = !1);
+function bx(e) {
+ if (Gb) return;
+ let t = G(e), n = bb(t), r = yb(t);
+ t === n ? hx = !0 : t !== r && e.isTrusted && (!mx && !hx && (dx = "virtual", gx("virtual", e)), mx = !1, hx = !1);
}
-function Kb() {
- _b || (zb = !1, Bb = !0);
+function xx() {
+ Gb || (mx = !1, hx = !0);
}
-function qb(e) {
- let t = ab(Zy(G(e)));
+function Sx(e) {
+ let t = Ob(yb(G(e)));
queueMicrotask(() => {
- ab(Zy(G(e))) !== t && Qb("keyboard");
+ Ob(yb(G(e))) !== t && Dx("keyboard");
});
}
-function Jb(e) {
+function Cx(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Qy(e), n = Zy(e);
- if (Rb.get(t)) return;
+ let t = bb(e), n = yb(e);
+ if (px.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- zb = !0, r.apply(this, arguments);
+ mx = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Hb, !0), n.addEventListener("keyup", Hb, !0), n.addEventListener("click", Wb, !0), n.addEventListener("invalid", qb, !0), t.addEventListener("focus", Gb, !0), t.addEventListener("blur", Kb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Ub, !0), n.addEventListener("pointermove", Ub, !0), n.addEventListener("pointerup", Ub, !0)), t.addEventListener("beforeunload", () => {
- Yb(e);
- }, { once: !0 }), Rb.set(t, { focus: r });
+ }), n.addEventListener("keydown", _x, !0), n.addEventListener("keyup", _x, !0), n.addEventListener("click", yx, !0), n.addEventListener("invalid", Sx, !0), t.addEventListener("focus", bx, !0), t.addEventListener("blur", xx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", vx, !0), n.addEventListener("pointermove", vx, !0), n.addEventListener("pointerup", vx, !0)), t.addEventListener("beforeunload", () => {
+ wx(e);
+ }, { once: !0 }), px.set(t, { focus: r });
}
-var Yb = (e, t) => {
- let n = Qy(e), r = Zy(e);
- t && r.removeEventListener("DOMContentLoaded", t), Rb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var wx = (e, t) => {
+ let n = bb(e), r = yb(e);
+ t && r.removeEventListener("DOMContentLoaded", t), px.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: Rb.get(n).focus
- }), r.removeEventListener("keydown", Hb, !0), r.removeEventListener("keyup", Hb, !0), r.removeEventListener("click", Wb, !0), r.removeEventListener("invalid", qb, !0), n.removeEventListener("focus", Gb, !0), n.removeEventListener("blur", Kb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Ub, !0), r.removeEventListener("pointermove", Ub, !0), r.removeEventListener("pointerup", Ub, !0)), Rb.delete(n));
+ value: px.get(n).focus
+ }), r.removeEventListener("keydown", _x, !0), r.removeEventListener("keyup", _x, !0), r.removeEventListener("click", yx, !0), r.removeEventListener("invalid", Sx, !0), n.removeEventListener("focus", bx, !0), n.removeEventListener("blur", xx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", vx, !0), r.removeEventListener("pointermove", vx, !0), r.removeEventListener("pointerup", vx, !0)), px.delete(n));
};
-function Vre(e) {
- let t = Zy(e), n;
+function fre(e) {
+ let t = yb(e), n;
return t.readyState === "loading" ? (n = () => {
- Jb(e);
- }, t.addEventListener("DOMContentLoaded", n)) : Jb(e), () => Yb(e, n);
+ Cx(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : Cx(e), () => wx(e, n);
}
-typeof document < "u" && Vre();
-function Xb() {
- return Ib !== "pointer";
+typeof document < "u" && fre();
+function Tx() {
+ return dx !== "pointer";
}
-function Zb() {
- return Ib;
+function Ex() {
+ return dx;
}
-function Qb(e) {
- Ib = e, Vb(e, null);
+function Dx(e) {
+ dx = e, gx(e, null);
}
-function $b() {
- Jb();
- let [e, t] = (0, P.useState)(Ib);
+function Ox() {
+ Cx();
+ let [e, t] = (0, P.useState)(dx);
return (0, P.useEffect)(() => {
let e = () => {
- t(Ib);
+ t(dx);
};
- return Lb.add(e), () => {
- Lb.delete(e);
+ return fx.add(e), () => {
+ fx.delete(e);
};
- }, []), Fb() ? null : e;
+ }, []), ux() ? null : e;
}
-var Hre = /* @__PURE__ */ new Set([
+var pre = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21018,107 +21018,107 @@ var Hre = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Ure(e, t, n) {
- let r = n ? G(n) : void 0, i = Zy(r), a = Qy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = ab(i);
- return e = e || u instanceof o && !Hre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !zre[n.key]);
+function mre(e, t, n) {
+ let r = n ? G(n) : void 0, i = yb(r), a = bb(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Ob(i);
+ return e = e || u instanceof o && !pre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !ure[n.key]);
}
-function ex(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Xb());
- return tx((e) => {
+function kx(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Tx());
+ return Ax((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function tx(e, t, n) {
- Jb(), (0, P.useEffect)(() => {
+function Ax(e, t, n) {
+ Cx(), (0, P.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- Ure(!!n?.isTextInput, t, r) && e(Xb());
+ mre(!!n?.isTextInput, t, r) && e(Tx());
};
- return Lb.add(t), () => {
- Lb.delete(t);
+ return fx.add(t), () => {
+ fx.delete(t);
};
}, t);
}
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var nx = /* @__PURE__ */ new Map(), rx = /* @__PURE__ */ new Set();
-function ix(e) {
+var jx = /* @__PURE__ */ new Map(), Mx = /* @__PURE__ */ new Set();
+function Nx(e) {
return "propertyName" in e;
}
-function Wre(e) {
+function hre(e) {
let t = G(e);
- if (!ix(e) || !t) return;
- let n = nx.get(t);
- n || (n = /* @__PURE__ */ new Set(), nx.set(t, n), t.addEventListener("transitioncancel", ax, { once: !0 })), n.add(e.propertyName);
+ if (!Nx(e) || !t) return;
+ let n = jx.get(t);
+ n || (n = /* @__PURE__ */ new Set(), jx.set(t, n), t.addEventListener("transitioncancel", Px, { once: !0 })), n.add(e.propertyName);
}
-function ax(e) {
+function Px(e) {
let t = G(e);
- if (!ix(e) || !t) return;
- let n = nx.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", ax), nx.delete(t)), nx.size === 0)) for (let e of rx) e(!0), rx.delete(e);
+ if (!Nx(e) || !t) return;
+ let n = jx.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Px), jx.delete(t)), jx.size === 0)) for (let e of Mx) e(!0), Mx.delete(e);
}
-function ox() {
- tb(document, "transitionrun", Wre), tb(document, "transitionend", ax);
+function Fx() {
+ Cb(document, "transitionrun", hre), Cb(document, "transitionend", Px);
}
-function Gre() {
- for (let [e] of nx) "isConnected" in e && !e.isConnected && nx.delete(e);
+function gre() {
+ for (let [e] of jx) "isConnected" in e && !e.isConnected && jx.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? tb(document, "DOMContentLoaded", ox) : ox());
-function sx(e) {
+typeof document < "u" && (document.readyState === "loading" ? Cb(document, "DOMContentLoaded", Fx) : Fx());
+function Ix(e) {
let t = window.requestAnimationFrame(() => {
- if (Gre(), nx.size === 0) return e(!1);
- rx.add(e);
+ if (gre(), jx.size === 0) return e(!1);
+ Mx.add(e);
});
return () => {
- window.cancelAnimationFrame(t), rx.delete(e);
+ window.cancelAnimationFrame(t), Mx.delete(e);
};
}
// node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function cx(e) {
+function Lx(e) {
if (!e.isConnected) return;
- let t = Zy(e);
- if (Zb() === "virtual") {
- let n = ab(t);
- sx(() => {
- let r = ab(t);
- (r === n || r === t.body) && e.isConnected && Xy(e);
+ let t = yb(e);
+ if (Ex() === "virtual") {
+ let n = Ob(t);
+ Ix(() => {
+ let r = Ob(t);
+ (r === n || r === t.body) && e.isConnected && vb(e);
});
- } else Xy(e);
+ } else vb(e);
}
// node_modules/react-aria/dist/private/utils/chain.mjs
-function lx(...e) {
+function Rx(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
// node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Kre(e) {
+function _re(e) {
let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(t), i = (0, P.useRef)(null), a = (0, P.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);
});
- return pb(() => {
+ return Vb(() => {
r.current = t, i.current && a.current();
}), [t, (0, P.useCallback)((e) => {
i.current = e(r.current), a.current();
}, [a])];
}
// node_modules/react-aria/dist/private/utils/useId.mjs
-var qre = !!(typeof window < "u" && window.document && window.document.createElement), ux = /* @__PURE__ */ new Map(), dx;
-typeof FinalizationRegistry < "u" && (dx = new FinalizationRegistry((e) => {
- ux.delete(e);
+var vre = !!(typeof window < "u" && window.document && window.document.createElement), zx = /* @__PURE__ */ new Map(), Bx;
+typeof FinalizationRegistry < "u" && (Bx = new FinalizationRegistry((e) => {
+ zx.delete(e);
}));
-var fx = /* @__PURE__ */ new WeakMap();
-function px(e) {
- let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = Fre(t), a = (0, P.useRef)(null), o = fx.get(a);
- if (dx && o !== i && (o != null && dx.unregister(a), dx.register(a, i, a), fx.set(a, i)), qre) {
- let e = ux.get(i);
- e && !e.includes(r) ? e.push(r) : ux.set(i, [r]);
- }
- return pb(() => {
+var Vx = /* @__PURE__ */ new WeakMap();
+function Hx(e) {
+ let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = ore(t), a = (0, P.useRef)(null), o = Vx.get(a);
+ if (Bx && o !== i && (o != null && Bx.unregister(a), Bx.register(a, i, a), Vx.set(a, i)), vre) {
+ let e = zx.get(i);
+ e && !e.includes(r) ? e.push(r) : zx.set(i, [r]);
+ }
+ return Vb(() => {
let e = i;
return () => {
- dx && (dx.unregister(a), fx.delete(a)), ux.delete(e);
+ Bx && (Bx.unregister(a), Vx.delete(a)), zx.delete(e);
};
}, [i]), (0, P.useEffect)(() => {
let e = r.current;
@@ -21127,57 +21127,57 @@ function px(e) {
};
}), i;
}
-function Jre(e, t) {
+function yre(e, t) {
if (e === t) return e;
- let n = ux.get(e);
+ let n = zx.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = ux.get(t);
+ let r = zx.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function mx(e = []) {
- let t = px(), [n, r] = Kre(t), i = (0, P.useCallback)(() => {
+function Ux(e = []) {
+ let t = Hx(), [n, r] = _re(t), i = (0, P.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return pb(i, [
+ return Vb(i, [
t,
i,
...e
]), n;
}
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function hx(...e) {
+function Wx(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = gx(e, t);
+ let r = Gx(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : gx(e[n], null);
+ typeof t == "function" ? t() : Gx(e[n], null);
});
};
};
}
-function gx(e, t) {
+function Gx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
// node_modules/clsx/dist/clsx.mjs
-function _x(e) {
+function Kx(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = _x(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Kx(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function vx() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = _x(e)) && (r && (r += " "), r += t);
+function qx() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Kx(e)) && (r && (r += " "), r += t);
return r;
}
// node_modules/react-aria/dist/private/utils/mergeProps.mjs
@@ -21187,17 +21187,17 @@ function K(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = lx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = vx(n, i) : e === "id" && n && i ? t.id = Jre(n, i) : e === "ref" && n && i ? t.ref = hx(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Rx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = qx(n, i) : e === "id" && n && i ? t.id = yre(n, i) : e === "ref" && n && i ? t.ref = Wx(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
// node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function yx(e) {
+function Jx(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, P.useCallback)((e) => {
if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = gb(a), s = (0, P.useCallback)((e) => {
- let t = G(e), r = Zy(t), a = r ? ab(r) : ab();
+ }, [r, i]), o = Wb(a), s = (0, P.useCallback)((e) => {
+ let t = G(e), r = yb(t), a = r ? Ob(r) : Ob();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -21210,7 +21210,7 @@ function yx(e) {
} };
}
// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function bx(e) {
+function Yx(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -21234,33 +21234,33 @@ function bx(e) {
};
}
// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Yre = /* @__PURE__ */ new Set([
+var bre = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Xre = [
+]), xre = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Zre(e) {
+function Sre(e) {
let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(xb() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Xb() ? "Meta" : "Control"), t;
}
-function Qre(e) {
+function Cre(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function xx(e) {
- return Xre.filter((t) => e.has(t));
+function Xx(e) {
+ return xre.filter((t) => e.has(t));
}
-function $re(e) {
+function wre(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Yre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return bre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -21272,10 +21272,10 @@ function $re(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function Sx(e) {
+function Zx(e) {
return e.toLowerCase();
}
-var eie = {
+var Tre = {
space: " ",
esc: "escape",
del: "delete",
@@ -21287,26 +21287,26 @@ var eie = {
pageup: "pageup",
pagedown: "pagedown"
};
-function tie(e) {
- let t = Sx(e);
- return eie[t] ?? t;
+function Ere(e) {
+ let t = Zx(e);
+ return Tre[t] ?? t;
}
-function nie(e) {
- let t = xx(Zre(e)), n = tie(e.key);
+function Dre(e) {
+ let t = Xx(Sre(e)), n = Ere(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function rie(e) {
- let t = xx(Qre(e)), n = Sx(e.key);
+function Ore(e) {
+ let t = Xx(Cre(e)), n = Zx(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function iie(e) {
+function kre(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = $re(n);
- t.set(nie(e), r);
+ let e = wre(n);
+ t.set(Dre(e), r);
}
return (e) => {
- let n = rie(e), r = t.get(n), i = r?.(e);
+ let n = Ore(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -21317,23 +21317,23 @@ function iie(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function Cx(e) {
+function Qx(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = iie(t), s = bx((e) => {
- ib(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = bx((e) => {
- ib(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = kre(t), s = Yx((e) => {
+ Db(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = Yx((e) => {
+ Db(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? lx(e.onKeyDown, s) : s, a = e.onKeyUp ? lx(e.onKeyUp, c) : c;
- } else i = bx(e.onKeyDown), a = bx(e.onKeyUp);
+ i = e.onKeyDown ? Rx(e.onKeyDown, s) : s, a = e.onKeyUp ? Rx(e.onKeyUp, c) : c;
+ } else i = Yx(e.onKeyDown), a = Yx(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
} };
}
// node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function wx(e) {
+function $x(e) {
let t = (0, P.useRef)(null), n = (0, P.useRef)(void 0), r = (0, P.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -21355,25 +21355,25 @@ function wx(e) {
}), [r]);
}
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function Tx(e, t) {
- pb(() => {
+function eS(e, t) {
+ Vb(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
});
}
// node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var Ex = /*#__PURE__*/ P.createContext(null);
-function aie(e) {
- let t = (0, P.useContext)(Ex) || {};
- Tx(t, e);
+var tS = /*#__PURE__*/ P.createContext(null);
+function Are(e) {
+ let t = (0, P.useContext)(tS) || {};
+ eS(t, e);
let { ref: n, ...r } = t;
return r;
}
-function Dx(e, t) {
- let { focusProps: n } = yx(e), { keyboardProps: r } = Cx(e), i = K(n, r), a = aie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);
+function nS(e, t) {
+ let { focusProps: n } = Jx(e), { keyboardProps: r } = Qx(e), i = K(n, r), a = Are(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);
(0, P.useEffect)(() => {
- s.current && t.current && cx(t.current), s.current = !1;
+ s.current && t.current && Lx(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: K({
@@ -21407,21 +21407,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var Ox = /*#__PURE__*/ (0, P.createContext)(!1);
-function oie(e) {
- if ((0, P.useContext)(Ox)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);
- let t = /*#__PURE__*/ P.createElement(Ox.Provider, { value: !0 }, e.children);
+var rS = /*#__PURE__*/ (0, P.createContext)(!1);
+function jre(e) {
+ if ((0, P.useContext)(rS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);
+ let t = /*#__PURE__*/ P.createElement(rS.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ P.createElement("template", null, t);
}
-function kx(e) {
- let t = (t, n) => (0, P.useContext)(Ox) ? null : e(t, n);
+function iS(e) {
+ let t = (t, n) => (0, P.useContext)(rS) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, P.forwardRef)(t);
}
-function Ax() {
- return (0, P.useContext)(Ox);
+function aS() {
+ return (0, P.useContext)(rS);
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var sie = /* @__PURE__ */ o(((e) => {
+var Mre = /* @__PURE__ */ o(((e) => {
var t = A();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -21459,47 +21459,47 @@ var sie = /* @__PURE__ */ o(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), jx = /* @__PURE__ */ o(((e, t) => {
- t.exports = sie();
-})), cie = jx(), Mx = /*#__PURE__*/ (0, P.createContext)(!1), Nx = /*#__PURE__*/ (0, P.createContext)(null);
-function Px(e) {
- if ((0, P.useContext)(Nx)) return e.content;
- let { collection: t, document: n } = fie(e.createCollection);
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(oie, null, /*#__PURE__*/ P.createElement(Nx.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(lie, {
+})), oS = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Mre();
+})), Nre = oS(), sS = /*#__PURE__*/ (0, P.createContext)(!1), cS = /*#__PURE__*/ (0, P.createContext)(null);
+function lS(e) {
+ if ((0, P.useContext)(cS)) return e.content;
+ let { collection: t, document: n } = Lre(e.createCollection);
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(jre, null, /*#__PURE__*/ P.createElement(cS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(Pre, {
render: e.children,
collection: t
}));
}
-function lie({ collection: e, render: t }) {
+function Pre({ collection: e, render: t }) {
return t(e);
}
-function uie(e, t, n) {
- let r = Fb(), i = (0, P.useRef)(r);
+function Fre(e, t, n) {
+ let r = ux(), i = (0, P.useRef)(r);
i.current = r;
let a = (0, P.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, cie.useSyncExternalStore)(e, a);
+ return (0, Nre.useSyncExternalStore)(e, a);
}
-var die = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : uie;
-function fie(e) {
- let [t] = (0, P.useState)(() => new fre(e?.() || new Gy()));
+var Ire = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : Fre;
+function Lre(e) {
+ let [t] = (0, P.useState)(() => new Wne(e?.() || new pb()));
return {
- collection: die((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {
+ collection: Ire((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, P.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var Fx = /*#__PURE__*/ (0, P.createContext)(null);
-function pie(e) {
- return class extends Vy {
+var uS = /*#__PURE__*/ (0, P.createContext)(null);
+function Rre(e) {
+ return class extends lb {
static {
this.type = e;
}
};
}
-function Ix(e, t, n, r, i, a) {
- typeof e == "string" && (e = pie(e));
+function dS(e, t, n, r, i, a) {
+ typeof e == "string" && (e = Rre(e));
let o = (0, P.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -21508,82 +21508,82 @@ function Ix(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, P.useContext)(Fx);
+ ]), s = (0, P.useContext)(uS);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ P.createElement(Fx.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ P.createElement(uS.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ P.createElement(e.type, { ref: o }, i);
}
-function Lx(e, t) {
+function fS(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, P.forwardRef)((r, i) => {
- let a = (0, P.useContext)(Ex);
- if (!(0, P.useContext)(Mx)) {
+ let a = (0, P.useContext)(tS);
+ if (!(0, P.useContext)(sS)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Ix(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(Ex.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));
+ return dS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(tS.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function Rx(e, t, n = zx) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => Ix(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));
+function pS(e, t, n = mS) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => dS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));
return i.displayName = t.name, i;
}
-function zx(e) {
- return Yy({
+function mS(e) {
+ return _b({
...e,
addIdAndValue: !0
});
}
-var Bx = /*#__PURE__*/ (0, P.createContext)(null);
-function Vx(e) {
- let t = (0, P.useContext)(Bx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = zx({
+var hS = /*#__PURE__*/ (0, P.createContext)(null);
+function gS(e) {
+ let t = (0, P.useContext)(hS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = mS({
...e,
idScope: r,
dependencies: n
});
- return (0, P.useContext)(Nx) && (i = /*#__PURE__*/ P.createElement(mie, null, i)), t = (0, P.useMemo)(() => ({
+ return (0, P.useContext)(cS) && (i = /*#__PURE__*/ P.createElement(zre, null, i)), t = (0, P.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ P.createElement(Bx.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ P.createElement(hS.Provider, { value: t }, i);
}
-function mie({ children: e }) {
- let t = (0, P.useContext)(Nx), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(Nx.Provider, { value: null }, /*#__PURE__*/ P.createElement(Mx.Provider, { value: !0 }, e)), [e]);
- return Fb() ? /*#__PURE__*/ P.createElement(Fx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
+function zre({ children: e }) {
+ let t = (0, P.useContext)(cS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(cS.Provider, { value: null }, /*#__PURE__*/ P.createElement(sS.Provider, { value: !0 }, e)), [e]);
+ return ux() ? /*#__PURE__*/ P.createElement(uS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
}
// node_modules/react-aria/dist/private/utils/constants.mjs
-var hie = "react-aria-clear-focus", gie = "react-aria-focus";
+var Bre = "react-aria-clear-focus", Vre = "react-aria-focus";
// node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Hx(e) {
- let t = vie(Zy(e));
- t !== e && (t && _ie(t, e), e && Ux(e, t));
+function _S(e) {
+ let t = Ure(yb(e));
+ t !== e && (t && Hre(t, e), e && vS(e, t));
}
-function _ie(e, t) {
+function Hre(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Ux(e, t) {
+function vS(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function vie(e) {
- let t = ab(e), n = t?.getAttribute("aria-activedescendant");
+function Ure(e) {
+ let t = Ob(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Wx(e, t) {
- let n = Qy(t), r = Zy(t);
+function yS(e, t) {
+ let n = bb(t), r = yb(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
// node_modules/react-aria/dist/private/utils/keyboard.mjs
-var Gx = 100, Kx = 600, qx = {
+var bS = 100, xS = 600, SS = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -21593,7 +21593,7 @@ var Gx = 100, Kx = 600, qx = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, yie = /* @__PURE__ */ new Set([
+}, Wre = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21604,7 +21604,7 @@ var Gx = 100, Kx = 600, qx = {
"submit",
"reset"
]);
-function Jx() {
+function CS() {
let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);
return {
width: e * n,
@@ -21612,58 +21612,58 @@ function Jx() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function bie(e) {
- qx.resizeTimeStamp <= e.timeStamp + 50 && (qx.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(qx.resizeTimeout), qx.resizeTimeout = window.setTimeout(Yx, 150));
+function Gre(e) {
+ SS.resizeTimeStamp <= e.timeStamp + 50 && (SS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(SS.resizeTimeout), SS.resizeTimeout = window.setTimeout(wS, 150));
}
-function Yx() {
- let e = Wx("viewport");
- if (Eb() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = Jx(), r = t - qx.startTimeStamp, i = qx.screenHeight - n.height, a = qx.screenAngle - n.angle;
- Math.abs(a) % 180 && qx.screenWidth - n.height < Gx && (qx.screenWidth = n.width, qx.screenHeight = n.height, qx.screenAngle = n.angle, i = 0), r > Kx && (window.clearTimeout(qx.screenTimeout), qx.screenTimeout = window.setTimeout(() => {
- let e = Qx(document.hasFocus() ? ab() : null), t = Jx();
- Math.abs(qx.screenAngle - t.angle) % 180 || qx.isOpen && e || (qx.screenWidth = t.width, qx.screenHeight = t.height, qx.screenAngle = t.angle, qx.isOpen = !1);
- }, Kx)), r <= Kx && i >= Gx && (qx.endTimeStamp = t), qx.isOpen = i >= Gx;
+function wS() {
+ let e = yS("viewport");
+ if (tx() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = CS(), r = t - SS.startTimeStamp, i = SS.screenHeight - n.height, a = SS.screenAngle - n.angle;
+ Math.abs(a) % 180 && SS.screenWidth - n.height < bS && (SS.screenWidth = n.width, SS.screenHeight = n.height, SS.screenAngle = n.angle, i = 0), r > xS && (window.clearTimeout(SS.screenTimeout), SS.screenTimeout = window.setTimeout(() => {
+ let e = DS(document.hasFocus() ? Ob() : null), t = CS();
+ Math.abs(SS.screenAngle - t.angle) % 180 || SS.isOpen && e || (SS.screenWidth = t.width, SS.screenHeight = t.height, SS.screenAngle = t.angle, SS.isOpen = !1);
+ }, xS)), r <= xS && i >= bS && (SS.endTimeStamp = t), SS.isOpen = i >= bS;
}
-function xie() {
- let e = Jx(), t = qx.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !qx.isOpen) {
- let e = qx.screenWidth;
- qx.screenWidth = qx.screenHeight, qx.screenHeight = e;
+function Kre() {
+ let e = CS(), t = SS.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !SS.isOpen) {
+ let e = SS.screenWidth;
+ SS.screenWidth = SS.screenHeight, SS.screenHeight = e;
}
- qx.isOpen || (qx.screenAngle = e.angle);
+ SS.isOpen || (SS.screenAngle = e.angle);
}
-function Sie(e) {
- let t = Qx(G(e)), n = performance.now(), r = Jx(), i = qx.screenHeight - r.height;
- i < Gx && t && (qx.screenWidth = r.width, qx.screenHeight = r.height, qx.screenAngle = r.angle, qx.startTimeStamp = n), t && window.clearTimeout(qx.screenTimeout), i >= Gx && t && (qx.endTimeStamp = n);
+function qre(e) {
+ let t = DS(G(e)), n = performance.now(), r = CS(), i = SS.screenHeight - r.height;
+ i < bS && t && (SS.screenWidth = r.width, SS.screenHeight = r.height, SS.screenAngle = r.angle, SS.startTimeStamp = n), t && window.clearTimeout(SS.screenTimeout), i >= bS && t && (SS.endTimeStamp = n);
}
-function Xx() {
- let e = Jx();
- tb(window.visualViewport, "resize", wb() ? Yx : bie), tb(window.screen.orientation, "change", xie), tb(window, "focus", Sie, {
+function TS() {
+ let e = CS();
+ Cb(window.visualViewport, "resize", $b() ? wS : Gre), Cb(window.screen.orientation, "change", Kre), Cb(window, "focus", qre, {
capture: !0,
passive: !0
- }), qx.screenWidth = e.width, qx.screenHeight = e.height, qx.screenAngle = e.angle;
+ }), SS.screenWidth = e.width, SS.screenHeight = e.height, SS.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? tb(document, "DOMContentLoaded", Xx) : Xx());
-function Zx() {
- let e = Wx("viewport");
- return Eb() && e?.includes("overlays-content") ? !1 : qx.isOpen ? !0 : qx.startTimeStamp ? qx.endTimeStamp >= qx.startTimeStamp ? !0 : performance.now() - qx.startTimeStamp <= Kx ? qx.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? Cb(document, "DOMContentLoaded", TS) : TS());
+function ES() {
+ let e = yS("viewport");
+ return tx() && e?.includes("overlays-content") ? !1 : SS.isOpen ? !0 : SS.startTimeStamp ? SS.endTimeStamp >= SS.startTimeStamp ? !0 : performance.now() - SS.startTimeStamp <= xS ? SS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function Qx(e) {
- if (!(e instanceof Element) || !ub(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !yie.has(e.type);
+function DS(e) {
+ if (!(e instanceof Element) || !Rb(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Wre.has(e.type);
return t || n || r;
}
-function $x(e) {
- return xb() ? e.metaKey : e.ctrlKey;
+function OS(e) {
+ return Xb() ? e.metaKey : e.ctrlKey;
}
-function eS() {
- return qx.isOpen;
+function kS() {
+ return SS.isOpen;
}
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Cie = P.useInsertionEffect ?? pb;
-function tS(e) {
+var Jre = P.useInsertionEffect ?? Vb;
+function AS(e) {
let t = (0, P.useRef)(null);
- return Cie(() => {
+ return Jre(() => {
t.current = e;
}, [e]), (0, P.useCallback)((...e) => {
let n = t.current;
@@ -21671,10 +21671,10 @@ function tS(e) {
}, []);
}
// node_modules/react-aria/dist/private/utils/useEvent.mjs
-function nS(e, t, n, r) {
- let i = tS(n), a = n == null;
+function jS(e, t, n, r) {
+ let i = AS(n), a = n == null;
(0, P.useEffect)(() => {
- if (!(a || e.current == null)) return tb(e.current, t, i, r);
+ if (!(a || e.current == null)) return Cb(e.current, t, i, r);
}, [
e,
t,
@@ -21683,16 +21683,16 @@ function nS(e, t, n, r) {
]);
}
// node_modules/react-aria/dist/private/utils/useLabels.mjs
-function rS(e, t) {
+function MS(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = px(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = Hx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
};
}
// node_modules/react-aria/dist/private/i18n/utils.mjs
-var wie = /* @__PURE__ */ new Set([
+var Yre = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -21703,7 +21703,7 @@ var wie = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Tie = /* @__PURE__ */ new Set([
+]), Xre = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -21724,19 +21724,19 @@ var wie = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Eie(e) {
+function Zre(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return wie.has(t.script);
+ if (t.script) return Yre.has(t.script);
}
let t = e.split("-")[0];
- return Tie.has(t);
+ return Xre.has(t);
}
// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var iS = Symbol.for("react-aria.i18n.locale");
-function aS() {
- let e = typeof window < "u" && window[iS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var NS = Symbol.for("react-aria.i18n.locale");
+function PS() {
+ let e = typeof window < "u" && window[NS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -21744,31 +21744,31 @@ function aS() {
}
return {
locale: e,
- direction: Eie(e) ? "rtl" : "ltr"
+ direction: Zre(e) ? "rtl" : "ltr"
};
}
-var oS = aS(), sS = /* @__PURE__ */ new Set();
-function cS() {
- oS = aS();
- for (let e of sS) e(oS);
+var FS = PS(), IS = /* @__PURE__ */ new Set();
+function LS() {
+ FS = PS();
+ for (let e of IS) e(FS);
}
-function Die() {
- let e = Fb(), [t, n] = (0, P.useState)(oS);
- return (0, P.useEffect)(() => (sS.size === 0 && window.addEventListener("languagechange", cS), sS.add(n), () => {
- sS.delete(n), sS.size === 0 && window.removeEventListener("languagechange", cS);
+function Qre() {
+ let e = ux(), [t, n] = (0, P.useState)(FS);
+ return (0, P.useEffect)(() => (IS.size === 0 && window.addEventListener("languagechange", LS), IS.add(n), () => {
+ IS.delete(n), IS.size === 0 && window.removeEventListener("languagechange", LS);
}), []), e ? {
- locale: typeof window < "u" && window[iS] || "en-US",
+ locale: typeof window < "u" && window[NS] || "en-US",
direction: "ltr"
} : t;
}
// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Oie = /*#__PURE__*/ P.createContext(null);
-function lS() {
- let e = Die();
- return (0, P.useContext)(Oie) || e;
+var $re = /*#__PURE__*/ P.createContext(null);
+function RS() {
+ let e = Qre();
+ return (0, P.useContext)($re) || e;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var kie = Symbol.for("react-aria.i18n.locale"), uS = Symbol.for("react-aria.i18n.strings"), dS = void 0, fS = class e {
+var eie = Symbol.for("react-aria.i18n.locale"), tie = Symbol.for("react-aria.i18n.strings"), zS = void 0, BS = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -21779,38 +21779,38 @@ var kie = Symbol.for("react-aria.i18n.locale"), uS = Symbol.for("react-aria.i18n
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = pS(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = nie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[kie];
- if (dS === void 0) {
- let t = window[uS];
+ let n = window[eie];
+ if (zS === void 0) {
+ let t = window[tie];
if (!t) return null;
- dS = {};
- for (let r in t) dS[r] = new e({ [n]: t[r] }, n);
+ zS = {};
+ for (let r in t) zS[r] = new e({ [n]: t[r] }, n);
}
- let r = dS?.[t];
+ let r = zS?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function pS(e, t, n = "en-US") {
+function nie(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = mS(e), i = hS(e);
+ let r = rie(e), i = iie(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function mS(e) {
+function rie(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function hS(e) {
+function iie(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var gS = /* @__PURE__ */ new Map(), _S = /* @__PURE__ */ new Map(), vS = class {
+var VS = /* @__PURE__ */ new Map(), HS = /* @__PURE__ */ new Map(), aie = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -21821,36 +21821,36 @@ var gS = /* @__PURE__ */ new Map(), _S = /* @__PURE__ */ new Map(), vS = class {
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = gS.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), gS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = VS.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), VS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = _S.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), _S.set(this.locale, t)), t.format(e);
+ let t = HS.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), HS.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, yS = /* @__PURE__ */ new WeakMap();
-function bS(e) {
- let t = yS.get(e);
- return t || (t = new fS(e), yS.set(e, t)), t;
+}, US = /* @__PURE__ */ new WeakMap();
+function oie(e) {
+ let t = US.get(e);
+ return t || (t = new BS(e), US.set(e, t)), t;
}
-function xS(e, t) {
- return t && fS.getGlobalDictionaryForPackage(t) || bS(e);
+function sie(e, t) {
+ return t && BS.getGlobalDictionaryForPackage(t) || oie(e);
}
-function SS(e, t) {
- let { locale: n } = lS(), r = xS(e, t);
- return (0, P.useMemo)(() => new vS(n, r), [n, r]);
+function WS(e, t) {
+ let { locale: n } = RS(), r = sie(e, t);
+ return (0, P.useMemo)(() => new aie(n, r), [n, r]);
}
// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var CS = /* @__PURE__ */ new Set(["id"]), wS = /* @__PURE__ */ new Set([
+var cie = /* @__PURE__ */ new Set(["id"]), lie = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), TS = /* @__PURE__ */ new Set([
+]), uie = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -21858,60 +21858,60 @@ var CS = /* @__PURE__ */ new Set(["id"]), wS = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), ES = /* @__PURE__ */ new Set([
+]), die = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), DS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), OS = /^(data-.*)$/;
-function kS(e, t = {}) {
+]), GS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), fie = /^(data-.*)$/;
+function KS(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (CS.has(t) || n && wS.has(t) || r && TS.has(t) || i && ES.has(t) || a && (DS.has(t) || t.endsWith("Capture") && DS.has(t.slice(0, -7))) || o?.has(t) || OS.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (cie.has(t) || n && lie.has(t) || r && uie.has(t) || i && die.has(t) || a && (GS.has(t) || t.endsWith("Capture") && GS.has(t.slice(0, -7))) || o?.has(t) || fie.test(t)) && (s[t] = e[t]);
return s;
}
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var AS = "default", jS = "", MS = /* @__PURE__ */ new WeakMap();
-function NS(e) {
- if (Cb() && wb()) {
- if (AS === "default") {
- let t = Zy(e);
- jS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- AS = "disabled";
+var qS = "default", JS = "", YS = /* @__PURE__ */ new WeakMap();
+function XS(e) {
+ if (Qb() && $b()) {
+ if (qS === "default") {
+ let t = yb(e);
+ JS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ qS = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- MS.set(e, e.style[t]), e.style[t] = "none";
+ YS.set(e, e.style[t]), e.style[t] = "none";
}
}
-function PS(e) {
- if (Cb() && wb()) {
- if (AS !== "disabled") return;
- AS = "restoring", setTimeout(() => {
- sx(() => {
- if (AS === "restoring") {
- let t = Zy(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = jS || ""), jS = "", AS = "default";
+function ZS(e) {
+ if (Qb() && $b()) {
+ if (qS !== "disabled") return;
+ qS = "restoring", setTimeout(() => {
+ Ix(() => {
+ if (qS === "restoring") {
+ let t = yb(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = JS || ""), JS = "", qS = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && MS.has(e)) {
- let t = MS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), MS.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && YS.has(e)) {
+ let t = YS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), YS.delete(e);
}
}
// node_modules/react-aria/dist/private/utils/getNonce.mjs
-var FS = /* @__PURE__ */ new WeakMap();
-function IS(e) {
- let t = Zy(e), n = FS.get(t);
- return n ??= Wx("csp-nonce", t), n !== void 0 && FS.set(t, n), n;
+var QS = /* @__PURE__ */ new WeakMap();
+function $S(e) {
+ let t = yb(e), n = QS.get(t);
+ return n ??= yS("csp-nonce", t), n !== void 0 && QS.set(t, n), n;
}
// node_modules/react-aria/dist/private/interactions/context.mjs
-var LS = P.createContext({ register: () => {} });
-LS.displayName = "PressResponderContext";
+var eC = P.createContext({ register: () => {} });
+eC.displayName = "PressResponderContext";
// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function RS() {
+function tC() {
let e = (0, P.useRef)(/* @__PURE__ */ new Map()), t = (0, P.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -21937,15 +21937,15 @@ function RS() {
};
}
// node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Aie(e) {
- let t = (0, P.useContext)(LS);
+function pie(e) {
+ let t = (0, P.useContext)(eC);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return Tx(t, e.ref), e;
+ return eS(t, e.ref), e;
}
-var zS = class {
+var nC = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -21958,9 +21958,9 @@ var zS = class {
get shouldStopPropagation() {
return this.#e;
}
-}, BS = Symbol("linkClicked"), VS = "react-aria-pressable-style", HS = "data-react-aria-pressable";
-function US(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Aie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({
+}, rC = Symbol("linkClicked"), iC = "react-aria-pressable-style", aC = "data-react-aria-pressable";
+function oC(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = pie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -21970,12 +21970,12 @@ function US(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = RS(), y = (0, P.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = tC(), y = (0, P.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new zS("pressstart", t, e);
+ let n = new nC("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -21989,11 +21989,11 @@ function US(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new zS("pressend", r, e);
+ let t = new nC("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new zS("press", r, e);
+ let n = new nC("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -22002,19 +22002,19 @@ function US(e) {
i,
n,
t
- ]), x = tS(b), S = tS((0, P.useCallback)((e, t) => {
+ ]), x = AS(b), S = AS((0, P.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new zS("pressup", t, e);
+ let r = new nC("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, P.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(KS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || PS(t.target);
+ t.didFirePressStart && t.pointerType != null && b(lC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ZS(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -22022,7 +22022,7 @@ function US(e) {
d,
v,
b
- ]), w = tS(C);
+ ]), w = AS(C);
(0, P.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -22039,39 +22039,39 @@ function US(e) {
}, [s, o]), D = (0, P.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- hb(n, t), o(mb(n));
+ Ub(n, t), o(Hb(n));
}
}, [s, o]), O = (0, P.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (GS(t.nativeEvent, t.currentTarget) && ib(t.currentTarget, G(t))) {
- qS(G(t), t.key) && t.preventDefault();
+ if (cC(t.nativeEvent, t.currentTarget) && Db(t.currentTarget, G(t))) {
+ uC(G(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(Zy(t.currentTarget), "keyup", lx((t) => {
- GS(t, i) && !t.repeat && ib(i, G(t)) && e.target && S(KS(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && xb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(yb(t.currentTarget), "keyup", Rx((t) => {
+ cC(t, i) && !t.repeat && Db(i, G(t)) && e.target && S(lC(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && Xb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || ib(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !kb.isOpening) {
+ if ((!t || Db(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !ix.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Db(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || nx(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(KS(t.currentTarget, t), r), a = x(KS(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(lC(t.currentTarget, t), r), a = x(lC(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && GS(t, e.target)) {
- qS(G(t), t.key) && t.preventDefault();
- let n = G(t), r = ib(e.target, n);
- x(KS(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && WS(e.target) && ib(e.target, n) && !t[BS] && (t[BS] = !0, kb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && cC(t, e.target)) {
+ uC(G(t), t.key) && t.preventDefault();
+ let n = G(t), r = Db(e.target, n);
+ x(lC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && sC(e.target) && Db(e.target, n) && !t[rC] && (t[rC] = !0, ix(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -22080,39 +22080,39 @@ function US(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !ib(t.currentTarget, G(t))) return;
- if (Tre(t.nativeEvent)) {
+ if (t.button !== 0 || !Db(t.currentTarget, G(t))) return;
+ if (Xne(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || NS(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || XS(e.target), i = y(t, e.pointerType);
let a = G(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Zy(t.currentTarget), "pointerup", n, !1), _(Zy(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(yb(t.currentTarget), "pointerup", n, !1), _(yb(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (ib(t.currentTarget, G(t)) && t.button === 0) {
+ if (Db(t.currentTarget, G(t)) && t.button === 0) {
if (l) {
- let n = Sre(t.target);
+ let n = Kb(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- ib(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ Db(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(KS(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(lC(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(KS(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(lC(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (ib(e.target, G(t)) && e.pointerType != null) {
+ if (Db(e.target, G(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Xy(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (vb(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -22122,7 +22122,7 @@ function US(e) {
w(e);
};
t.onDragStart = (e) => {
- ib(e.currentTarget, G(e)) && w(e);
+ Db(e.currentTarget, G(e)) && w(e);
};
}
return t;
@@ -22139,14 +22139,14 @@ function US(e) {
]);
return (0, P.useEffect)(() => {
if (!f) return;
- let e = Zy(f.current);
- if (!e || !e.head || e.getElementById(VS)) return;
+ let e = yb(f.current);
+ if (!e || !e.head || e.getElementById(iC)) return;
let t = e.createElement("style");
- t.id = VS;
- let n = IS(e);
+ t.id = iC;
+ let n = $S(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${HS}] {
+ [${aC}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -22154,23 +22154,23 @@ function US(e) {
}, [f]), (0, P.useEffect)(() => {
let e = g.current;
return () => {
- d || PS(e.target ?? void 0);
+ d || ZS(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, O, { [HS]: !0 })
+ pressProps: K(p, O, { [aC]: !0 })
};
}
-function WS(e) {
+function sC(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function GS(e, t) {
+function cC(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Qy(i).HTMLInputElement && !JS(i, n) || i instanceof Qy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && WS(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof bb(i).HTMLInputElement && !dC(i, n) || i instanceof bb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && sC(i)) && n !== "Enter");
}
-function KS(e, t) {
+function lC(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -22183,13 +22183,13 @@ function KS(e, t) {
key: t.key
};
}
-function jie(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !WS(e);
+function mie(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !sC(e);
}
-function qS(e, t) {
- return xb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !JS(e, t) : jie(e);
+function uC(e, t) {
+ return Xb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !dC(e, t) : mie(e);
}
-var Mie = /* @__PURE__ */ new Set([
+var hie = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22200,11 +22200,11 @@ var Mie = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function JS(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Mie.has(e.type);
+function dC(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : hie.has(e.type);
}
// node_modules/react-aria/dist/private/button/useButton.mjs
-function Nie(e, t) {
+function gie(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -22226,7 +22226,7 @@ function Nie(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = US({
+ let { pressProps: _, isPressed: v } = oC({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -22236,9 +22236,9 @@ function Nie(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = Dx(e, t);
+ }), { focusableProps: y } = nS(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, kS(e, { labelable: !0 }));
+ let b = K(y, _, KS(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -22252,7 +22252,7 @@ function Nie(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Pie = class {
+var _ie = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -22277,7 +22277,7 @@ var Pie = class {
return this._currentNode;
}
set currentNode(e) {
- if (!ib(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!Db(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -22291,7 +22291,7 @@ var Pie = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return ib(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return Db(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -22355,44 +22355,44 @@ var Pie = class {
return null;
}
};
-function YS(e, t, n, r) {
- return rb() ? new Pie(e, t, n, r) : e.createTreeWalker(t, n, r);
+function fC(e, t, n, r) {
+ return Eb() ? new _ie(e, t, n, r) : e.createTreeWalker(t, n, r);
}
// node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var XS = /*#__PURE__*/ P.createContext(null), ZS = "react-aria-focus-scope-restore", QS = null;
-function $S(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(XS) || {}, l = (0, P.useMemo)(() => new fC({ scopeRef: s }), [s]);
- pb(() => {
- let e = c || pC.root;
- if (pC.getTreeNode(e.scopeRef) && QS && !aC(QS, e.scopeRef)) {
- let t = pC.getTreeNode(QS);
+var pC = /*#__PURE__*/ P.createContext(null), mC = "react-aria-focus-scope-restore", hC = null;
+function gC(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(pC) || {}, l = (0, P.useMemo)(() => new FC({ scopeRef: s }), [s]);
+ Vb(() => {
+ let e = c || IC.root;
+ if (IC.getTreeNode(e.scopeRef) && hC && !wC(hC, e.scopeRef)) {
+ let t = IC.getTreeNode(hC);
t && (e = t);
}
- e.addChild(l), pC.addNode(l);
- }, [l, c]), pb(() => {
- let e = pC.getTreeNode(s);
+ e.addChild(l), IC.addNode(l);
+ }, [l, c]), Vb(() => {
+ let e = IC.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), pb(() => {
+ }, [n]), Vb(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(ZS, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(mC, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(ZS, n);
+ for (let e of t) e.removeEventListener(mC, n);
};
- }, [t]), Vie(s, r, n), Rie(s, n), Hie(s, r, n), Bie(s, i), (0, P.useEffect)(() => {
- let e = ab(Zy(s.current ? s.current[0] : void 0)), t = null;
- if (rC(e, s.current)) {
- for (let n of pC.traverse()) n.scopeRef && rC(e, n.scopeRef.current) && (t = n);
- t === pC.getTreeNode(s) && (QS = t.scopeRef);
- }
- }, [s]), pb(() => () => {
- let e = pC.getTreeNode(s)?.parent?.scopeRef ?? null;
- s !== QS && !aC(s, QS) || e && !pC.getTreeNode(e) || (QS = e), pC.removeTreeNode(s);
+ }, [t]), kC(s, r, n), yC(s, n), jC(s, r, n), OC(s, i), (0, P.useEffect)(() => {
+ let e = Ob(yb(s.current ? s.current[0] : void 0)), t = null;
+ if (xC(e, s.current)) {
+ for (let n of IC.traverse()) n.scopeRef && xC(e, n.scopeRef.current) && (t = n);
+ t === IC.getTreeNode(s) && (hC = t.scopeRef);
+ }
+ }, [s]), Vb(() => () => {
+ let e = IC.getTreeNode(s)?.parent?.scopeRef ?? null;
+ s !== hC && !wC(s, hC) || e && !IC.getTreeNode(e) || (hC = e), IC.removeTreeNode(s);
}, [s]);
- let u = (0, P.useMemo)(() => Fie(s), []), d = (0, P.useMemo)(() => ({
+ let u = (0, P.useMemo)(() => vie(s), []), d = (0, P.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ P.createElement(XS.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {
+ return /*#__PURE__*/ P.createElement(pC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -22402,154 +22402,154 @@ function $S(e) {
ref: o
}));
}
-function Fie(e) {
+function vie(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || ab(Zy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = dC(eC(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Ob(yb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = NC(_C(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = rC(s, n) ? s : c;
+ l.currentNode = xC(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && oC(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && TC(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || ab(Zy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = dC(eC(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Ob(yb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = NC(_C(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = rC(s, n) ? s : c;
+ l.currentNode = xC(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && oC(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && TC(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = dC(eC(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = NC(_C(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && oC(o, !0), o;
+ return o && TC(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = dC(eC(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = NC(_C(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && oC(o, !0), o;
+ return o && TC(o, !0), o;
}
};
}
-function eC(e) {
+function _C(e) {
return e[0].parentElement;
}
-function tC(e) {
- let t = pC.getTreeNode(QS);
+function vC(e) {
+ let t = IC.getTreeNode(hC);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Iie(e) {
- if (!e.form) return Array.from(Zy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Qy(e);
+function yie(e) {
+ if (!e.form) return Array.from(yb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = bb(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Lie(e) {
+function bie(e) {
if (e.checked) return !0;
- let t = Iie(e);
+ let t = yie(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Rie(e, t) {
+function yC(e, t) {
let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);
- pb(() => {
+ Vb(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Zy(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !tC(e) || t.isComposing) return;
- let n = ab(a), r = e.current;
- if (!r || !rC(n, r)) return;
- let i = dC(eC(r), { tabbable: !0 }, r);
+ let a = yb(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !vC(e) || t.isComposing) return;
+ let n = Ob(a), r = e.current;
+ if (!r || !xC(n, r)) return;
+ let i = NC(_C(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (oC(o, !0), o instanceof Qy(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (TC(o, !0), o instanceof bb(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!QS || aC(QS, e)) && rC(G(t), e.current) ? (QS = e, n.current = G(t)) : tC(e) && !iC(G(t), e) ? n.current ? oC(n.current) : QS && QS.current && cC(QS.current) : tC(e) && (n.current = G(t));
+ (!hC || wC(hC, e)) && xC(G(t), e.current) ? (hC = e, n.current = G(t)) : vC(e) && !SC(G(t), e) ? n.current ? TC(n.current) : hC && hC.current && DC(hC.current) : vC(e) && (n.current = G(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = Zb(), i = (r === "virtual" || r === null) && Eb() && Tb(), o = ab(a);
- if (!i && o && tC(e) && !iC(o, e)) {
- QS = e;
+ let r = Ex(), i = (r === "virtual" || r === null) && tx() && ex(), o = Ob(a);
+ if (!i && o && vC(e) && !SC(o, e)) {
+ hC = e;
let r = G(t);
- r && r.isConnected ? (n.current = r, oC(n.current)) : QS.current && cC(QS.current);
+ r && r.isConnected ? (n.current = r, TC(n.current)) : hC.current && DC(hC.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), pb(() => () => {
+ }, [e, t]), Vb(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function nC(e) {
- return iC(e);
+function bC(e) {
+ return SC(e);
}
-function rC(e, t) {
- return !e || !t ? !1 : t.some((t) => ib(t, e));
+function xC(e, t) {
+ return !e || !t ? !1 : t.some((t) => Db(t, e));
}
-function iC(e, t = null) {
+function SC(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of pC.traverse(pC.getTreeNode(t))) if (n && rC(e, n.current)) return !0;
+ for (let { scopeRef: n } of IC.traverse(IC.getTreeNode(t))) if (n && xC(e, n.current)) return !0;
return !1;
}
-function zie(e) {
- return iC(e, QS);
+function CC(e) {
+ return SC(e, hC);
}
-function aC(e, t) {
- let n = pC.getTreeNode(t)?.parent;
+function wC(e, t) {
+ let n = IC.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function oC(e, t = !1) {
+function TC(e, t = !1) {
if (e != null && !t) try {
- cx(e);
+ Lx(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function sC(e, t = !0) {
- let n = e[0].previousElementSibling, r = eC(e), i = dC(r, { tabbable: t }, e);
+function EC(e, t = !0) {
+ let n = e[0].previousElementSibling, r = _C(e), i = NC(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = eC(e), i = dC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = _C(e), i = NC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function cC(e, t = !0) {
- oC(sC(e, t));
+function DC(e, t = !0) {
+ TC(EC(e, t));
}
-function Bie(e, t) {
+function OC(e, t) {
let n = P.useRef(t);
(0, P.useEffect)(() => {
- n.current && (QS = e, !rC(ab(Zy(e.current ? e.current[0] : void 0)), QS.current) && e.current && cC(e.current)), n.current = !1;
+ n.current && (hC = e, !xC(Ob(yb(e.current ? e.current[0] : void 0)), hC.current) && e.current && DC(e.current)), n.current = !1;
}, [e]);
}
-function Vie(e, t, n) {
- pb(() => {
+function kC(e, t, n) {
+ Vb(() => {
if (t || n) return;
- let r = e.current, i = Zy(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = yb(r ? r[0] : void 0), a = (t) => {
let n = G(t);
- rC(n, e.current) ? QS = e : nC(n) || (QS = null);
+ xC(n, e.current) ? hC = e : bC(n) || (hC = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -22560,43 +22560,43 @@ function Vie(e, t, n) {
n
]);
}
-function lC(e) {
- let t = pC.getTreeNode(QS);
+function AC(e) {
+ let t = IC.getTreeNode(hC);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Hie(e, t, n) {
- let r = (0, P.useRef)(typeof document < "u" ? ab(Zy(e.current ? e.current[0] : void 0)) : null);
- pb(() => {
- let r = e.current, i = Zy(r ? r[0] : void 0);
+function jC(e, t, n) {
+ let r = (0, P.useRef)(typeof document < "u" ? Ob(yb(e.current ? e.current[0] : void 0)) : null);
+ Vb(() => {
+ let r = e.current, i = yb(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!QS || aC(QS, e)) && rC(ab(i), e.current) && (QS = e);
+ (!hC || wC(hC, e)) && xC(Ob(i), e.current) && (hC = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), pb(() => {
- let r = Zy(e.current ? e.current[0] : void 0);
+ }, [e, n]), Vb(() => {
+ let r = yb(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !tC(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !vC(e) || t.isComposing) return;
let n = r.activeElement;
- if (!iC(n, e) || !lC(e)) return;
- let i = pC.getTreeNode(e);
+ if (!SC(n, e) || !AC(e)) return;
+ let i = IC.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = dC(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = NC(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !iC(s, e)) && a) {
+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !SC(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (iC(s, e));
- t.preventDefault(), t.stopPropagation(), s ? oC(s, !0) : nC(a) ? oC(a, !0) : n.blur();
+ while (SC(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? TC(s, !0) : bC(a) ? TC(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -22606,31 +22606,31 @@ function Hie(e, t, n) {
e,
t,
n
- ]), pb(() => {
- let n = Zy(e.current ? e.current[0] : void 0);
+ ]), Vb(() => {
+ let n = yb(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = pC.getTreeNode(e);
+ let i = IC.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = pC.getTreeNode(e);
+ let r = IC.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = ab(n);
- if (t && i && (a && iC(a, e) || a === n.body && lC(e))) {
- let t = pC.clone();
+ let i = r.nodeToRestore, a = Ob(n);
+ if (t && i && (a && SC(a, e) || a === n.body && AC(e))) {
+ let t = IC.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- uC(n.nodeToRestore);
+ MC(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && pC.getTreeNode(n.scopeRef)) {
- let e = sC(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && IC.getTreeNode(n.scopeRef)) {
+ let e = EC(n.scopeRef.current, !0);
if (e) {
- uC(e);
+ MC(e);
return;
}
}
@@ -22642,21 +22642,21 @@ function Hie(e, t, n) {
};
}, [e, t]);
}
-function uC(e) {
- e.dispatchEvent(new CustomEvent(ZS, {
+function MC(e) {
+ e.dispatchEvent(new CustomEvent(mC, {
bubbles: !0,
cancelable: !0
- })) && oC(e);
+ })) && TC(e);
}
-function dC(e, t, n) {
- let r = t?.tabbable ? db : ub, i = Zy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = YS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return ib(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Lie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || rC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function NC(e, t, n) {
+ let r = t?.tabbable ? zb : Rb, i = yb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = fC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return Db(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!bie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || xC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Uie = class e {
+var PC = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new fC({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new FC({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -22667,7 +22667,7 @@ var Uie = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new fC({ scopeRef: e });
+ let i = new FC({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -22678,7 +22678,7 @@ var Uie = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && rC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && xC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -22690,7 +22690,7 @@ var Uie = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, fC = class {
+}, FC = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -22700,13 +22700,13 @@ var Uie = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, pC = new Uie(), mC = 7e3, hC = null;
-function gC(e, t = "assertive", n = mC) {
- hC ? hC.announce(e, t, n) : (hC = new Wie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? hC.announce(e, t, n) : setTimeout(() => {
- hC?.isAttached() && hC?.announce(e, t, n);
+}, IC = new PC(), LC = 7e3, RC = null;
+function zC(e, t = "assertive", n = LC) {
+ RC ? RC.announce(e, t, n) : (RC = new BC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? RC.announce(e, t, n) : setTimeout(() => {
+ RC?.isAttached() && RC?.announce(e, t, n);
}, 100));
}
-var Wie = class {
+var BC = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -22731,7 +22731,7 @@ var Wie = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = mC) {
+ announce(e, t = "assertive", n = LC) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -22743,8 +22743,8 @@ var Wie = class {
}
};
// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function _C(e, t) {
- let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = tS(e);
+function VC(e, t) {
+ let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = AS(e);
(0, P.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, P.useEffect)(() => {
@@ -22753,30 +22753,30 @@ function _C(e, t) {
}, t);
}
// node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function vC(e, t) {
+function HC(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
// node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function yC(e, t) {
+function UC(e, t) {
let n = e;
- for (vC(n, t) && (n = n.parentElement); n && !vC(n, t);) n = n.parentElement;
+ for (HC(n, t) && (n = n.parentElement); n && !HC(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
// node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function bC(e, t) {
+function WC(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (vC(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (HC(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function xC(e, t, n = {}) {
- e !== t && Gie(e, t, t.getBoundingClientRect(), n);
+function GC(e, t, n = {}) {
+ e !== t && KC(e, t, t.getBoundingClientRect(), n);
}
-function Gie(e, t, n, r = {}) {
+function KC(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, te = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, P = h + (f ? 0 : D) + C, F = g - (f ? 0 : O) - w;
- Cb() && wb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);
+ Qb() && $b() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);
let ae = k < re || A > ie, oe = j < P || M > F;
if (ae && i === "start") o += k - re;
else if (ae && i === "center") o += (k + A) / 2 - (re + ie) / 2;
@@ -22797,7 +22797,7 @@ function Gie(e, t, n, r = {}) {
top: o
});
}
-function SC(e, t = {}) {
+function qC(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -22810,45 +22810,45 @@ function SC(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = bC(e, !0);
- for (let t of i) xC(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = WC(e, !0);
+ for (let t of i) GC(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? bC(n, !0) : [];
- for (let e of i) xC(e, n, {
+ i = n ? WC(n, !0) : [];
+ for (let e of i) GC(e, n, {
block: "center",
inline: "center"
});
- for (let t of bC(e, !0)) xC(t, e);
+ for (let t of WC(e, !0)) GC(t, e);
}
}
}
}
// node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Kie = 0, CC = /* @__PURE__ */ new Map();
-function wC(e) {
+var JC = 0, YC = /* @__PURE__ */ new Map();
+function XC(e) {
let [t, n] = (0, P.useState)();
- return pb(() => {
+ return Vb(() => {
if (!e) return;
- let t = CC.get(e);
+ let t = YC.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Kie++}`;
+ let r = `react-aria-description-${JC++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, CC.set(e, t);
+ }, YC.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), CC.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), YC.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
// node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function TC(e, t, n) {
- let r = tS((e) => {
+function ZC(e, t, n) {
+ let r = AS((e) => {
n && !e.defaultPrevented && n(t);
});
(0, P.useEffect)(() => {
@@ -22859,21 +22859,21 @@ function TC(e, t, n) {
}, [e]);
}
// node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function EC(e, t, n) {
+function QC(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- pb(() => {
+ Vb(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Jie(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(ew(n.current));
}
});
- let a = (0, P.useRef)(!1), o = tS(() => {
+ let a = (0, P.useRef)(!1), o = AS(() => {
a.current || t.resetValidation();
- }), s = tS((e) => {
+ }), s = AS((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Yie(r) === n.current && (i ? i() : n.current?.focus(), Qb("keyboard")), e.preventDefault();
- }), c = tS(() => {
+ !e.defaultPrevented && n && r && tw(r) === n.current && (i ? i() : n.current?.focus(), Dx("keyboard")), e.preventDefault();
+ }), c = AS(() => {
t.commitValidation();
});
(0, P.useEffect)(() => {
@@ -22887,7 +22887,7 @@ function EC(e, t, n) {
};
}, [n, r]);
}
-function qie(e) {
+function $C(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -22903,14 +22903,14 @@ function qie(e) {
valid: t.valid
};
}
-function Jie(e) {
+function ew(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: qie(e),
+ validationDetails: $C(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Yie(e) {
+function tw(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -22918,23 +22918,23 @@ function Yie(e) {
return null;
}
// node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Xie(e = !0) {
+function nw(e = !0) {
let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return pb(() => {
+ return Vb(() => {
r.current || n(!1);
}, []), [i, t];
}
-function DC(e = !0) {
- let t = px(), [n, r] = Xie(e);
+function rw(e = !0) {
+ let t = Hx(), [n, r] = nw(e);
return {
id: r ? t : void 0,
ref: n
};
}
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var OC = {
+var iw = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -22946,18 +22946,18 @@ var OC = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, kC = {
- ...OC,
+}, aw = {
+ ...iw,
customError: !0,
valid: !1
-}, AC = {
+}, ow = {
isInvalid: !1,
- validationDetails: OC,
+ validationDetails: iw,
validationErrors: []
-}, Zie = (0, P.createContext)({}), jC = "__reactAriaFormValidationState";
-function MC(e) {
+}, xie = (0, P.createContext)({}), sw = "__reactAriaFormValidationState";
+function cw(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[jC];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[sw];
return {
realtimeValidation: t,
displayValidation: n,
@@ -22966,70 +22966,70 @@ function MC(e) {
commitValidation: a
};
}
- return Qie(e);
+ return Sie(e);
}
-function Qie(e) {
+function Sie(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: kC
- }, l = (0, P.useMemo)(() => !o || i == null ? null : PC($ie(o, i)), [o, i]);
+ validationDetails: aw
+ }, l = (0, P.useMemo)(() => !o || i == null ? null : uw(Cie(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, P.useContext)(Zie), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => NC(u[e])) : NC(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);
+ let u = (0, P.useContext)(xie), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => lw(u[e])) : lw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, P.useMemo)(() => PC(m ? [] : d), [m, d]), _ = (0, P.useRef)(AC), [v, y] = (0, P.useState)(AC), b = (0, P.useRef)(AC), x = () => {
+ let g = (0, P.useMemo)(() => uw(m ? [] : d), [m, d]), _ = (0, P.useRef)(ow), [v, y] = (0, P.useState)(ow), b = (0, P.useRef)(ow), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- FC(e, b.current) || (b.current = e, y(e));
+ dw(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, P.useState)(!1);
return (0, P.useEffect)(x), {
- realtimeValidation: c || g || l || a || AC,
+ realtimeValidation: c || g || l || a || ow,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !FC(v, e) ? y(e) : _.current = e;
+ s === "aria" && !dw(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = AC;
- FC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = ow;
+ dw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function NC(e) {
+function lw(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function $ie(e, t) {
+function Cie(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return NC(n);
+ if (n && typeof n != "boolean") return lw(n);
}
return [];
}
-function PC(e) {
+function uw(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: kC
+ validationDetails: aw
} : null;
}
-function FC(e, t) {
+function dw(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
// node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function IC(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = MC({
+function fw(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = cw({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- EC(e, b, n);
+ QC(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: T, isPressed: E } = US({
+ }, { pressProps: T, isPressed: E } = oC({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -23037,7 +23037,7 @@ function IC(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = US({
+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = oC({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
},
@@ -23054,13 +23054,13 @@ function IC(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [jC]: i } = e, { commitValidation: a } = i || b;
+ let { [sw]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = Dx(e, n), j = K(T, A), M = kS(e, { labelable: !0 });
- TC(n, t.defaultSelected, t.setSelected);
- let ee = DC(), te = DC();
+ }), { focusableProps: A } = nS(e, n), j = K(T, A), M = KS(e, { labelable: !0 });
+ ZC(n, t.defaultSelected, t.setSelected);
+ let ee = rw(), te = rw();
return {
labelProps: K(k, { onClick: (e) => e.preventDefault() }),
inputProps: K(M, {
@@ -23096,8 +23096,8 @@ function IC(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function LC(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = IC(e, t, n), { isIndeterminate: m } = e;
+function pw(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = fw(e, t, n), { isIndeterminate: m } = e;
return (0, P.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -23115,17 +23115,17 @@ function LC(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/utils.mjs
-var eae = /* @__PURE__ */ new WeakMap();
+var wie = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/label/useLabel.mjs
-function RC(e) {
+function mw(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = px(t);
- let o = px(), s = {};
+ t = Hx(t);
+ let o = Hx(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = rS({
+ let c = MS({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -23136,13 +23136,13 @@ function RC(e) {
};
}
// node_modules/react-aria/dist/private/label/useField.mjs
-function zC(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = RC(e), s = mx([
+function hw(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = mw(e), s = Ux([
!!t,
!!n,
r,
i
- ]), c = mx([
+ ]), c = Ux([
!!t,
!!n,
r,
@@ -23160,26 +23160,26 @@ function zC(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function BC(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = RS(), c = (0, P.useCallback)((e) => {
- ib(e.currentTarget, G(e)) && a.current.isFocusWithin && !ib(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function gw(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = tC(), c = (0, P.useCallback)((e) => {
+ Db(e.currentTarget, G(e)) && a.current.isFocusWithin && !Db(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = gb(c), u = (0, P.useCallback)((e) => {
- if (!ib(e.currentTarget, G(e))) return;
- let t = G(e), n = Zy(t), s = ab(n);
+ ]), l = Wb(c), u = (0, P.useCallback)((e) => {
+ if (!Db(e.currentTarget, G(e))) return;
+ let t = G(e), n = yb(t), s = Ob(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
let r = G(e);
- if (a.current.isFocusWithin && !ib(t, r)) {
+ if (a.current.isFocusWithin && !Db(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- hb(e, t);
- let i = mb(e);
+ Ub(e, t);
+ let i = Hb(e);
c(i);
}
}, { capture: !0 });
@@ -23200,14 +23200,14 @@ function BC(e) {
} };
}
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var tae = P.useInsertionEffect ?? P.useLayoutEffect;
-function VC(e, t, n) {
+var Tie = P.useInsertionEffect ?? P.useLayoutEffect;
+function _w(e, t, n) {
let [r, i] = (0, P.useState)(e || t), a = (0, P.useRef)(r), o = (0, P.useRef)(e !== void 0), s = e !== void 0;
(0, P.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- tae(() => {
+ Tie(() => {
a.current = c;
});
let [, l] = (0, P.useReducer)(() => ({}), {});
@@ -23217,8 +23217,8 @@ function VC(e, t, n) {
}, [n])];
}
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function HC(e = {}) {
- let { isReadOnly: t } = e, [n, r] = VC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);
+function vw(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = _w(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);
function a(e) {
t || r(e);
}
@@ -23233,26 +23233,26 @@ function HC(e = {}) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function nae(e, t, n) {
- let r = HC({
+function Eie(e, t, n) {
+ let r = vw({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = eae.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = wie.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = MC({
+ let { realtimeValidation: l } = cw({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, P.useRef)(AC), d = () => {
+ }), u = (0, P.useRef)(ow), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, P.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = LC({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = pw({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -23260,7 +23260,7 @@ function nae(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [jC]: {
+ [sw]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -23283,10 +23283,10 @@ function nae(e, t, n) {
};
}
// node_modules/react-stately/dist/private/utils/number.mjs
-function UC(e, t = -Infinity, n = Infinity) {
+function yw(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function WC(e, t) {
+function bw(e, t) {
let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");
if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;
else {
@@ -23299,23 +23299,23 @@ function WC(e, t) {
}
return n;
}
-function GC(e, t, n, r) {
+function xw(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = WC(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(WC(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(WC((n - t) / r, r)) * r), a = WC(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = bw(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(bw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(bw((n - t) / r, r)) * r), a = bw(a, r), a;
}
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var KC = /* @__PURE__ */ new Map(), qC = !1;
+var Sw = /* @__PURE__ */ new Map(), Cw = !1;
try {
- qC = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ Cw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var rae = class {
+var Die = class {
constructor(e, t = {}) {
- this.numberFormatter = iae(e, t), this.options = t;
+ this.numberFormatter = Oie(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !qC && this.options.signDisplay != null ? aae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !Cw && this.options.signDisplay != null ? kie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -23347,21 +23347,21 @@ var rae = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !qC && this.options.signDisplay != null && (e = {
+ return !Cw && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function iae(e, t = {}) {
+function Oie(e, t = {}) {
let { numberingSystem: n } = t;
n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);
let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (KC.has(r)) return KC.get(r);
+ if (Sw.has(r)) return Sw.get(r);
let i = new Intl.NumberFormat(e, t);
- return KC.set(r, i), i;
+ return Sw.set(r, i), i;
}
-function aae(e, t, n) {
+function kie(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -23374,12 +23374,12 @@ function aae(e, t, n) {
}
}
// node_modules/react-aria/dist/private/interactions/useMove.mjs
-function JC(e) {
+function ww(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, P.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = RS(), s = tS((0, P.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = tC(), s = AS((0, P.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -23401,8 +23401,8 @@ function JC(e) {
t,
n,
i
- ])), c = tS((0, P.useCallback)((e, t) => {
- PS(), i.current.didMove && r?.({
+ ])), c = AS((0, P.useCallback)((e, t) => {
+ ZS(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -23413,7 +23413,7 @@ function JC(e) {
}, [r, i]));
return { moveProps: (0, P.useMemo)(() => {
let e = {}, t = () => {
- NS(), i.current.didMove = !1;
+ XS(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -23428,7 +23428,7 @@ function JC(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = Qy(G(e));
+ let a = bb(G(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -23438,7 +23438,7 @@ function JC(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = Qy(G(e));
+ let o = bb(G(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -23471,7 +23471,7 @@ function JC(e) {
]) };
}
// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var YC = {
+var Tw = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -23483,37 +23483,37 @@ var YC = {
width: "1px",
whiteSpace: "nowrap"
};
-function XC(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = BC({
+function Ew(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = gw({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, P.useMemo)(() => r ? t : t ? {
- ...YC,
+ ...Tw,
...t
- } : YC, [r]);
+ } : Tw, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function ZC(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = XC(e);
+function Dw(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Ew(e);
return /*#__PURE__*/ P.createElement(n, K(a, o), t);
}
// node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function oae(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = VC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Dx(e, t), d = MC({
+function Aie(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = _w(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = nS(e, t), d = cw({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = zC({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = hw({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = kS(e, { labelable: !0 }), b = {
+ }), y = KS(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, P.useState)(c);
- return TC(t, e.defaultValue ?? x, l), EC(e, d, t), {
+ return ZC(t, e.defaultValue ?? x, l), QC(e, d, t), {
labelProps: h,
inputProps: K(y, n === "input" ? b : void 0, {
disabled: r,
@@ -23559,26 +23559,26 @@ function oae(e, t) {
};
}
// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function sae(e = {}) {
- let { locale: t } = lS();
- return (0, P.useMemo)(() => new rae(t, e), [t, e]);
+function jie(e = {}) {
+ let { locale: t } = RS();
+ return (0, P.useMemo)(() => new Die(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/slider/utils.mjs
-var QC = /* @__PURE__ */ new WeakMap();
-function $C(e, t) {
- let n = QC.get(e);
+var Ow = /* @__PURE__ */ new WeakMap();
+function kw(e, t) {
+ let n = Ow.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
// node_modules/react-aria/dist/private/slider/useSlider.mjs
-function cae(e, t, n) {
- let { labelProps: r, fieldProps: i } = RC(e), a = e.orientation === "vertical";
- QC.set(t, {
+function Mie(e, t, n) {
+ let { labelProps: r, fieldProps: i } = mw(e), a = e.orientation === "vertical";
+ Ow.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = lS(), { addGlobalListener: s, removeGlobalListener: c } = RS(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = JC({
+ let { direction: o } = RS(), { addGlobalListener: s, removeGlobalListener: c } = tC(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = ww({
onMoveStart() {
d.current = null;
},
@@ -23588,7 +23588,7 @@ function cae(e, t, n) {
d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);
let c = a ? r : e;
if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {
- let e = UC(d.current / s, 0, 1);
+ let e = yw(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -23612,7 +23612,7 @@ function cae(e, t, n) {
(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));
};
return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {
- document.getElementById($C(t, 0))?.focus(), Qb("keyboard");
+ document.getElementById(kw(t, 0))?.focus(), Dx("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -23635,26 +23635,26 @@ function cae(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => $C(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => kw(t, n)).join(" "),
"aria-live": "off"
}
};
}
// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function lae(e, t) {
- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = lS(), { addGlobalListener: m, removeGlobalListener: h } = RS(), g = QC.get(t), { labelProps: _, fieldProps: v } = RC({
+function Nie(e, t) {
+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = RS(), { addGlobalListener: m, removeGlobalListener: h } = tC(), g = Ow.get(t), { labelProps: _, fieldProps: v } = mw({
...e,
- id: $C(t, n),
+ id: kw(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, P.useCallback)(() => {
- s.current && Xy(s.current);
+ s.current && vb(s.current);
}, [s]), x = t.focusedThumb === n;
(0, P.useEffect)(() => {
x && b();
}, [x, b]);
let S = p === "rtl", C = (0, P.useRef)(null), w = (e) => {
t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);
- }, { keyboardProps: T } = Cx({
+ }, { keyboardProps: T } = Qx({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -23670,7 +23670,7 @@ function lae(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = JC({
+ }), { moveProps: E } = ww({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -23681,7 +23681,7 @@ function lae(e, t) {
if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);
else {
let t = f ? r : e;
- (f || S) && (t = -t), C.current += t, c(n, UC(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, yw(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -23689,7 +23689,7 @@ function lae(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: D } = Dx(K(e, {
+ let { focusableProps: D } = nS(K(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), O = (0, P.useRef)(void 0), k = (e) => {
@@ -23709,7 +23709,7 @@ function lae(e, t) {
k(e.changedTouches[0].identifier);
}
});
- return TC(s, t.defaultValues[n], (e) => {
+ return ZC(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(D, v, {
@@ -23749,42 +23749,42 @@ function lae(e, t) {
};
}
// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var uae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function ew(e) {
+var Pie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function Aw(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var tw = /* @__PURE__ */ new WeakMap(), nw = [];
-function rw(e, t) {
- let n = Qy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && uae, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var jw = /* @__PURE__ */ new WeakMap(), Mw = [];
+function Nw(e, t) {
+ let n = bb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Pie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
- if (rb()) {
+ if (Eb()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; eb(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; Sb(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (ib(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (Db(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = YS(Zy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = fC(yb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = tw.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), tw.set(e, t + 1));
+ let t = jw.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), jw.set(e, t + 1));
};
- nw.length && nw[nw.length - 1].disconnect(), d(i);
+ Mw.length && Mw[Mw.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => ib(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ew(e) ? o.add(e) : e instanceof Element && d(e);
- if (rb()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => Db(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Aw(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Eb()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -23797,11 +23797,11 @@ function rw(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (rb()) for (let e of u) {
+ if (Eb()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => ib(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ew(e) ? o.add(e) : e instanceof Element && d(e);
- if (rb()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => Db(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Aw(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Eb()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -23827,56 +23827,56 @@ function rw(e, t) {
p.disconnect();
}
};
- return nw.push(h), () => {
- if (p.disconnect(), rb()) for (let e of m) e.disconnect();
+ return Mw.push(h), () => {
+ if (p.disconnect(), Eb()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = tw.get(e);
- t != null && (t === 1 ? (l(e, !1), tw.delete(e)) : tw.set(e, t - 1));
+ let t = jw.get(e);
+ t != null && (t === 1 ? (l(e, !1), jw.delete(e)) : jw.set(e, t - 1));
}
- h === nw[nw.length - 1] ? (nw.pop(), nw.length && nw[nw.length - 1].observe()) : nw.splice(nw.indexOf(h), 1);
+ h === Mw[Mw.length - 1] ? (Mw.pop(), Mw.length && Mw[Mw.length - 1].observe()) : Mw.splice(Mw.indexOf(h), 1);
};
}
-function iw(e) {
- let t = nw[nw.length - 1];
+function Pw(e) {
+ let t = Mw[Mw.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
// node_modules/react-aria/dist/private/listbox/utils.mjs
-var aw = /* @__PURE__ */ new WeakMap();
-function dae(e) {
+var Fw = /* @__PURE__ */ new WeakMap();
+function Fie(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function fae(e, t) {
- let n = aw.get(e);
+function Iie(e, t) {
+ let n = Fw.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${dae(t)}`;
+ return `${n.id}-option-${Fie(t)}`;
}
// node_modules/react-aria/dist/private/selection/utils.mjs
-function ow(e) {
- return wre() ? e.altKey : e.ctrlKey;
+function Iw(e) {
+ return Yne() ? e.altKey : e.ctrlKey;
}
-function sw(e, t) {
+function Lw(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var cw = /* @__PURE__ */ new WeakMap();
-function pae(e) {
- let t = px();
- return cw.set(e, t), t;
+var Rw = /* @__PURE__ */ new WeakMap();
+function Lie(e) {
+ let t = Hx();
+ return Rw.set(e, t), t;
}
-function mae(e) {
- return cw.get(e);
+function Rie(e) {
+ return Rw.get(e);
}
// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var lw = class {
+var zw = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : sw(this.ref, e);
+ let n = e == null ? null : Lw(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -23902,12 +23902,12 @@ var lw = class {
height: e?.clientHeight ?? 0
};
}
-}, uw = class {
+}, Bw = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new lw(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new lw(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new zw(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new zw(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -23947,14 +23947,14 @@ var lw = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = sw(this.ref, e);
+ let t = this.getNextKey(e), n = Lw(this.ref, e);
if (t != null) {
- let e = sw(this.ref, t);
+ let e = Lw(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = sw(this.ref, r);
+ let e = Lw(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -23988,7 +23988,7 @@ var lw = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !vC(t)) return this.getFirstKey();
+ if (t && !HC(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -24003,7 +24003,7 @@ var lw = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !vC(t)) return this.getLastKey();
+ if (t && !HC(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -24026,149 +24026,149 @@ var lw = class {
}
return null;
}
-}, dw = {};
-dw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Vw = {};
+Vw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var fw = {};
-fw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Hw = {};
+Hw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var pw = {};
-pw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var Uw = {};
+Uw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var mw = {};
-mw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Ww = {};
+Ww = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var hw = {};
-hw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Gw = {};
+Gw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var gw = {};
-gw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Kw = {};
+Kw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
// node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var _w = {};
-_w = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var qw = {};
+qw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var vw = {};
-vw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Jw = {};
+Jw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var yw = {};
-yw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Yw = {};
+Yw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var bw = {};
-bw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Xw = {};
+Xw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var xw = {};
-xw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var Zw = {};
+Zw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var Sw = {};
-Sw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Qw = {};
+Qw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var Cw = {};
-Cw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var $w = {};
+$w = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var ww = {};
-ww = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var eT = {};
+eT = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var Tw = {};
-Tw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var tT = {};
+tT = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var Ew = {};
-Ew = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var nT = {};
+nT = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Dw = {};
-Dw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var rT = {};
+rT = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Ow = {};
-Ow = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var iT = {};
+iT = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var kw = {};
-kw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var aT = {};
+aT = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var Aw = {};
-Aw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var oT = {};
+oT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var jw = {};
-jw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var sT = {};
+sT = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var Mw = {};
-Mw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var cT = {};
+cT = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var Nw = {};
-Nw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var lT = {};
+lT = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var Pw = {};
-Pw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var uT = {};
+uT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var Fw = {};
-Fw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var dT = {};
+dT = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var Iw = {};
-Iw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var fT = {};
+fT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Lw = {};
-Lw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var pT = {};
+pT = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Rw = {};
-Rw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var mT = {};
+mT = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var zw = {};
-zw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var hT = {};
+hT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Bw = {};
-Bw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var gT = {};
+gT = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Vw = {};
-Vw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var _T = {};
+_T = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Hw = {};
-Hw = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var vT = {};
+vT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Uw = {};
-Uw = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var yT = {};
+yT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Ww = {};
-Ww = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var bT = {};
+bT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
// node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Gw = {};
-Gw = {
- "ar-AE": dw,
- "bg-BG": fw,
- "cs-CZ": pw,
- "da-DK": mw,
- "de-DE": hw,
- "el-GR": gw,
- "en-US": _w,
- "es-ES": vw,
- "et-EE": yw,
- "fi-FI": bw,
- "fr-FR": xw,
- "he-IL": Sw,
- "hr-HR": Cw,
- "hu-HU": ww,
- "it-IT": Tw,
- "ja-JP": Ew,
- "ko-KR": Dw,
- "lt-LT": Ow,
- "lv-LV": kw,
- "nb-NO": Aw,
- "nl-NL": jw,
- "pl-PL": Mw,
- "pt-BR": Nw,
- "pt-PT": Pw,
- "ro-RO": Fw,
- "ru-RU": Iw,
- "sk-SK": Lw,
- "sl-SI": Rw,
- "sr-SP": zw,
- "sv-SE": Bw,
- "tr-TR": Vw,
- "uk-UA": Hw,
- "zh-CN": Uw,
- "zh-TW": Ww
+var xT = {};
+xT = {
+ "ar-AE": Vw,
+ "bg-BG": Hw,
+ "cs-CZ": Uw,
+ "da-DK": Ww,
+ "de-DE": Gw,
+ "el-GR": Kw,
+ "en-US": qw,
+ "es-ES": Jw,
+ "et-EE": Yw,
+ "fi-FI": Xw,
+ "fr-FR": Zw,
+ "he-IL": Qw,
+ "hr-HR": $w,
+ "hu-HU": eT,
+ "it-IT": tT,
+ "ja-JP": nT,
+ "ko-KR": rT,
+ "lt-LT": iT,
+ "lv-LV": aT,
+ "nb-NO": oT,
+ "nl-NL": sT,
+ "pl-PL": cT,
+ "pt-BR": lT,
+ "pt-PT": uT,
+ "ro-RO": dT,
+ "ru-RU": fT,
+ "sk-SK": pT,
+ "sl-SI": mT,
+ "sr-SP": hT,
+ "sv-SE": gT,
+ "tr-TR": _T,
+ "uk-UA": vT,
+ "zh-CN": yT,
+ "zh-TW": bT
};
// node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var hae = 500;
-function Kw(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = hae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = RS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = US({
+var zie = 500;
+function ST(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = zie, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = tC(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = oC({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -24176,12 +24176,12 @@ function Kw(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Zy(e.target).activeElement !== e.target && Xy(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), yb(e.target).activeElement !== e.target && vb(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = Qy(e.target);
+ let t = bb(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -24196,11 +24196,11 @@ function Kw(e) {
});
}
});
- return { longPressProps: K(f, wC(a && !t ? s : void 0)) };
+ return { longPressProps: K(f, XC(a && !t ? s : void 0)) };
}
// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function gae(e) {
- let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = Kw({
+function Bie(e) {
+ let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = ST({
onLongPressStart() {
n.current = !1;
},
@@ -24212,7 +24212,7 @@ function gae(e) {
});
}
});
- return t ? { contextMenuProps: K(Cb() ? r : {}, {
+ return t ? { contextMenuProps: K(Qb() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -24223,7 +24223,7 @@ function gae(e) {
});
},
onKeyDown(e) {
- if (xb() && e.ctrlKey && e.key === "Enter") {
+ if (Xb() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -24242,13 +24242,13 @@ function gae(e) {
}) } : { contextMenuProps: {} };
}
// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var qw = /* @__PURE__ */ new WeakMap();
-function _ae(e) {
+var CT = /* @__PURE__ */ new WeakMap();
+function Vie(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, P.useEffect)(() => !n || r === null ? void 0 : tb(ob(t.current), "scroll", (e) => {
+ (0, P.useEffect)(() => !n || r === null ? void 0 : Cb(kb(t.current), "scroll", (e) => {
let n = G(e);
- if (!t.current || n instanceof Node && !ib(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || qw.get(t.current);
+ if (!t.current || n instanceof Node && !Db(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || CT.get(t.current);
i && i();
}, !0), [
n,
@@ -24257,14 +24257,14 @@ function _ae(e) {
]);
}
// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function vae(e, t, n) {
+function Hie(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, P.useEffect)(() => {
- n && n.current && qw.set(n.current, t.close);
+ n && n.current && CT.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = px();
+ let o = Hx();
return {
triggerProps: {
"aria-haspopup": a,
@@ -24276,14 +24276,14 @@ function vae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function yae(e) {
+function Uie(e) {
return e && e.__esModule ? e.default : e;
}
-function Jw(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = px(), { triggerProps: s, overlayProps: c } = vae({ type: r }, t, n), l = (e, n, r = "first") => {
+function wT(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Hx(), { triggerProps: s, overlayProps: c } = Hie({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = Cx({
+ }, { keyboardProps: u } = Qx({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -24295,7 +24295,7 @@ function Jw(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = SS(yae(Gw), "@react-aria/menu"), { longPressProps: f } = Kw({
+ }), d = WS(Uie(xT), "@react-aria/menu"), { longPressProps: f } = ST({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -24307,14 +24307,14 @@ function Jw(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Xy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (vb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (Xy(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (vb(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = gae({ onContextMenu(e) {
+ let { contextMenuProps: m } = Bie({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -24358,8 +24358,8 @@ function Jw(e, t, n) {
};
}
// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Yw = 1e3;
-function Xw(e) {
+var TT = 1e3;
+function ET(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, P.useRef)({
search: "",
timeout: void 0
@@ -24378,12 +24378,12 @@ function Xw(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Yw);
+ }, TT);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = bae(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !ib(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Wie(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Db(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -24394,32 +24394,32 @@ function Xw(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Yw);
+ }, TT);
}
} : void 0
} };
}
-function bae(e) {
+function Wie(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Zw(e, t) {
+function DT(e, t) {
let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);
- pb(() => (n.current = !0, () => {
+ Vb(() => (n.current = !0, () => {
n.current = !1;
- }), []), pb(() => {
+ }), []), Vb(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Qw(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = lS(), _ = Ob(), v = (e, n, i) => {
+function OT(e) {
+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = RS(), _ = rx(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !ow(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Iw(e)) {
(0, Lt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = sw(r, n), o = t.getItemProps(n);
+ let a = Lw(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -24431,7 +24431,7 @@ function Qw(e) {
t.extendSelection(n);
return;
}
- if (l && !ow(e)) {
+ if (l && !Iw(e)) {
t.replaceSelection(n);
return;
}
@@ -24458,9 +24458,9 @@ function Qw(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, $x(e));
+ let r = n.getFirstKey(t.focusedKey, OS(e));
if (t.setFocusedKey(r), r != null) {
- if ($x(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (OS(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24492,9 +24492,9 @@ function Qw(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, $x(e));
+ let r = n.getLastKey(t.focusedKey, OS(e));
if (t.setFocusedKey(r), r != null) {
- if ($x(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (OS(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24525,12 +24525,12 @@ function Qw(e) {
else return !1;
}, k = () => {
if (!f && r.current) {
- let e = dC(r.current, { tabbable: !0 }), t, n;
+ let e = NC(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = ab();
- t && (!sb(t) || i && !db(i)) && Xy(t);
+ let i = Ob();
+ t && (!Ab(t) || i && !zb(i)) && vb(t);
}
return {
shouldContinuePropagation: !0,
@@ -24540,11 +24540,11 @@ function Qw(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [xb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [Xb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [xb() ? e + "+Alt" : e + "+Control"]: t,
+ [Xb() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = Cx({
+ }), { keyboardProps: M } = Qx({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -24554,7 +24554,7 @@ function Qw(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: ee } = Cx({ shortcuts: {
+ }), { keyboardProps: ee } = Qx({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -24565,7 +24565,7 @@ function Qw(e) {
top: 0,
left: 0
});
- nS(p, "scroll", () => {
+ jS(p, "scroll", () => {
te.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -24573,11 +24573,11 @@ function Qw(e) {
});
let ne = (e) => {
if (t.isFocused) {
- ib(e.currentTarget, G(e)) || t.setFocused(!1);
+ Db(e.currentTarget, G(e)) || t.setFocused(!1);
return;
}
- if (!ib(e.currentTarget, G(e))) return;
- let i = Zb();
+ if (!Db(e.currentTarget, G(e))) return;
+ let i = Ex();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -24588,27 +24588,27 @@ function Qw(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = te.current.top, p.current.scrollLeft = te.current.left);
if (t.focusedKey != null && p.current) {
- let e = sw(r, t.focusedKey);
- e instanceof HTMLElement && (!sb(e) && !d && Xy(e), (i === "keyboard" || h && i === "virtual") && SC(e, { containingElement: r.current }));
+ let e = Lw(r, t.focusedKey);
+ e instanceof HTMLElement && (!Ab(e) && !d && vb(e), (i === "keyboard" || h && i === "virtual") && qC(e, { containingElement: r.current }));
}
}, N = (e) => {
- ib(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ Db(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, re = (0, P.useRef)(!1);
- nS(r, gie, d ? (e) => {
+ jS(r, Vre, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);
} : void 0);
let ie = n.getFirstKey?.() ?? null;
- Zw(() => {
+ DT(() => {
if (re.current) {
if (ie == null) {
- let e = ab();
- Hx(r.current), Ux(e, null), t.collection.size > 0 && (re.current = !1);
+ let e = Ob();
+ _S(r.current), vS(e, null), t.collection.size > 0 && (re.current = !1);
} else t.setFocusedKey(ie), re.current = !1;
}
- }, [ie, t.collection.size]), Zw(() => {
+ }, [ie, t.collection.size]), DT(() => {
t.collection.size > 0 && (re.current = !1);
- }, [t.focusedKey]), nS(r, hie, d ? (e) => {
+ }, [t.focusedKey]), jS(r, Bre, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let F = (0, P.useRef)(i), ae = (0, P.useRef)(!1);
@@ -24623,22 +24623,22 @@ function Qw(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && cx(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Lx(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);
}
});
let oe = (0, P.useRef)(t.focusedKey), se = (0, P.useRef)(null);
(0, P.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {
- let e = Zb(), n = sw(r, t.focusedKey);
+ let e = Ex(), n = Lw(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {
- p.current && (xC(p.current, n), e !== "virtual" && SC(n, { containingElement: r.current }));
+ p.current && (GC(p.current, n), e !== "virtual" && qC(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && cx(r.current), oe.current = t.focusedKey, ae.current = !1;
+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Lx(r.current), oe.current = t.focusedKey, ae.current = !1;
}), (0, P.useEffect)(() => () => {
se.current && cancelAnimationFrame(se.current);
- }, []), nS(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), jS(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let ce = {
@@ -24648,27 +24648,27 @@ function Qw(e) {
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: le } = Xw({
+ }, { typeSelectProps: le } = ET({
keyboardDelegate: n,
selectionManager: t
});
u || (ce = K(le, ce));
let ue;
d || (ue = t.focusedKey == null ? 0 : -1);
- let de = pae(t.collection);
+ let de = Lie(t.collection);
return { collectionProps: K(ce, {
tabIndex: ue,
"data-collection": de
}) };
}
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function $w(e, t) {
+function kT(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function eT(e) {
- return tT(e, 0);
+function AT(e) {
+ return jT(e, 0);
}
-function tT(e, t) {
+function jT(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -24676,106 +24676,106 @@ function tT(e, t) {
n++;
}
}
-function nT(e) {
+function MT(e) {
let t;
for (let n of e) t = n;
return t;
}
-function rT(e, t, n) {
+function NT(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...iT(e, t), t], i = [...iT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...PT(e, t), t], i = [...PT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function iT(e, t) {
+function PT(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
// node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var aT = /* @__PURE__ */ new WeakMap();
-function oT(e) {
- let t = aT.get(e);
+var FT = /* @__PURE__ */ new WeakMap();
+function IT(e) {
+ let t = FT.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r($w(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(kT(i, e)) : i.type === "item" && n++;
};
- return r(e), aT.set(e, n), n;
+ return r(e), FT.set(e, n), n;
}
// node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var sT = /* @__PURE__ */ new Map();
-function cT(e) {
- let { locale: t } = lS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (sT.has(n)) return sT.get(n);
+var LT = /* @__PURE__ */ new Map();
+function RT(e) {
+ let { locale: t } = RS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (LT.has(n)) return LT.get(n);
let r = new Intl.Collator(t, e);
- return sT.set(n, r), r;
+ return LT.set(n, r), r;
}
// node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var xae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, P.useRef)(!1), i = (0, P.useContext)(LS), a = K(i || {}, {
+var Gie = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, P.useRef)(!1), i = (0, P.useContext)(eC), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = wx(n || i?.ref), Tx(i, a.ref), (0, P.useEffect)(() => {
+ return a.ref = $x(n || i?.ref), eS(i, a.ref), (0, P.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ P.createElement(LS.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ P.createElement(eC.Provider, { value: a }, e);
});
-function Sae({ children: e }) {
+function Kie({ children: e }) {
let t = (0, P.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ P.createElement(LS.Provider, { value: t }, e);
+ return /*#__PURE__*/ P.createElement(eC.Provider, { value: t }, e);
}
// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var lT = /*#__PURE__*/ (0, P.createContext)({});
-function uT(e) {
- let { getContainer: t } = e, { getContainer: n } = dT();
- return /*#__PURE__*/ P.createElement(lT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var zT = /*#__PURE__*/ (0, P.createContext)({});
+function BT(e) {
+ let { getContainer: t } = e, { getContainer: n } = VT();
+ return /*#__PURE__*/ P.createElement(zT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function dT() {
- return (0, P.useContext)(lT) ?? {};
+function VT() {
+ return (0, P.useContext)(zT) ?? {};
}
// node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var fT = /*#__PURE__*/ P.createContext(null);
-function pT(e) {
- let t = Fb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({
+var HT = /*#__PURE__*/ P.createContext(null);
+function UT(e) {
+ let t = ux(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = dT();
+ }), [i, a]), { getContainer: s } = VT();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement($S, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(gC, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ P.createElement(fT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Sae, null, /*#__PURE__*/ P.createElement(Ex.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ P.createElement(HT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Kie, null, /*#__PURE__*/ P.createElement(tS.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);
}
-function mT() {
- let e = (0, P.useContext)(fT)?.setContain;
- pb(() => {
+function WT() {
+ let e = (0, P.useContext)(HT)?.setContain;
+ Vb(() => {
e?.(!0);
}, [e]);
}
// node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Cae(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = mx();
+function qie(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = Ux();
i = e["aria-label"] ? void 0 : i;
- let a = mx();
+ let a = Ux();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, P.useRef)(!1);
(0, P.useEffect)(() => {
- if (!r && t.current && !sb(t.current)) {
- cx(t.current);
+ if (!r && t.current && !Ab(t.current)) {
+ Lx(t.current);
let e = setTimeout(() => {
- (ab() === t.current || ab() === document.body) && (o.current = !0, t.current && (t.current.blur(), cx(t.current)), o.current = !1);
+ (Ob() === t.current || Ob() === document.body) && (o.current = !0, t.current && (t.current.blur(), Lx(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), mT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});
+ }, [t, r]), WT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...kS(e, { labelable: !0 }),
+ ...KS(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -24789,23 +24789,23 @@ function Cae(e, t) {
};
}
// node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function hT(e = {}) {
+function GT(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({
isFocused: !1,
- isFocusVisible: t || Xb()
+ isFocusVisible: t || Tx()
}), [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, P.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, P.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = Xb(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = Tx(), o(e), l();
}, [l]);
- tx((e) => {
+ Ax((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = yx({
+ let { focusProps: d } = Jx({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = BC({
+ }), { focusWithinProps: f } = gw({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -24816,41 +24816,41 @@ function hT(e = {}) {
};
}
// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function wae(e = {}) {
- let { locale: t } = lS();
+function Jie(e = {}) {
+ let { locale: t } = RS();
return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/interactions/useHover.mjs
-var gT = !1, _T = 0;
-function Tae() {
- gT = !0, setTimeout(() => {
- gT = !1;
+var KT = !1, qT = 0;
+function Yie() {
+ KT = !0, setTimeout(() => {
+ KT = !1;
}, 500);
}
-function vT(e) {
- e.pointerType === "touch" && Tae();
+function JT(e) {
+ e.pointerType === "touch" && Yie();
}
-function Eae() {
- let e = Zy(null);
- if (e !== void 0) return _T === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", vT), _T++, () => {
- _T--, !(_T > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", vT);
+function Xie() {
+ let e = yb(null);
+ if (e !== void 0) return qT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", JT), qT++, () => {
+ qT--, !(qT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", JT);
};
}
-function yT(e) {
+function YT(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, P.useState)(!1), s = (0, P.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, P.useEffect)(Eae, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = RS(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {
+ (0, P.useEffect)(Xie, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = tC(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !ib(e.currentTarget, G(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Db(e.currentTarget, G(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Zy(G(e)), "pointerover", (e) => {
- s.isHovered && s.target && !ib(s.target, G(e)) && a(e, e.pointerType);
+ s.target = l, c(yb(G(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !Db(s.target, G(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -24865,9 +24865,9 @@ function yT(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- gT && t.pointerType === "mouse" || e(t, t.pointerType);
+ KT && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && ib(e.currentTarget, G(e)) && a(e, e.pointerType);
+ !i && Db(e.currentTarget, G(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -24889,22 +24889,22 @@ function yT(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Dae(e) {
+function Zie(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = tS((e) => {
- n && bT(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = tS((e) => {
+ }), o = AS((e) => {
+ n && XT(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = AS((e) => {
n && n(e);
});
(0, P.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Zy(n);
+ let n = t.current, i = yb(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && bT(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && XT(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -24912,28 +24912,28 @@ function Dae(e) {
}
}, [t, r]);
}
-function bT(e, t) {
+function XT(e, t) {
if (e.button > 0) return !1;
let n = G(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !ib(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !Db(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
// node_modules/react-aria/dist/private/gridlist/utils.mjs
-var xT = /* @__PURE__ */ new WeakMap();
-function ST(e, t) {
- let { id: n } = xT.get(e) ?? {};
+var ZT = /* @__PURE__ */ new WeakMap();
+function QT(e, t) {
+ let { id: n } = ZT.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Oae(t)}`;
+ return `${n}-${Qie(t)}`;
}
-function Oae(e) {
+function Qie(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var CT = {};
-CT = {
+var $T = {};
+$T = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -24946,8 +24946,8 @@ CT = {
selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`
};
// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var wT = {};
-wT = {
+var eE = {};
+eE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -24960,8 +24960,8 @@ wT = {
selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`
};
// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var TT = {};
-TT = {
+var tE = {};
+tE = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -24974,8 +24974,8 @@ TT = {
selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var ET = {};
-ET = {
+var nE = {};
+nE = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -24988,8 +24988,8 @@ ET = {
selectedItem: (e) => `${e.item} valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var DT = {};
-DT = {
+var rE = {};
+rE = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -25002,8 +25002,8 @@ DT = {
selectedItem: (e) => `${e.item} ausgew\xe4hlt.`
};
// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var OT = {};
-OT = {
+var iE = {};
+iE = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -25016,8 +25016,8 @@ OT = {
selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var kT = {};
-kT = {
+var aE = {};
+aE = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -25030,8 +25030,8 @@ kT = {
longPressToSelect: "Long press to enter selection mode."
};
// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var AT = {};
-AT = {
+var oE = {};
+oE = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -25044,8 +25044,8 @@ AT = {
selectedItem: (e) => `${e.item} seleccionado.`
};
// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var jT = {};
-jT = {
+var sE = {};
+sE = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -25058,8 +25058,8 @@ jT = {
selectedItem: (e) => `${e.item} valitud.`
};
// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var MT = {};
-MT = {
+var cE = {};
+cE = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -25072,8 +25072,8 @@ MT = {
selectedItem: (e) => `${e.item} valittu.`
};
// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var NT = {};
-NT = {
+var lE = {};
+lE = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -25086,8 +25086,8 @@ NT = {
selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`
};
// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var PT = {};
-PT = {
+var uE = {};
+uE = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -25100,8 +25100,8 @@ PT = {
selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
};
// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var FT = {};
-FT = {
+var dE = {};
+dE = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -25114,8 +25114,8 @@ FT = {
selectedItem: (e) => `Stavka ${e.item} je odabrana.`
};
// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var IT = {};
-IT = {
+var fE = {};
+fE = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -25128,8 +25128,8 @@ IT = {
selectedItem: (e) => `${e.item} kijel\xf6lve.`
};
// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var LT = {};
-LT = {
+var pE = {};
+pE = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -25142,8 +25142,8 @@ LT = {
selectedItem: (e) => `${e.item} selezionato.`
};
// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var RT = {};
-RT = {
+var mE = {};
+mE = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -25156,8 +25156,8 @@ RT = {
selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var zT = {};
-zT = {
+var hE = {};
+hE = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -25170,8 +25170,8 @@ zT = {
selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`
};
// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var BT = {};
-BT = {
+var gE = {};
+gE = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -25184,8 +25184,8 @@ BT = {
selectedItem: (e) => `Pasirinkta: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var VT = {};
-VT = {
+var _E = {};
+_E = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -25198,8 +25198,8 @@ VT = {
selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var HT = {};
-HT = {
+var vE = {};
+vE = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -25212,8 +25212,8 @@ HT = {
selectedItem: (e) => `${e.item} er valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var UT = {};
-UT = {
+var yE = {};
+yE = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -25226,8 +25226,8 @@ UT = {
selectedItem: (e) => `${e.item} geselecteerd.`
};
// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var WT = {};
-WT = {
+var bE = {};
+bE = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -25240,8 +25240,8 @@ WT = {
selectedItem: (e) => `Zaznaczono ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var GT = {};
-GT = {
+var xE = {};
+xE = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -25254,8 +25254,8 @@ GT = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var KT = {};
-KT = {
+var SE = {};
+SE = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -25268,8 +25268,8 @@ KT = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var qT = {};
-qT = {
+var CE = {};
+CE = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -25282,8 +25282,8 @@ qT = {
selectedItem: (e) => `${e.item} selectat.`
};
// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var JT = {};
-JT = {
+var wE = {};
+wE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -25296,8 +25296,8 @@ JT = {
selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var YT = {};
-YT = {
+var TE = {};
+TE = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -25310,8 +25310,8 @@ YT = {
selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var XT = {};
-XT = {
+var EE = {};
+EE = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -25324,8 +25324,8 @@ XT = {
selectedItem: (e) => `Element ${e.item} je izbran.`
};
// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var ZT = {};
-ZT = {
+var DE = {};
+DE = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -25338,8 +25338,8 @@ ZT = {
selectedItem: (e) => `${e.item} je izabrano.`
};
// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var QT = {};
-QT = {
+var OE = {};
+OE = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -25352,8 +25352,8 @@ QT = {
selectedItem: (e) => `${e.item} markerat.`
};
// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var $T = {};
-$T = {
+var kE = {};
+kE = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -25366,8 +25366,8 @@ $T = {
selectedItem: (e) => `${e.item} se\xe7ildi.`
};
// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var eE = {};
-eE = {
+var AE = {};
+AE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -25380,8 +25380,8 @@ eE = {
selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var tE = {};
-tE = {
+var jE = {};
+jE = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -25394,8 +25394,8 @@ tE = {
selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var nE = {};
-nE = {
+var ME = {};
+ME = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -25408,54 +25408,54 @@ nE = {
selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`
};
// node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var rE = {};
-rE = {
- "ar-AE": CT,
- "bg-BG": wT,
- "cs-CZ": TT,
- "da-DK": ET,
- "de-DE": DT,
- "el-GR": OT,
- "en-US": kT,
- "es-ES": AT,
- "et-EE": jT,
- "fi-FI": MT,
- "fr-FR": NT,
- "he-IL": PT,
- "hr-HR": FT,
- "hu-HU": IT,
- "it-IT": LT,
- "ja-JP": RT,
- "ko-KR": zT,
- "lt-LT": BT,
- "lv-LV": VT,
- "nb-NO": HT,
- "nl-NL": UT,
- "pl-PL": WT,
- "pt-BR": GT,
- "pt-PT": KT,
- "ro-RO": qT,
- "ru-RU": JT,
- "sk-SK": YT,
- "sl-SI": XT,
- "sr-SP": ZT,
- "sv-SE": QT,
- "tr-TR": $T,
- "uk-UA": eE,
- "zh-CN": tE,
- "zh-TW": nE
+var NE = {};
+NE = {
+ "ar-AE": $T,
+ "bg-BG": eE,
+ "cs-CZ": tE,
+ "da-DK": nE,
+ "de-DE": rE,
+ "el-GR": iE,
+ "en-US": aE,
+ "es-ES": oE,
+ "et-EE": sE,
+ "fi-FI": cE,
+ "fr-FR": lE,
+ "he-IL": uE,
+ "hr-HR": dE,
+ "hu-HU": fE,
+ "it-IT": pE,
+ "ja-JP": mE,
+ "ko-KR": hE,
+ "lt-LT": gE,
+ "lv-LV": _E,
+ "nb-NO": vE,
+ "nl-NL": yE,
+ "pl-PL": bE,
+ "pt-BR": xE,
+ "pt-PT": SE,
+ "ro-RO": CE,
+ "ru-RU": wE,
+ "sk-SK": TE,
+ "sl-SI": EE,
+ "sr-SP": DE,
+ "sv-SE": OE,
+ "tr-TR": kE,
+ "uk-UA": AE,
+ "zh-CN": jE,
+ "zh-TW": ME
};
// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function kae(e) {
+function $ie(e) {
return e && e.__esModule ? e.default : e;
}
-function iE(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = SS(kae(rE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {
+function PE(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = WS($ie(NE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = aE(i, a.current), o = aE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = FE(i, a.current), o = FE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -25475,7 +25475,7 @@ function iE(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && gC(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && zC(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -25486,7 +25486,7 @@ function iE(e, t) {
n,
r
]);
- _C(() => {
+ VC(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -25494,20 +25494,20 @@ function iE(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function aE(e, t) {
+function FE(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
return n;
}
// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function oE(e, t) {
+function IE(e, t) {
let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);
- return pb(() => {
+ return Vb(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = dC(e.current, { tabbable: !0 });
+ let t = NC(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -25525,12 +25525,12 @@ function oE(e, t) {
}), !n && r;
}
// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Aae(e) {
+function eae(e) {
return e && e.__esModule ? e.default : e;
}
-function sE(e) {
- let t = SS(Aae(rE), "@react-aria/grid"), n = $b(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return wC((0, P.useMemo)(() => {
+function LE(e) {
+ let t = WS(eae(NE), "@react-aria/grid"), n = Ox(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return XC((0, P.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -25542,11 +25542,11 @@ function sE(e) {
]));
}
// node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function cE(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = cT({
+function RE(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = RT({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new uw({
+ }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Bw({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -25563,7 +25563,7 @@ function cE(e) {
c,
l,
s
- ]), { collectionProps: d } = Qw({
+ ]), { collectionProps: d } = OT({
...e,
ref: i,
selectionManager: t,
@@ -25572,10 +25572,10 @@ function cE(e) {
return { listProps: d };
}
// node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function jae(e, t, n) {
+function tae(e, t, n) {
let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let { listProps: f } = cE({
+ let { listProps: f } = RE({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -25590,30 +25590,30 @@ function jae(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = px(e.id);
- xT.set(t, {
+ }), p = Hx(e.id);
+ ZT.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = sE({
+ let m = LE({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = oE(n, { isDisabled: t.collection.size !== 0 }), g = K(kS(e, { labelable: !0 }), {
+ }), h = IE(n, { isDisabled: t.collection.size !== 0 }), g = K(KS(e, { labelable: !0 }), {
role: "grid",
id: p,
"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0
}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);
- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), iE({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), PE({}, t), { gridProps: g };
}
// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function lE(e) {
- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Ob();
- t = px(t);
+function zE(e) {
+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = rx();
+ t = Hx(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && ow(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Iw(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -25624,11 +25624,11 @@ function lE(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && ($x(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (OS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, P.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Hx(i.current) : s ? s() : ab() !== i.current && i.current && cx(i.current));
+ r === n.focusedKey && n.isFocused && (o ? _S(i.current) : s ? s() : Ob() !== i.current && i.current && Lx(i.current));
}, [
i,
r,
@@ -25656,22 +25656,22 @@ function lE(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || dE(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || VE(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !uE(e.key)) return;
+ if (e.pointerType === "keyboard" && !BE(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || dE(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || VE(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && uE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && BE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = mae(n.collection);
+ let A = Rie(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -25686,10 +25686,10 @@ function lE(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = lx(k[e], D[e]));
- let { pressProps: j, isPressed: M } = US(k), ee = x ? (e) => {
+ ]) D[e] && (k[e] = Rx(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = oC(k), ee = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: te } = Kw({
+ } : void 0, { longPressProps: te } = ST({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -25697,7 +25697,7 @@ function lE(e) {
}), ne = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, N = d !== "none" && n.isLink(r) ? (e) => {
- kb.isOpening || e.preventDefault();
+ ix.isOpening || e.preventDefault();
} : void 0, re = K(m, v || b || o && !c ? j : {}, w ? te : {}, {
onDoubleClick: ee,
onDragStartCapture: ne,
@@ -25710,7 +25710,7 @@ function lE(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return db(e);
+ return zb(e);
}, F = re.onPointerDown;
re.onPointerDown = (e) => {
let t = G(e);
@@ -25730,14 +25730,14 @@ function lE(e) {
hasAction: S
};
}
-function uE(e) {
+function BE(e) {
return e === "Enter";
}
-function dE(e) {
+function VE(e) {
return e === " ";
}
// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var fE = {
+var HE = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -25747,18 +25747,18 @@ var fE = {
rtl: "ArrowRight"
}
};
-function Mae(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = lS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = xT.get(t), f = mx(), p = (0, P.useRef)(null), m = () => {
+function nae(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = RS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = ZT.get(t), f = Ux(), p = (0, P.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (sb(n.current) && n.current !== ab(Zy(n.current))) return;
- let e = dC(n.current, { tabbable: !0 }).firstChild();
+ if (Ab(n.current) && n.current !== Ob(yb(n.current))) return;
+ let e = NC(n.current, { tabbable: !0 }).firstChild();
if (e) {
- cx(e), SC(e, { containingElement: yC(e) });
+ Lx(e), qC(e, { containingElement: UC(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !sb(n.current)) && cx(n.current);
+ (p.current != null && r.key !== p.current || !Ab(n.current)) && Lx(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -25768,7 +25768,7 @@ function Mae(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = Nae(e, t.collection);
+ let n = rae(e, t.collection);
i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;
}
} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;
@@ -25779,75 +25779,75 @@ function Mae(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = lE({
+ let { itemProps: v, ...y } = zE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? lx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? Rx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = ab(Zy(n.current));
- if (!ib(e.currentTarget, G(e)) || !n.current || !i) return;
- let a = dC(n.current);
- if (a.currentNode = i, !pE(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = Ob(yb(n.current));
+ if (!Db(e.currentTarget, G(e)) || !n.current || !i) return;
+ let a = NC(n.current);
+ if (a.currentNode = i, !UE(e, t, r, g, s, i, n.current, o)) switch (e.key) {
case "ArrowLeft":
if (u === "arrow") {
let t = s === "rtl" ? a.nextNode() : a.previousNode();
- if (t) e.preventDefault(), e.stopPropagation(), cx(t), SC(t, { containingElement: yC(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") cx(n.current), SC(n.current, { containingElement: yC(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Lx(t), qC(t, { containingElement: UC(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Lx(n.current), qC(n.current, { containingElement: UC(n.current) });
else {
a.currentNode = n.current;
- let e = mE(a);
- e && (cx(e), SC(e, { containingElement: yC(n.current) }));
+ let e = WE(a);
+ e && (Lx(e), qC(e, { containingElement: UC(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), cx(t), SC(t, { containingElement: yC(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") cx(n.current), SC(n.current, { containingElement: yC(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Lx(t), qC(t, { containingElement: UC(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Lx(n.current), qC(n.current, { containingElement: UC(n.current) });
else {
a.currentNode = n.current;
- let e = mE(a);
- e && (cx(e), SC(e, { containingElement: yC(n.current) }));
+ let e = WE(a);
+ e && (Lx(e), qC(e, { containingElement: UC(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && ib(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && Db(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
}, x = (e) => {
- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && ib(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && ab(Zy(n.current)) === n.current && m();
- }) : Xb() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && Db(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && Ob(yb(n.current)) === n.current && m();
+ }) : Tx() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = ab(Zy(n.current));
- if (ib(e.currentTarget, G(e)) && n.current && i) {
+ let i = Ob(yb(n.current));
+ if (Db(e.currentTarget, G(e)) && n.current && i) {
if (u === "tab") {
if (G(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (pE(e, t, r, g, s, i, n.current, o)) return;
+ if (UE(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = dC(n.current, { tabbable: !0 });
+ let t = NC(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = Ab(r.props), w = K(v, y.hasAction ? C : {}, {
+ }, C = ax(r.props), w = K(v, y.hasAction ? C : {}, {
role: "row",
onKeyDownCapture: u === "arrow" || o ? b : void 0,
onFocus: x,
"aria-label": r["aria-label"] || r.textValue || void 0,
"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,
"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,
- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${ST(t, r.key)} ${f}` : void 0,
- id: ST(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${QT(t, r.key)} ${f}` : void 0,
+ id: QT(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -25868,66 +25868,66 @@ function Mae(e, t, n) {
...y
};
}
-function pE(e, t, n, r, i, a, o, s) {
+function UE(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === fE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === fE.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === HE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === HE.collapse[i] && t.selectionManager.focusedKey === n.key) {
if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;
}
return !1;
}
-function mE(e) {
+function WE(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function Nae(e, t) {
+function rae(e, t) {
let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];
for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);
return a;
}
// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Pae(e) {
+function iae(e) {
return e && e.__esModule ? e.default : e;
}
-function hE(e, t) {
- let { key: n } = e, r = t.selectionManager, i = px(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function GE(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = Hx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": SS(Pae(rE), "@react-aria/grid").format("select"),
+ "aria-label": WS(iae(NE), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
} };
}
// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Fae(e, t) {
- let { key: n } = e, { checkboxProps: r } = hE(e, t);
+function aae(e, t) {
+ let { key: n } = e, { checkboxProps: r } = GE(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${ST(t, n)}`
+ "aria-labelledby": `${r.id} ${QT(t, n)}`
} };
}
// node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Iae(e, t, n) {
- let r = kS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function oae(e, t, n) {
+ let r = KS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = cE({
+ let { listProps: s } = RE({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = BC({
+ }), { focusWithinProps: c } = gw({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = px(e.id);
- aw.set(t, {
+ }), l = Hx(e.id);
+ Fw.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -25937,7 +25937,7 @@ function Iae(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = RC({
+ let { labelProps: u, fieldProps: d } = mw({
...e,
id: l,
labelElementType: "span"
@@ -25952,8 +25952,8 @@ function Iae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Lae(e) {
- let { heading: t, "aria-label": n } = e, r = px();
+function sae(e) {
+ let { heading: t, "aria-label": n } = e, r = Hx();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -25971,8 +25971,8 @@ function Lae(e) {
};
}
// node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Rae(e, t, n) {
- let { key: r } = e, i = aw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = mx(), f = mx(), p = {
+function cae(e, t, n) {
+ let { key: r } = e, i = Fw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Ux(), f = Ux(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -25982,9 +25982,9 @@ function Rae(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = oT(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = IT(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = fae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = lE({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Iie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = zE({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -25993,18 +25993,18 @@ function Rae(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? lx(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? Rx(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = yT({
+ }), { hoverProps: S } = YT({
isDisabled: a || !c,
onHoverStart() {
- Xb() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ Tx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = kS(m?.props);
+ }), C = KS(m?.props);
delete C.id;
- let w = jb(m?.props);
+ let w = ox(m?.props);
return {
optionProps: {
...p,
@@ -26014,7 +26014,7 @@ function Rae(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && Xb(),
+ isFocusVisible: y && t.selectionManager.isFocused && Tx(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -26023,12 +26023,12 @@ function Rae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/utils.mjs
-var gE = /* @__PURE__ */ new WeakMap();
+var KE = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/menu/useMenu.mjs
-function zae(e, t, n) {
+function lae(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = kS(e, { labelable: !0 }), { listProps: c } = cE({
+ let s = KS(e, { labelable: !0 }), { listProps: c } = RE({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -26037,7 +26037,7 @@ function zae(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return gE.set(t, {
+ return KE.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -26053,15 +26053,15 @@ function zae(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Bae(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = gE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Ob(), M = () => {
+function uae(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = KE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = rx(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, ee = "menuitem";
w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));
- let te = mx(), ne = mx(), N = mx(), re = {
+ let te = Ux(), ne = Ux(), N = Ux(), re = {
id: r,
"aria-disabled": E || void 0,
role: ee,
@@ -26078,17 +26078,17 @@ function Bae(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (re["aria-checked"] = D), s) {
let e = Number(k?.index);
- re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = oT(t.collection);
+ re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = IT(t.collection);
}
let ie = (0, P.useRef)(!1), F = (e) => {
f?.(e), ie.current = e;
}, ae = (0, P.useRef)(null), oe = (e) => {
e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ie.current || e.target.click()), u?.(e);
}, se = (e) => {
- m?.(e), M(), Are(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), tre(e, j, k.props.href, k?.props.routerOptions);
let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ae.current = null;
- }, { itemProps: ce, isFocused: le } = lE({
+ }, { itemProps: ce, isFocused: le } = zE({
id: r,
selectionManager: C,
key: i,
@@ -26097,27 +26097,27 @@ function Bae(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: ue, isPressed: de } = US({
+ }), { pressProps: ue, isPressed: de } = oC({
onPressStart: l,
onPress: d,
onPressUp: oe,
onPressChange: F,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: fe } = yT({
+ }), { hoverProps: fe } = YT({
isDisabled: E,
onHoverStart(e) {
- !Xb() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !Tx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: pe } = Cx({
+ }), { keyboardProps: pe } = Qx({
shortcuts: {
" ": (e) => {
ae.current = {
pointerType: "keyboard",
key: " "
- }, G(e).click(), Qb("keyboard");
+ }, G(e).click(), Dx("keyboard");
},
Enter: (e) => {
ae.current = {
@@ -26125,8 +26125,8 @@ function Bae(e, t, n) {
key: "Enter"
};
let t = G(e);
- if (t.tagName !== "A") t.click(), Qb("keyboard");
- else return Qb("keyboard"), {
+ if (t.tagName !== "A") t.click(), Dx("keyboard");
+ else return Dx("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -26134,13 +26134,13 @@ function Bae(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: me } = Dx({
+ }), { focusableProps: me } = nS({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), he = kS(k?.props);
+ }, n), he = KS(k?.props);
delete he.id;
- let I = jb(k?.props);
+ let I = ox(k?.props);
return {
menuItemProps: {
...re,
@@ -26155,15 +26155,15 @@ function Bae(e, t, n) {
descriptionProps: { id: ne },
keyboardShortcutProps: { id: N },
isFocused: le,
- isFocusVisible: le && C.isFocused && Xb() && !T,
+ isFocusVisible: le && C.isFocused && Tx() && !T,
isSelected: D,
isPressed: de,
isDisabled: E
};
}
// node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Vae(e) {
- let { heading: t, "aria-label": n } = e, r = px();
+function dae(e) {
+ let { heading: t, "aria-label": n } = e, r = Hx();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26178,15 +26178,15 @@ function Vae(e) {
};
}
// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Hae() {
+function fae() {
return window.ResizeObserver !== void 0;
}
-function _E(e) {
- let { ref: t, box: n, onResize: r } = e, i = tS(r);
+function qE(e) {
+ let { ref: t, box: n, onResize: r } = e, i = AS(r);
(0, P.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Hae()) {
+ if (fae()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -26201,154 +26201,154 @@ function _E(e) {
}, [t, n]);
}
// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var vE = {};
-vE = { dismiss: "تجاهل" };
+var JE = {};
+JE = { dismiss: "تجاهل" };
// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var yE = {};
-yE = { dismiss: "Отхвърляне" };
+var YE = {};
+YE = { dismiss: "Отхвърляне" };
// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var bE = {};
-bE = { dismiss: "Odstranit" };
+var XE = {};
+XE = { dismiss: "Odstranit" };
// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var xE = {};
-xE = { dismiss: "Luk" };
+var ZE = {};
+ZE = { dismiss: "Luk" };
// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var SE = {};
-SE = { dismiss: "Schließen" };
+var QE = {};
+QE = { dismiss: "Schließen" };
// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var CE = {};
-CE = { dismiss: "Απόρριψη" };
+var $E = {};
+$E = { dismiss: "Απόρριψη" };
// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var wE = {};
-wE = { dismiss: "Dismiss" };
+var eD = {};
+eD = { dismiss: "Dismiss" };
// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var TE = {};
-TE = { dismiss: "Descartar" };
+var tD = {};
+tD = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var EE = {};
-EE = { dismiss: "Lõpeta" };
+var nD = {};
+nD = { dismiss: "Lõpeta" };
// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var DE = {};
-DE = { dismiss: "Hylkää" };
+var rD = {};
+rD = { dismiss: "Hylkää" };
// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var OE = {};
-OE = { dismiss: "Rejeter" };
+var iD = {};
+iD = { dismiss: "Rejeter" };
// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var kE = {};
-kE = { dismiss: "התעלם" };
+var aD = {};
+aD = { dismiss: "התעלם" };
// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var AE = {};
-AE = { dismiss: "Odbaci" };
+var oD = {};
+oD = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var jE = {};
-jE = { dismiss: "Elutasítás" };
+var sD = {};
+sD = { dismiss: "Elutasítás" };
// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var ME = {};
-ME = { dismiss: "Ignora" };
+var cD = {};
+cD = { dismiss: "Ignora" };
// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var NE = {};
-NE = { dismiss: "閉じる" };
+var lD = {};
+lD = { dismiss: "閉じる" };
// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var PE = {};
-PE = { dismiss: "무시" };
+var uD = {};
+uD = { dismiss: "무시" };
// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var FE = {};
-FE = { dismiss: "Atmesti" };
+var dD = {};
+dD = { dismiss: "Atmesti" };
// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var IE = {};
-IE = { dismiss: "Nerādīt" };
+var fD = {};
+fD = { dismiss: "Nerādīt" };
// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var LE = {};
-LE = { dismiss: "Lukk" };
+var pD = {};
+pD = { dismiss: "Lukk" };
// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var RE = {};
-RE = { dismiss: "Negeren" };
+var mD = {};
+mD = { dismiss: "Negeren" };
// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var zE = {};
-zE = { dismiss: "Zignoruj" };
+var hD = {};
+hD = { dismiss: "Zignoruj" };
// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var BE = {};
-BE = { dismiss: "Descartar" };
+var gD = {};
+gD = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var VE = {};
-VE = { dismiss: "Dispensar" };
+var _D = {};
+_D = { dismiss: "Dispensar" };
// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var HE = {};
-HE = { dismiss: "Revocare" };
+var vD = {};
+vD = { dismiss: "Revocare" };
// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var UE = {};
-UE = { dismiss: "Пропустить" };
+var yD = {};
+yD = { dismiss: "Пропустить" };
// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var WE = {};
-WE = { dismiss: "Zrušiť" };
+var bD = {};
+bD = { dismiss: "Zrušiť" };
// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var GE = {};
-GE = { dismiss: "Opusti" };
+var xD = {};
+xD = { dismiss: "Opusti" };
// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var KE = {};
-KE = { dismiss: "Odbaci" };
+var SD = {};
+SD = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var qE = {};
-qE = { dismiss: "Avvisa" };
+var CD = {};
+CD = { dismiss: "Avvisa" };
// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var JE = {};
-JE = { dismiss: "Kapat" };
+var wD = {};
+wD = { dismiss: "Kapat" };
// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var YE = {};
-YE = { dismiss: "Скасувати" };
+var TD = {};
+TD = { dismiss: "Скасувати" };
// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var XE = {};
-XE = { dismiss: "取消" };
+var ED = {};
+ED = { dismiss: "取消" };
// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var ZE = {};
-ZE = { dismiss: "關閉" };
+var DD = {};
+DD = { dismiss: "關閉" };
// node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var QE = {};
-QE = {
- "ar-AE": vE,
- "bg-BG": yE,
- "cs-CZ": bE,
- "da-DK": xE,
- "de-DE": SE,
- "el-GR": CE,
- "en-US": wE,
- "es-ES": TE,
- "et-EE": EE,
- "fi-FI": DE,
- "fr-FR": OE,
- "he-IL": kE,
- "hr-HR": AE,
- "hu-HU": jE,
- "it-IT": ME,
- "ja-JP": NE,
- "ko-KR": PE,
- "lt-LT": FE,
- "lv-LV": IE,
- "nb-NO": LE,
- "nl-NL": RE,
- "pl-PL": zE,
- "pt-BR": BE,
- "pt-PT": VE,
- "ro-RO": HE,
- "ru-RU": UE,
- "sk-SK": WE,
- "sl-SI": GE,
- "sr-SP": KE,
- "sv-SE": qE,
- "tr-TR": JE,
- "uk-UA": YE,
- "zh-CN": XE,
- "zh-TW": ZE
+var OD = {};
+OD = {
+ "ar-AE": JE,
+ "bg-BG": YE,
+ "cs-CZ": XE,
+ "da-DK": ZE,
+ "de-DE": QE,
+ "el-GR": $E,
+ "en-US": eD,
+ "es-ES": tD,
+ "et-EE": nD,
+ "fi-FI": rD,
+ "fr-FR": iD,
+ "he-IL": aD,
+ "hr-HR": oD,
+ "hu-HU": sD,
+ "it-IT": cD,
+ "ja-JP": lD,
+ "ko-KR": uD,
+ "lt-LT": dD,
+ "lv-LV": fD,
+ "nb-NO": pD,
+ "nl-NL": mD,
+ "pl-PL": hD,
+ "pt-BR": gD,
+ "pt-PT": _D,
+ "ro-RO": vD,
+ "ru-RU": yD,
+ "sk-SK": bD,
+ "sl-SI": xD,
+ "sr-SP": SD,
+ "sv-SE": CD,
+ "tr-TR": wD,
+ "uk-UA": TD,
+ "zh-CN": ED,
+ "zh-TW": DD
};
// node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Uae(e) {
+function pae(e) {
return e && e.__esModule ? e.default : e;
}
-function $E(e) {
- let { onDismiss: t, ...n } = e, r = rS(n, SS(Uae(QE), "@react-aria/overlays").format("dismiss")), i = () => {
+function kD(e) {
+ let { onDismiss: t, ...n } = e, r = MS(n, WS(pae(OD), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ P.createElement(ZC, null, /*#__PURE__*/ P.createElement("button", {
+ return /*#__PURE__*/ P.createElement(Dw, null, /*#__PURE__*/ P.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -26359,35 +26359,35 @@ function $E(e) {
}));
}
// node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var eD = [];
-function tD(e, t) {
+var AD = [];
+function jD(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, P.useRef)(void 0);
(0, P.useEffect)(() => {
- if (i && !eD.includes(t)) return eD.push(t), () => {
- let e = eD.indexOf(t);
- e >= 0 && eD.splice(e, 1);
+ if (i && !AD.includes(t)) return AD.push(t), () => {
+ let e = AD.indexOf(t);
+ e >= 0 && AD.splice(e, 1);
};
}, [i, t]);
let l = () => {
- eD[eD.length - 1] === t && n && n();
+ AD[AD.length - 1] === t && n && n();
}, u = (e) => {
- let n = eD[eD.length - 1];
+ let n = AD[AD.length - 1];
c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(G(e))) && (eD[eD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = Cx({ shortcuts: { Escape: () => {
+ (!s || s(G(e))) && (AD[AD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = Qx({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Dae({
+ Zie({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = BC({
+ let { focusWithinProps: p } = gw({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !zie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !CC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -26399,87 +26399,87 @@ function tD(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var Wae = 200, Gae = 50, Kae = 600, nD = /* @__PURE__ */ new WeakMap(), rD = /* @__PURE__ */ new Set(), iD = /* @__PURE__ */ new Set();
-function qae(e, t) {
- let n = eS();
- if (e !== n || t.aborted) for (let e of iD) e(n), iD.delete(e);
- if (!e && n && wb() && !t.aborted) window.clearInterval(nD.get(window)), nD.set(window, aD(Wae));
+var mae = 200, hae = 50, gae = 600, MD = /* @__PURE__ */ new WeakMap(), ND = /* @__PURE__ */ new Set(), PD = /* @__PURE__ */ new Set();
+function _ae(e, t) {
+ let n = kS();
+ if (e !== n || t.aborted) for (let e of PD) e(n), PD.delete(e);
+ if (!e && n && $b() && !t.aborted) window.clearInterval(MD.get(window)), MD.set(window, FD(mae));
else {
- if (e !== n || t.aborted) for (let e of rD) e(n), rD.delete(e);
- (iD.size + rD.size <= 0 || t.aborted) && (window.clearInterval(nD.get(window)), nD.delete(window));
+ if (e !== n || t.aborted) for (let e of ND) e(n), ND.delete(e);
+ (PD.size + ND.size <= 0 || t.aborted) && (window.clearInterval(MD.get(window)), MD.delete(window));
}
}
-function aD(e = Kae) {
- return window.setInterval(qae, Gae, eS(), AbortSignal.timeout(e));
+function FD(e = gae) {
+ return window.setInterval(_ae, hae, kS(), AbortSignal.timeout(e));
}
-function oD(e) {
- if (!Zx()) return e(!1), () => {};
+function ID(e) {
+ if (!ES()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Qx(document.hasFocus() ? ab() : null);
- if (eS() === t || eS() && !t) return e(t);
- iD.add(e), nD.has(window) || nD.set(window, aD());
+ let t = DS(document.hasFocus() ? Ob() : null);
+ if (kS() === t || kS() && !t) return e(t);
+ PD.add(e), MD.has(window) || MD.set(window, FD());
});
});
return () => {
- window.cancelAnimationFrame(t), iD.delete(e);
+ window.cancelAnimationFrame(t), PD.delete(e);
};
}
-function sD(e) {
- if (!Zx()) return e(!1), () => {};
+function vae(e) {
+ if (!ES()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Qx(document.hasFocus() ? ab() : null);
- if (eS() === t) return e(t);
- rD.add(e), nD.has(window) || nD.set(window, aD());
+ let t = DS(document.hasFocus() ? Ob() : null);
+ if (kS() === t) return e(t);
+ ND.add(e), MD.has(window) || MD.set(window, FD());
});
});
return () => {
- window.cancelAnimationFrame(t), rD.delete(e);
+ window.cancelAnimationFrame(t), ND.delete(e);
};
}
// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var cD = typeof document < "u" && window.visualViewport, lD = 0, uD;
-function dD(e = {}) {
+var LD = typeof document < "u" && window.visualViewport, RD = 0, zD;
+function BD(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- pb(() => {
- if (!t) return lD++, lD === 1 && (uD = Cb() && wb() ? pD() : fD(n)), () => {
- lD--, lD === 0 && uD();
+ Vb(() => {
+ if (!t) return RD++, RD === 1 && (zD = Qb() && $b() ? bae() : yae(n)), () => {
+ RD--, RD === 0 && zD();
};
}, [t, n]);
}
-function fD(e) {
+function yae(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return lx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? nb(document.documentElement, "scrollbar-gutter", "stable") : nb(document.documentElement, "padding-right", `${t}px`)), nb(document.documentElement, "overflow", "hidden"), e && hD(), e && Zx() && mD());
+ return Rx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? wb(document.documentElement, "scrollbar-gutter", "stable") : wb(document.documentElement, "padding-right", `${t}px`)), wb(document.documentElement, "overflow", "hidden"), e && HD(), e && ES() && VD());
}
-function pD() {
- let e = nb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function bae() {
+ let e = wb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = G(e);
- t = vC(r, !0) ? r : yC(r, !0), n = !1;
+ t = HC(r, !0) ? r : UC(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = IS();
+ }, i = document.createElement("style"), a = $S();
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 = hD(), c = lx(tb(document, "touchstart", r, {
+ }, s = HD(), c = Rx(Cb(document, "touchstart", r, {
passive: !1,
capture: !0
- }), tb(document, "touchmove", o, {
+ }), Cb(document, "touchmove", o, {
passive: !1,
capture: !0
- }), mD());
+ }), VD());
return () => {
e(), c(), i.remove(), s();
};
}
-function mD() {
- return tb(document, "blur", (e) => {
+function VD() {
+ return Cb(document, "blur", (e) => {
let t = G(e), n = e.relatedTarget;
- n && Qx(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && DS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function hD() {
+function HD() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -26490,9 +26490,9 @@ function hD() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- ab() === this && gD(this);
+ Ob() === this && xae(this);
};
- oD((t) => t ? e() : sD(() => e()));
+ ID((t) => t ? e() : vae(() => e()));
}
}
}), () => {
@@ -26503,15 +26503,15 @@ function hD() {
});
};
}
-function gD(e) {
+function xae(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = yC(n);
+ let e = UC(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- cD && (n = Math.min(n, cD.offsetTop + cD.height));
+ LD && (n = Math.min(n, LD.offsetTop + LD.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -26523,19 +26523,19 @@ function gD(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function _D(e, t, n) {
- let { overlayProps: r, underlayProps: i } = tD({
+function Sae(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = jD({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- dD({
+ BD({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), mT();
+ }), WT();
let { isEntering: a } = e;
return (0, P.useEffect)(() => {
- if (t.isOpen && n.current) return a ? iw(n.current) : rw([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? Pw(n.current) : Nw([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -26546,33 +26546,33 @@ function _D(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var vD = {
+var UD = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, yD = {
+}, WD = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, bD = {
+}, Cae = {
top: "left",
left: "top"
-}, xD = {
+}, GD = {
top: "height",
left: "width"
-}, SD = {
+}, KD = {
width: "totalWidth",
height: "totalHeight"
-}, CD = {}, wD = () => typeof document < "u" ? window.visualViewport : null;
-function TD(e, t) {
+}, qD = {}, wae = () => typeof document < "u" ? window.visualViewport : null;
+function JD(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} = ID(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return wb() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = eO(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return $b() && (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,
totalWidth: i,
@@ -26582,7 +26582,7 @@ function TD(e, t) {
left: s
};
}
-function ED(e) {
+function Tae(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -26590,11 +26590,11 @@ function ED(e) {
height: e.scrollHeight
};
}
-function DD(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[xD[e]], l = o[e] + r.scroll[vD[e]] + a, u = o[e] + r.scroll[vD[e]] + c - a, d = t - s + r.scroll[vD[e]] + o[e] - r[vD[e]], f = t - s + n + r.scroll[vD[e]] + o[e] - r[vD[e]];
+function YD(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[GD[e]], l = o[e] + r.scroll[UD[e]] + a, u = o[e] + r.scroll[UD[e]] + c - a, d = t - s + r.scroll[UD[e]] + o[e] - r[UD[e]], f = t - s + n + r.scroll[UD[e]] + o[e] - r[UD[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function OD(e) {
+function Eae(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -26603,55 +26603,55 @@ function OD(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function kD(e) {
- if (CD[e]) return CD[e];
- let [t, n] = e.split(" "), r = vD[t] || "right", i = bD[r];
- vD[n] || (n = "center");
- let a = xD[r], o = xD[i];
- return CD[e] = {
+function XD(e) {
+ if (qD[e]) return qD[e];
+ let [t, n] = e.split(" "), r = UD[t] || "right", i = Cae[r];
+ UD[n] || (n = "center");
+ let a = GD[r], o = GD[i];
+ return qD[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, CD[e];
+ }, qD[e];
}
-function AD(e, t, n, r, i, a, o, s, c, l, u) {
+function ZD(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] = UC(_[m], v, y), d === p) {
- let t = s ? u[h] : u[SD[h]];
- _[yD[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = yw(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[KD[h]];
+ _[WD[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function jD(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[SD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Dae(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[KD.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 MD(e, t, n, r, i, a, o, s) {
+function QD(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[yD[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[yD[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[WD[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[WD[l]] - i);
}
-function ND(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = kD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = AD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = MD(s, l, t, i, a + u, v, c, g);
+function Oae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = XD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = ZD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = QD(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = kD(`${yD[S]} ${C}`), r = AD(t, s, n, e, u, d, l, f, m, h, c);
- MD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = XD(`${WD[S]} ${C}`), r = ZD(t, s, n, e, u, d, l, f, m, h, c);
+ QD(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 = DD(b, w[b], n[x], s, c, a, l);
+ let O = YD(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = jD(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = AD(t, s, n, v, T, d, l, f, m, h, c), O = DD(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[vD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = vD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;
- A[b] = UC(UC(M, t[b] + m / 2 - (w[b] + i[vD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[vD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Dae(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = ZD(t, s, n, v, T, d, l, f, m, h, c), O = YD(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[UD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = UD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;
+ A[b] = yw(yw(M, t[b] + m / 2 - (w[b] + i[UD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[UD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let N = S === "left" || S === "top" ? n[y] : 0, re = {
x: S === "top" || S === "bottom" ? j : N,
y: S === "left" || S === "right" ? j : N
@@ -26665,17 +26665,17 @@ function ND(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: re
};
}
-function PD(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 = wD(), h = r instanceof HTMLElement ? Jae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ID(n, !1, p) : LD(n, h, !1, p);
+function kae(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 = wae(), h = r instanceof HTMLElement ? Aae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? eO(n, !1, p) : tO(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 = ID(r, !0), x = OD(r);
+ let b = eO(r, !0), x = Eae(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = ED(i), C = TD(s, m), w = TD(h, m), T;
+ let S = Tae(i), C = JD(s, m), w = JD(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = FD(h, !1);
+ let e = $D(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -26687,11 +26687,11 @@ function PD(e) {
left: 0,
width: 0,
height: 0
- } : LD(s, h, !1);
- let E = ib(s, h);
- return ND(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : tO(s, h, !1);
+ let E = Db(s, h);
+ return Oae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function FD(e, t) {
+function $D(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,
@@ -26700,8 +26700,8 @@ function FD(e, t) {
height: a
};
}
-function ID(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || FD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function eO(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || $D(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -26709,29 +26709,29 @@ function ID(e, t, n) {
height: o
};
}
-function LD(e, t, n, r) {
+function tO(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || FD(e, n);
+ if (i.position === "fixed") a = r || $D(e, n);
else {
- a = ID(e, n, r);
- let i = ID(t, n), o = window.getComputedStyle(t);
+ a = eO(e, n, r);
+ let i = eO(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 Jae(e) {
+function Aae(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !RD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !RD(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !nO(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !nO(t);) t = t.parentElement;
return t || document.documentElement;
}
-function RD(e) {
+function nO(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 zD = typeof document < "u" ? window.visualViewport : null;
-function Yae(e) {
- let { direction: t } = lS(), { 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, P.useState)(null), x = [
+var rO = typeof document < "u" ? window.visualViewport : null;
+function jae(e) {
+ let { direction: t } = RS(), { 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, P.useState)(null), x = [
p,
s,
i.current,
@@ -26748,15 +26748,15 @@ function Yae(e) {
g,
_,
n
- ], S = (0, P.useRef)(zD?.scale);
+ ], S = (0, P.useRef)(rO?.scale);
(0, P.useEffect)(() => {
- m && (S.current = zD?.scale);
+ m && (S.current = rO?.scale);
}, [m]);
let C = (0, P.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || zD?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || rO?.scale !== S.current) return;
let e = null;
- if (o.current && sb(o.current)) {
- let t = ab()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && Ab(o.current)) {
+ let t = Ob()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -26764,8 +26764,8 @@ function Yae(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 = PD({
- placement: Zae(s, t),
+ let y = kae({
+ placement: Nae(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -26775,28 +26775,28 @@ function Yae(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? FD(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? $D(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = ab();
+ let x = Ob();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- pb(C, x), Xae(C), _E({
+ Vb(C, x), Mae(C), qE({
ref: i,
onResize: C
- }), _E({
+ }), qE({
ref: r,
onResize: C
});
let w = (0, P.useRef)(!1);
- pb(() => {
+ Vb(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -26804,16 +26804,16 @@ function Yae(e) {
}, n = () => {
w.current && t();
};
- zD?.addEventListener("resize", t), zD?.addEventListener("scroll", n);
- let r = tb(ob(window), "scroll", n);
+ rO?.addEventListener("resize", t), rO?.addEventListener("scroll", n);
+ let r = Cb(kb(window), "scroll", n);
return () => {
- zD?.removeEventListener("resize", t), zD?.removeEventListener("scroll", n), r();
+ rO?.removeEventListener("resize", t), rO?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, P.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return _ae({
+ return Vie({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -26839,24 +26839,24 @@ function Yae(e) {
updatePosition: C
};
}
-function Xae(e) {
- pb(() => (window.addEventListener("resize", e, !1), () => {
+function Mae(e) {
+ Vb(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Zae(e, t) {
+function Nae(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 Qae(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 } = tD({
+function Pae(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 } = jD({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Yae({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = jae({
...c,
targetRef: n,
overlayRef: r,
@@ -26864,15 +26864,15 @@ function Qae(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- dD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {
- if (t.isOpen && r.current) return a ? iw(i?.current ?? r.current) : rw([i?.current ?? r.current], { shouldUseInert: !0 });
+ BD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Pw(i?.current ?? r.current) : Nw([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = BC(e);
+ let { focusWithinProps: g } = gw(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -26882,12 +26882,12 @@ function Qae(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var BD = /* @__PURE__ */ new WeakMap();
+var iO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function $ae(e, t, n) {
+function Fae(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: _ } = US({
+ }, { pressProps: g, isPressed: _ } = oC({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -26895,7 +26895,7 @@ function $ae(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = US({
+ }), { pressProps: v, isPressed: y } = oC({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -26905,11 +26905,11 @@ function $ae(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = Dx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = kS(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = nS(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = KS(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 } = BD.get(t);
- TC(n, t.defaultSelectedValue, t.setSelectedValue), EC({ validationBehavior: O }, t, n);
- let k = DC();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = iO.get(t);
+ ZC(n, t.defaultSelectedValue, t.setSelectedValue), QC({ validationBehavior: O }, t, n);
+ let k = rw();
return {
labelProps: K(v, (0, P.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -26940,13 +26940,13 @@ function $ae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function eoe(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = lS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = zC({
+function Iae(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = RS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = hw({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = kS(e, { labelable: !0 }), { focusWithinProps: v } = BC({
+ }), _ = KS(e, { labelable: !0 }), { focusWithinProps: v } = gw({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -26954,13 +26954,13 @@ function eoe(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = dC(n.currentTarget, {
+ let r = NC(n.currentTarget, {
from: G(n),
- accept: (e) => e instanceof Qy(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof bb(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = Cx({
+ let { keyboardProps: b } = Qx({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -26968,8 +26968,8 @@ function eoe(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = px(n);
- return BD.set(t, {
+ }), x = Hx(n);
+ return iO.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -26997,21 +26997,21 @@ function eoe(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-var VD = /* @__PURE__ */ new WeakMap();
-function toe(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = cT({
+var aO = /* @__PURE__ */ new WeakMap();
+function Lae(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = RT({
usage: "search",
sensitivity: "base"
- }), u = (0, P.useMemo)(() => r || new uw(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, P.useMemo)(() => r || new Bw(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Jw({
+ ]), { menuTriggerProps: d, menuProps: f } = wT({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = Cx({
+ }, t, n), { keyboardProps: p } = Qx({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -27027,21 +27027,21 @@ function toe(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Xw({
+ }), { typeSelectProps: m } = ET({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = zC({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = hw({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = kS(e, { labelable: !0 }), C = K(m, d, y), w = px();
- return VD.set(t, {
+ let S = KS(e, { labelable: !0 }), C = K(m, d, y), w = Hx();
+ return aO.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -27051,13 +27051,13 @@ function toe(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), Qb("keyboard"));
+ e.isDisabled || (n.current?.focus(), Dx("keyboard"));
}
},
triggerProps: K(S, {
...C,
isDisabled: i,
- onKeyDown: lx(C.onKeyDown, p.onKeyDown),
+ onKeyDown: Rx(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -27081,7 +27081,7 @@ function toe(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- ib(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ Db(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -27101,13 +27101,13 @@ function toe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function noe(e, t, n) {
- let r = VD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = XC({ style: {
+function Rae(e, t, n) {
+ let r = aO.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Ew({ style: {
position: "fixed",
top: 0,
left: 0
} });
- TC(e.selectRef, t.defaultValue, t.setValue), EC({
+ ZC(e.selectRef, t.defaultValue, t.setValue), QC({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -27137,8 +27137,8 @@ function noe(e, t, n) {
}
};
}
-function roe(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = noe({
+function zae(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = Rae({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -27162,7 +27162,7 @@ function roe(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = VD.get(t) || {};
+ let { validationBehavior: e } = aO.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -27192,8 +27192,8 @@ function roe(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function ioe(e) {
- let t = kS(e, { labelable: !0 }), n;
+function Bae(e) {
+ let t = KS(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -27201,8 +27201,8 @@ function ioe(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function aoe(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = IC(e, t, n);
+function Vae(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = fw(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -27215,10 +27215,10 @@ function aoe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var HD = class {
+var oO = 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 ooe(e.layout) : new lw(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Hae(e.layout) : new zw(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -27254,7 +27254,7 @@ var HD = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of $w(n, this.collection)) {
+ for (let e of kT(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -27288,13 +27288,13 @@ var HD = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = $w(t, this.collection);
- return (this.direction === "rtl" ? nT(e)?.key : eT(e)?.key) ?? null;
+ let e = kT(t, this.collection);
+ return (this.direction === "rtl" ? MT(e)?.key : AT(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = $w(n, this.collection), i = (this.direction === "rtl" ? tT(r, t.index - 1) : tT(r, t.index + 1)) ?? null;
+ let r = kT(n, this.collection), i = (this.direction === "rtl" ? jT(r, t.index - 1) : jT(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -27303,13 +27303,13 @@ var HD = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = $w(t, this.collection);
- return (this.direction === "rtl" ? eT(e)?.key : nT(e)?.key) ?? null;
+ let e = kT(t, this.collection);
+ return (this.direction === "rtl" ? AT(e)?.key : MT(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = $w(n, this.collection), i = (this.direction === "rtl" ? tT(r, t.index + 1) : tT(r, t.index - 1)) ?? null;
+ let r = kT(n, this.collection), i = (this.direction === "rtl" ? jT(r, t.index + 1) : jT(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -27320,13 +27320,13 @@ var HD = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? eT($w(e, this.collection))?.key ?? null : null;
+ return e ? AT(kT(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = eT($w(e, this.collection))?.key ?? null;
+ n = AT(kT(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27336,13 +27336,13 @@ var HD = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? nT($w(e, this.collection))?.key ?? null : null;
+ return e ? MT(kT(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = nT($w(e, this.collection))?.key ?? null;
+ n = MT(kT(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27378,13 +27378,13 @@ var HD = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? eT($w(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? AT(kT(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, ooe = class {
+}, Hae = class {
constructor(e) {
this.layout = e;
}
@@ -27397,15 +27397,15 @@ var HD = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, UD = /* @__PURE__ */ new WeakMap();
+}, sO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function soe(e, t, n) {
+function Uae(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 = cT({
+ let h = RT({
usage: "search",
sensitivity: "base"
- }), { direction: g } = lS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new HD({
+ }), { direction: g } = RS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new oO({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -27422,7 +27422,7 @@ function soe(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Qw({
+ ]), { collectionProps: y } = OT({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -27430,8 +27430,8 @@ function soe(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = px(e.id);
- UD.set(t, {
+ }), b = Hx(e.id);
+ sO.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -27440,42 +27440,42 @@ function soe(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = sE({
+ let x = LE({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = kS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {
- m.isFocused ? ib(e.currentTarget, G(e)) || m.setFocused(!1) : ib(e.currentTarget, G(e)) && m.setFocused(!0);
+ }), S = KS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {
+ m.isFocused ? Db(e.currentTarget, G(e)) || m.setFocused(!1) : Db(e.currentTarget, G(e)) && m.setFocused(!0);
}, [m]), w = (0, P.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = oE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
+ }), [C, y.onBlur]), T = IE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), iE({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), PE({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var WD = /* @__PURE__ */ new WeakMap();
-function GD(e) {
+var cO = /* @__PURE__ */ new WeakMap();
+function lO(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function KD(e, t) {
- let n = WD.get(e);
+function uO(e, t) {
+ let n = cO.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${GD(t)}`;
+ return `${n}-${lO(t)}`;
}
-function qD(e, t, n) {
- let r = WD.get(e);
+function dO(e, t, n) {
+ let r = cO.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${GD(t)}-${GD(n)}`;
+ return `${r}-${lO(t)}-${lO(n)}`;
}
-function JD(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => qD(e, t, n)).join(" ");
+function fO(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => dO(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var YD = {};
-YD = {
+var pO = {};
+pO = {
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: "طي",
@@ -27489,8 +27489,8 @@ YD = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var XD = {};
-XD = {
+var mO = {};
+mO = {
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: "Свиване",
@@ -27504,8 +27504,8 @@ XD = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var ZD = {};
-ZD = {
+var hO = {};
+hO = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -27519,8 +27519,8 @@ ZD = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var QD = {};
-QD = {
+var gO = {};
+gO = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -27534,8 +27534,8 @@ QD = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var $D = {};
-$D = {
+var _O = {};
+_O = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -27549,8 +27549,8 @@ $D = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var eO = {};
-eO = {
+var vO = {};
+vO = {
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: "Σύμπτυξη",
@@ -27564,8 +27564,8 @@ eO = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var tO = {};
-tO = {
+var yO = {};
+yO = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -27579,8 +27579,8 @@ tO = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var nO = {};
-nO = {
+var bO = {};
+bO = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -27594,8 +27594,8 @@ nO = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var rO = {};
-rO = {
+var xO = {};
+xO = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -27609,8 +27609,8 @@ rO = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var iO = {};
-iO = {
+var SO = {};
+SO = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -27624,8 +27624,8 @@ iO = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var aO = {};
-aO = {
+var CO = {};
+CO = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -27639,8 +27639,8 @@ aO = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var oO = {};
-oO = {
+var wO = {};
+wO = {
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: "כווץ",
@@ -27654,8 +27654,8 @@ oO = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var sO = {};
-sO = {
+var TO = {};
+TO = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -27669,8 +27669,8 @@ sO = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var cO = {};
-cO = {
+var EO = {};
+EO = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -27684,8 +27684,8 @@ cO = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var lO = {};
-lO = {
+var DO = {};
+DO = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -27699,8 +27699,8 @@ lO = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var uO = {};
-uO = {
+var OO = {};
+OO = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -27714,8 +27714,8 @@ uO = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var dO = {};
-dO = {
+var kO = {};
+kO = {
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: "접기",
@@ -27729,8 +27729,8 @@ dO = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var fO = {};
-fO = {
+var AO = {};
+AO = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -27744,8 +27744,8 @@ fO = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var pO = {};
-pO = {
+var jO = {};
+jO = {
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",
@@ -27759,8 +27759,8 @@ pO = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var mO = {};
-mO = {
+var MO = {};
+MO = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -27774,8 +27774,8 @@ mO = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var hO = {};
-hO = {
+var NO = {};
+NO = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -27789,8 +27789,8 @@ hO = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var gO = {};
-gO = {
+var PO = {};
+PO = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -27804,8 +27804,8 @@ gO = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var _O = {};
-_O = {
+var FO = {};
+FO = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -27819,8 +27819,8 @@ _O = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var vO = {};
-vO = {
+var IO = {};
+IO = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -27834,8 +27834,8 @@ vO = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var yO = {};
-yO = {
+var LO = {};
+LO = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -27849,8 +27849,8 @@ yO = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var bO = {};
-bO = {
+var RO = {};
+RO = {
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: "Свернуть",
@@ -27864,8 +27864,8 @@ bO = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var xO = {};
-xO = {
+var zO = {};
+zO = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -27879,8 +27879,8 @@ xO = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var SO = {};
-SO = {
+var BO = {};
+BO = {
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",
@@ -27894,8 +27894,8 @@ SO = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var CO = {};
-CO = {
+var VO = {};
+VO = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -27909,8 +27909,8 @@ CO = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var wO = {};
-wO = {
+var HO = {};
+HO = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -27924,8 +27924,8 @@ wO = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var TO = {};
-TO = {
+var UO = {};
+UO = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -27939,8 +27939,8 @@ TO = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var EO = {};
-EO = {
+var WO = {};
+WO = {
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: "Згорнути",
@@ -27954,8 +27954,8 @@ EO = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var DO = {};
-DO = {
+var GO = {};
+GO = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -27969,8 +27969,8 @@ DO = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var OO = {};
-OO = {
+var KO = {};
+KO = {
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: "收合",
@@ -27984,45 +27984,45 @@ OO = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var kO = {};
-kO = {
- "ar-AE": YD,
- "bg-BG": XD,
- "cs-CZ": ZD,
- "da-DK": QD,
- "de-DE": $D,
- "el-GR": eO,
- "en-US": tO,
- "es-ES": nO,
- "et-EE": rO,
- "fi-FI": iO,
- "fr-FR": aO,
- "he-IL": oO,
- "hr-HR": sO,
- "hu-HU": cO,
- "it-IT": lO,
- "ja-JP": uO,
- "ko-KR": dO,
- "lt-LT": fO,
- "lv-LV": pO,
- "nb-NO": mO,
- "nl-NL": hO,
- "pl-PL": gO,
- "pt-BR": _O,
- "pt-PT": vO,
- "ro-RO": yO,
- "ru-RU": bO,
- "sk-SK": xO,
- "sl-SI": SO,
- "sr-SP": CO,
- "sv-SE": wO,
- "tr-TR": TO,
- "uk-UA": EO,
- "zh-CN": DO,
- "zh-TW": OO
+var qO = {};
+qO = {
+ "ar-AE": pO,
+ "bg-BG": mO,
+ "cs-CZ": hO,
+ "da-DK": gO,
+ "de-DE": _O,
+ "el-GR": vO,
+ "en-US": yO,
+ "es-ES": bO,
+ "et-EE": xO,
+ "fi-FI": SO,
+ "fr-FR": CO,
+ "he-IL": wO,
+ "hr-HR": TO,
+ "hu-HU": EO,
+ "it-IT": DO,
+ "ja-JP": OO,
+ "ko-KR": kO,
+ "lt-LT": AO,
+ "lv-LV": jO,
+ "nb-NO": MO,
+ "nl-NL": NO,
+ "pl-PL": PO,
+ "pt-BR": FO,
+ "pt-PT": IO,
+ "ro-RO": LO,
+ "ru-RU": RO,
+ "sk-SK": zO,
+ "sl-SI": BO,
+ "sr-SP": VO,
+ "sv-SE": HO,
+ "tr-TR": UO,
+ "uk-UA": WO,
+ "zh-CN": GO,
+ "zh-TW": KO
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var coe = class extends HD {
+var Wae = class extends oO {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -28030,7 +28030,7 @@ var coe = class extends HD {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = eT($w(n, this.collection));
+ let e = AT(kT(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -28051,13 +28051,13 @@ var coe = class extends HD {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of $w(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of kT(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...$w(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...kT(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -28086,7 +28086,7 @@ var coe = class extends HD {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of $w(o, this.collection)) {
+ for (let r of kT(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -28099,14 +28099,14 @@ var coe = class extends HD {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function loe(e) {
+function Gae(e) {
return e && e.__esModule ? e.default : e;
}
-function uoe(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = cT({
+function Kae(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = RT({
usage: "search",
sensitivity: "base"
- }), { direction: c } = lS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new coe({
+ }), { direction: c } = RS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Wae({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -28125,51 +28125,51 @@ function uoe(e, t, n) {
s,
a,
o
- ]), d = px(e.id);
- WD.set(t, d);
- let { gridProps: f } = soe({
+ ]), d = Hx(e.id);
+ cO.set(t, d);
+ let { gridProps: f } = Uae({
...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 = SS(loe(kO), "@react-aria/table"), g = (0, P.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = WS(Gae(qO), "@react-aria/table"), g = (0, P.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = wC(g);
- return _C(() => {
- g && gC(g, "assertive", 500);
+ ]), _ = XC(g);
+ return VC(() => {
+ g && zC(g, "assertive", 500);
}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
// node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function AO(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = lS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = UD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {
+function JO(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = RS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = sO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {
if (n.current) {
- let e = dC(n.current);
+ let e = NC(n.current);
if (p === "child") {
- let i = ab(Zy(n.current));
- if (sb(n.current) && n.current !== i) return;
- let a = Zy(n.current);
+ let i = Ob(yb(n.current));
+ if (Ab(n.current) && n.current !== i) return;
+ let a = yb(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && ib(n.current, e)) {
- cx(e);
+ if (e && m.current === r.key && Db(n.current, e)) {
+ Lx(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? jO(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? YO(e) : e.firstChild();
if (o) {
- cx(o);
+ Lx(o);
return;
}
}
- (m.current != null && r.key !== m.current || !sb(n.current)) && cx(n.current);
+ (m.current != null && r.key !== m.current || !Ab(n.current)) && Lx(n.current);
}
- }, { itemProps: _, isPressed: v } = lE({
+ }, { itemProps: _, isPressed: v } = zE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -28181,44 +28181,44 @@ function AO(e, t, n) {
}), y = K(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = ab(Zy(n.current));
- if (!ib(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = dC(n.current);
+ let i = Ob(yb(n.current));
+ if (!Db(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = NC(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) cx(t), SC(t, { containingElement: yC(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Lx(t), qC(t, { containingElement: UC(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (cx(n.current), SC(n.current, { containingElement: yC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : jO(a), t && (cx(t), SC(t, { containingElement: yC(n.current) })));
+ p === "cell" && l === "rtl" ? (Lx(n.current), qC(n.current, { containingElement: UC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : YO(a), t && (Lx(t), qC(t, { containingElement: UC(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) cx(t), SC(t, { containingElement: yC(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Lx(t), qC(t, { containingElement: UC(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (cx(n.current), SC(n.current, { containingElement: yC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? jO(a) : a.firstChild(), t && (cx(t), SC(t, { containingElement: yC(n.current) })));
+ p === "cell" && l === "ltr" ? (Lx(n.current), qC(n.current, { containingElement: UC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? YO(a) : a.firstChild(), t && (Lx(t), qC(t, { containingElement: UC(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && ib(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && Db(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = ab(Zy(n.current));
- if (ib(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = Ob(yb(n.current));
+ if (Db(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = dC(n.current, { tabbable: !0 });
+ let t = NC(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -28229,9 +28229,9 @@ function AO(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, G(e) !== n.current) {
let i = G(e);
- n.current && ib(n.current, i) && (h.current = i), Xb() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && ib(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && ab(Zy(n.current)) === n.current && g();
+ n.current && Db(n.current, i) && (h.current = i), Tx() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && Db(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Ob(yb(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -28246,7 +28246,7 @@ function AO(e, t, n) {
isPressed: v
};
}
-function jO(e) {
+function YO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -28254,32 +28254,32 @@ function jO(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function doe(e, t, n) {
- let { gridCellProps: r, isPressed: i } = AO(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = qD(t, e.node.parentKey, a)), {
+function qae(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = JO(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = dO(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function foe(e) {
+function Jae(e) {
return e && e.__esModule ? e.default : e;
}
-function poe(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = AO({
+function Yae(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = JO({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = US({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = oC({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = Dx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !Eb() && (u = d ? f : "none");
- let p = SS(foe(kO), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && Eb() && (m = `${m}, ${p.format(f)}`));
- let h = wC(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = nS({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !tx() && (u = d ? f : "none");
+ let p = WS(Jae(qO), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && tx() && (m = `${m}, ${p.format(f)}`));
+ let h = XC(m), g = t.collection.size === 0;
return (0, P.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -28290,7 +28290,7 @@ function poe(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: KD(t, r.key),
+ id: uO(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -28298,17 +28298,17 @@ function poe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function moe(e) {
+function Xae(e) {
return e && e.__esModule ? e.default : e;
}
-function hoe(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = SS(moe(kO), "@react-aria/table"), d = px(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = lS(), b = (0, P.useCallback)((e) => {
+function Zae(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = WS(Xae(qO), "@react-aria/table"), d = Hx(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = RS(), b = (0, P.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, P.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
s?.(r), m.current = r;
}, [t, s]), S = (0, P.useCallback)((e) => {
- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && cx(i.current)), m.current = null;
+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && Lx(i.current)), m.current = null;
}, [
t,
i,
@@ -28316,14 +28316,14 @@ function hoe(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = Cx({ shortcuts: {
+ }, { keyboardProps: w } = Qx({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, P.useRef)(0), { moveProps: E } = JC({
+ } }), T = (0, P.useRef)(0), { moveProps: E } = ww({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -28339,12 +28339,12 @@ function hoe(e, t, n) {
g && E.onKeyDown?.(e);
}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));
k === Infinity && (k = 2 ** 53 - 1);
- let A = Math.floor(t.getColumnWidth(r.key)), j = $b();
+ let A = Math.floor(t.getColumnWidth(r.key)), j = Ox();
j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");
- let M = wC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
+ let M = XC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${KD(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${uO(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -28352,11 +28352,11 @@ function hoe(e, t, n) {
value: A,
...M
}, te = (0, P.useCallback)(() => {
- n.current && cx(n.current);
- }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = tS(b);
+ n.current && Lx(n.current);
+ }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = AS(b);
(0, P.useEffect)(() => {
if (N.current !== ne && ne != null && ne === r.key) {
- h.current = ab() === n.current, re(r);
+ h.current = Ob() === n.current, re(r);
let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -28372,7 +28372,7 @@ function hoe(e, t, n) {
let ie = (e) => {
let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);
i = i > n ? n + 10 : n - 10, x(r, i);
- }, { pressProps: F } = US({
+ }, { pressProps: F } = oC({
preventFocusOnPress: !0,
onPressStart: (e) => {
e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (te(), e.pointerType !== "virtual" && b(r)));
@@ -28380,7 +28380,7 @@ function hoe(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ae } = XC();
+ }), { visuallyHiddenProps: ae } = Ew();
return {
resizerProps: K(w, {
...E,
@@ -28399,19 +28399,19 @@ function hoe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function goe(e, t, n) {
+function Qae(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 _oe(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = UD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = lE({
+function $ae(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = sO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = zE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? lx(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? Rx(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -28425,10 +28425,10 @@ function _oe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function voe(e) {
+function eoe(e) {
return e && e.__esModule ? e.default : e;
}
-var MO = {
+var XO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -28438,21 +28438,21 @@ var MO = {
rtl: "ArrowRight"
}
};
-function yoe(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = _oe(e, t, n), { direction: s } = lS();
+function toe(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = $ae(e, t, n), { direction: s } = RS();
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 = SS(voe(kO), "@react-aria/table"), u = rS({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = WS(eoe(qO), "@react-aria/table"), u = MS({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": JD(t, r.key)
+ "aria-labelledby": fO(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = NO(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 = NO(t.collection, a);
+ let n = ZO(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 = ZO(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === MO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === MO.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 === XO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === XO.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,
@@ -28470,42 +28470,42 @@ function yoe(e, t, n) {
};
}
}
- let p = Ab(r.props), m = o.hasAction ? p : {};
+ let p = ax(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": JD(t, r.key)
+ "aria-labelledby": fO(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function NO(e, t) {
+function ZO(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 boe() {
+function noe() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function PO() {
- return boe();
+function QO() {
+ return noe();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function xoe(e) {
+function roe(e) {
return e && e.__esModule ? e.default : e;
}
-function Soe(e, t) {
- let { key: n } = e, { checkboxProps: r } = hE(e, t);
+function ioe(e, t) {
+ let { key: n } = e, { checkboxProps: r } = GE(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${JD(t, n)}`
+ "aria-labelledby": `${r.id} ${fO(t, n)}`
} };
}
-function Coe(e) {
+function aoe(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": SS(xoe(kO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": WS(roe(qO), "@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,
@@ -28513,22 +28513,22 @@ function Coe(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var FO = /* @__PURE__ */ new WeakMap();
-function IO(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${FO.get(e)}-${n}-${t}`) : "";
+var $O = /* @__PURE__ */ new WeakMap();
+function ek(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${$O.get(e)}-${n}-${t}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function woe(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 } = lE({
+function ooe(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 } = zE({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = IO(t, r, "tab"), m = IO(t, r, "tabpanel"), { tabIndex: h } = d, g = kS(u?.props, { labelable: !0 });
+ }), p = ek(t, r, "tab"), m = ek(t, r, "tabpanel"), { tabIndex: h } = d, g = KS(u?.props, { labelable: !0 });
delete g.id;
- let _ = jb(u?.props), { focusableProps: v } = Dx({
+ let _ = ox(u?.props), { focusableProps: v } = nS({
...u?.props,
isDisabled: l
}, n);
@@ -28547,7 +28547,7 @@ function woe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Toe = class {
+var soe = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -28590,11 +28590,11 @@ var Toe = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Eoe(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = lS(), { collectionProps: l } = Qw({
+function coe(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = RS(), { collectionProps: l } = OT({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, P.useMemo)(() => new Toe(a, c, r, s), [
+ keyboardDelegate: (0, P.useMemo)(() => new soe(a, c, r, s), [
a,
s,
r,
@@ -28604,9 +28604,9 @@ function Eoe(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = px();
- return FO.set(t, u), { tabListProps: {
- ...K(l, rS({
+ }), u = Hx();
+ return $O.set(t, u), { tabListProps: {
+ ...K(l, MS({
...e,
id: u
})),
@@ -28616,12 +28616,12 @@ function Eoe(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Doe(e, t, n) {
- let r = oE(n) ? void 0 : 0, i = IO(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(rS({
+function loe(e, t, n) {
+ let r = IE(n) ? void 0 : 0, i = ek(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(MS({
...e,
id: i,
- "aria-labelledby": IO(t, t?.selectedKey, "tab")
+ "aria-labelledby": ek(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -28630,265 +28630,265 @@ function Doe(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Ooe(e, t, n) {
- let { gridProps: r } = jae(e, t, n);
+function uoe(e, t, n) {
+ let { gridProps: r } = tae(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var LO = {};
-LO = {
+var tk = {};
+tk = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var RO = {};
-RO = {
+var nk = {};
+nk = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var zO = {};
-zO = {
+var rk = {};
+rk = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var BO = {};
-BO = {
+var ik = {};
+ik = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var VO = {};
-VO = {
+var ak = {};
+ak = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var HO = {};
-HO = {
+var ok = {};
+ok = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var UO = {};
-UO = {
+var sk = {};
+sk = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var WO = {};
-WO = {
+var ck = {};
+ck = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var GO = {};
-GO = {
+var lk = {};
+lk = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var KO = {};
-KO = {
+var uk = {};
+uk = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var qO = {};
-qO = {
+var dk = {};
+dk = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var JO = {};
-JO = {
+var fk = {};
+fk = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var YO = {};
-YO = {
+var pk = {};
+pk = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var XO = {};
-XO = {
+var mk = {};
+mk = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var ZO = {};
-ZO = {
+var hk = {};
+hk = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var QO = {};
-QO = {
+var gk = {};
+gk = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var $O = {};
-$O = {
+var _k = {};
+_k = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var ek = {};
-ek = {
+var vk = {};
+vk = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var tk = {};
-tk = {
+var yk = {};
+yk = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var nk = {};
-nk = {
+var bk = {};
+bk = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var rk = {};
-rk = {
+var xk = {};
+xk = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var ik = {};
-ik = {
+var Sk = {};
+Sk = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var ak = {};
-ak = {
+var Ck = {};
+Ck = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var ok = {};
-ok = {
+var wk = {};
+wk = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var sk = {};
-sk = {
+var Tk = {};
+Tk = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var ck = {};
-ck = {
+var Ek = {};
+Ek = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var lk = {};
-lk = {
+var Dk = {};
+Dk = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var uk = {};
-uk = {
+var Ok = {};
+Ok = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var dk = {};
-dk = {
+var kk = {};
+kk = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var fk = {};
-fk = {
+var Ak = {};
+Ak = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var pk = {};
-pk = {
+var jk = {};
+jk = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var mk = {};
-mk = {
+var Mk = {};
+Mk = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var hk = {};
-hk = {
+var Nk = {};
+Nk = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var gk = {};
-gk = {
+var Pk = {};
+Pk = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var _k = {};
-_k = {
- "ar-AE": LO,
- "bg-BG": RO,
- "cs-CZ": zO,
- "da-DK": BO,
- "de-DE": VO,
- "el-GR": HO,
- "en-US": UO,
- "es-ES": WO,
- "et-EE": GO,
- "fi-FI": KO,
- "fr-FR": qO,
- "he-IL": JO,
- "hr-HR": YO,
- "hu-HU": XO,
- "it-IT": ZO,
- "ja-JP": QO,
- "ko-KR": $O,
- "lt-LT": ek,
- "lv-LV": tk,
- "nb-NO": nk,
- "nl-NL": rk,
- "pl-PL": ik,
- "pt-BR": ak,
- "pt-PT": ok,
- "ro-RO": sk,
- "ru-RU": ck,
- "sk-SK": lk,
- "sl-SI": uk,
- "sr-SP": dk,
- "sv-SE": fk,
- "tr-TR": pk,
- "uk-UA": mk,
- "zh-CN": hk,
- "zh-TW": gk
+var Fk = {};
+Fk = {
+ "ar-AE": tk,
+ "bg-BG": nk,
+ "cs-CZ": rk,
+ "da-DK": ik,
+ "de-DE": ak,
+ "el-GR": ok,
+ "en-US": sk,
+ "es-ES": ck,
+ "et-EE": lk,
+ "fi-FI": uk,
+ "fr-FR": dk,
+ "he-IL": fk,
+ "hr-HR": pk,
+ "hu-HU": mk,
+ "it-IT": hk,
+ "ja-JP": gk,
+ "ko-KR": _k,
+ "lt-LT": vk,
+ "lv-LV": yk,
+ "nb-NO": bk,
+ "nl-NL": xk,
+ "pl-PL": Sk,
+ "pt-BR": Ck,
+ "pt-PT": wk,
+ "ro-RO": Tk,
+ "ru-RU": Ek,
+ "sk-SK": Dk,
+ "sl-SI": Ok,
+ "sr-SP": kk,
+ "sv-SE": Ak,
+ "tr-TR": jk,
+ "uk-UA": Mk,
+ "zh-CN": Nk,
+ "zh-TW": Pk
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function koe(e) {
+function doe(e) {
return e && e.__esModule ? e.default : e;
}
-function vk(e, t, n) {
- let { node: r } = e, i = Mae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = SS(koe(_k), "@react-aria/tree"), s = {
+function Ik(e, t, n) {
+ let { node: r } = e, i = nae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = WS(doe(Fk), "@react-aria/tree"), s = {
onPress: () => {
i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));
},
excludeFromTabOrder: !0,
preventFocusOnPress: !0,
"data-react-aria-prevent-focus": !0,
- ...rS({
+ ...MS({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -28899,15 +28899,15 @@ function vk(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var yk = "(prefers-reduced-motion: reduce)", Aoe = () => matchMedia(yk).matches, joe = (e) => {
- let t = matchMedia(yk);
+var Lk = "(prefers-reduced-motion: reduce)", foe = () => matchMedia(Lk).matches, poe = (e) => {
+ let t = matchMedia(Lk);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, bk = /* @__PURE__ */ new Map(), xk = () => {
+}, Rk = /* @__PURE__ */ new Map(), zk = () => {
let e = document.documentElement;
- bk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...bk.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ Rk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Rk.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function Moe({ children: e, count: t, label: n }) {
- let r = (0, P.useRef)(null), i = ty(), a = (0, P.useSyncExternalStore)(joe, Aoe, () => !1), { isFocusVisible: o } = ex(), s = a || o, c = {
+function moe({ children: e, count: t, label: n }) {
+ let r = (0, P.useRef)(null), i = by(), a = (0, P.useSyncExternalStore)(poe, foe, () => !1), { isFocusVisible: o } = kx(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -28915,12 +28915,12 @@ function Moe({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- bk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), xk();
+ Rk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), zk();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), bk.delete(e), xk();
+ n.disconnect(), window.removeEventListener("resize", t), Rk.delete(e), zk();
};
- }, [i]), /* @__PURE__ */ (0, F.jsxs)(By.div, {
+ }, [i]), /* @__PURE__ */ (0, F.jsxs)(cb.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -28953,17 +28953,17 @@ function Moe({ children: e, count: t, label: n }) {
}), e]
});
}
-function Sk({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, F.jsx)(iy, { children: e ? /* @__PURE__ */ (0, F.jsx)(Moe, { ...t }, "selection") : null });
+function Bk({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, F.jsx)(Cy, { children: e ? /* @__PURE__ */ (0, F.jsx)(moe, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var Ck = {
+var Vk = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Noe(e, t = !1) {
+function hoe(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -28979,7 +28979,7 @@ function Noe(e, t = !1) {
glyph: "trash",
danger: !0
},
- Ck
+ Vk
];
case "junk": return [
t ? {
@@ -29000,7 +29000,7 @@ function Noe(e, t = !1) {
glyph: "trash",
danger: !0
},
- Ck
+ Vk
];
case "follow": return [
{
@@ -29021,7 +29021,7 @@ function Noe(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Ck
+ Vk
];
default: return [
{
@@ -29055,38 +29055,38 @@ function Noe(e, t = !1) {
glyph: "trash",
danger: !0
},
- Ck
+ Vk
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var wk = null, Tk = {
+var Hk = null, Uk = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Ek = /* @__PURE__ */ new Set();
-function Poe(e) {
- return Ek.add(e), () => {
- Ek.delete(e);
+}, Wk = /* @__PURE__ */ new Set();
+function goe(e) {
+ return Wk.add(e), () => {
+ Wk.delete(e);
};
}
-function Foe() {
- for (let e of [...Ek]) e();
+function _oe() {
+ for (let e of [...Wk]) e();
}
-var Ioe = { render(e) {
- Tk = e, (0, Lt.flushSync)(Foe);
+var voe = { render(e) {
+ Uk = e, (0, Lt.flushSync)(_oe);
} };
-function Loe(e) {
- return wk = e, Ioe;
+function yoe(e) {
+ return Hk = e, voe;
}
-function Roe() {
- let e = (0, P.useSyncExternalStore)(Poe, () => Tk);
- return wk ? /* @__PURE__ */ (0, F.jsx)(zoe, {
- host: wk,
+function boe() {
+ let e = (0, P.useSyncExternalStore)(goe, () => Uk);
+ return Hk ? /* @__PURE__ */ (0, F.jsx)(xoe, {
+ host: Hk,
props: e
}) : null;
}
-function zoe({ host: e, props: t }) {
+function xoe({ host: e, props: t }) {
let n = t.count > 0;
return (0, P.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -29096,11 +29096,11 @@ function zoe({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, F.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, F.jsx)(Bk, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: Noe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {
+ children: hoe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -29116,11 +29116,11 @@ function zoe({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function Dk(e, t, n, r) {
+function Gk(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function Boe(e, t) {
+function Soe(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -29139,7 +29139,7 @@ function Boe(e, t) {
};
}
// src/sort-preferences.ts
-var Ok = [
+var Kk = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -29148,7 +29148,7 @@ var Ok = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], kk = ["release", "发行时间"], Ak = [...Ok, kk].map(([e]) => e), jk = {
+], qk = ["release", "发行时间"], Jk = [...Kk, qk].map(([e]) => e), Yk = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -29157,43 +29157,43 @@ var Ok = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Mk = {
+}, Xk = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Nk = (e, t, n = jk) => (n[e] || [])[+(t === "asc")] || "", Pk = (e, t = jk) => t[e] ? "desc" : "";
-function Fk(e, t, n, r = jk) {
+}, Zk = (e, t, n = Yk) => (n[e] || [])[+(t === "asc")] || "", Qk = (e, t = Yk) => t[e] ? "desc" : "";
+function $k(e, t, n, r = Yk) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Pk(e, r)
+ dir: Qk(e, r)
};
}
-function Ik(e, t, n) {
+function eA(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Lk(e, t, n, r, i = n) {
- let a = e ? Mk[e] : void 0, o = a ? a[0] : e, s = o && Ak.includes(o) ? o : i;
- return jk[s] ? {
+function tA(e, t, n, r, i = n) {
+ let a = e ? Xk[e] : void 0, o = a ? a[0] : e, s = o && Jk.includes(o) ? o : i;
+ return Yk[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Ik(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : eA(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var Rk = [
+var nA = [
"spot1",
"spot2",
"spot3"
-], Voe = [
+], Coe = [
"光晕一",
"光晕二",
"光晕三"
-], zk = "native", Bk = [
+], rA = "native", iA = [
[
"ash",
"灰雾",
@@ -29499,7 +29499,7 @@ var Rk = [
"rose"
],
[
- zk,
+ rA,
"玻璃原色",
{
spot1: {
@@ -29517,7 +29517,7 @@ var Rk = [
},
"blue"
]
-], Vk = (e) => e === zk, Hk = [...Bk.map(([e, t]) => [e, t]), ["custom", "自定义"]], Hoe = (e) => (Hk.find(([t]) => t === e) || Hk[0])[1], Uk = (e) => structuredClone((Bk.find(([t]) => t === e) || Bk[0])[2]), Wk = [
+], aA = (e) => e === rA, oA = [...iA.map(([e, t]) => [e, t]), ["custom", "自定义"]], woe = (e) => (oA.find(([t]) => t === e) || oA[0])[1], sA = (e) => structuredClone((iA.find(([t]) => t === e) || iA[0])[2]), cA = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -29530,7 +29530,7 @@ var Rk = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], Gk = "blue", Kk = (e) => Wk.some(([t]) => t === e) ? e : Gk, Uoe = (e) => (Bk.find(([t]) => t === e) || [])[3] || "blue", Woe = [
+], lA = "blue", uA = (e) => cA.some(([t]) => t === e) ? e : lA, Toe = (e) => (iA.find(([t]) => t === e) || [])[3] || "blue", Eoe = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -29540,7 +29540,7 @@ var Rk = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], Goe = [
+], Doe = [
[
"gray",
"云灰",
@@ -29936,11 +29936,11 @@ var Rk = [
"霁蓝",
"#6686b8"
]
-], qk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Jk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Koe = (e, t) => `rgba(${[
+], dA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, fA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Ooe = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, qoe = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, koe = {
strength: [
0,
100,
@@ -29966,7 +29966,7 @@ var Rk = [
100,
50
]
-}, Yk = {
+}, pA = {
on: !0,
preset: "ash",
strength: 100,
@@ -29974,56 +29974,56 @@ var Rk = [
speed: 100,
soften: 50,
size: 50,
- ...Uk("ash")
+ ...sA("ash")
};
-function Xk(e) {
- let t = e && typeof e == "object" ? e : {}, n = Hk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Uk(r === "custom" ? "ash" : r), a = {
+function mA(e) {
+ let t = e && typeof e == "object" ? e : {}, n = oA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = sA(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(qoe)) a[e] = qk(+t[e], n, r, i);
- for (let e of Rk) {
+ for (let [e, [n, r, i]] of Object.entries(koe)) a[e] = dA(+t[e], n, r, i);
+ for (let e of nA) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: Jk(r.color, o.color),
- alpha: qk(+r.alpha, 0, 100, o.alpha)
+ color: fA(r.color, o.color),
+ alpha: dA(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var Joe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Zk = /* @__PURE__ */ new WeakMap();
-function Yoe(e, t) {
+var Aoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, hA = /* @__PURE__ */ new WeakMap();
+function joe(e, t) {
if (!e) return;
- let n = Zk.get(e);
- n || (n = /* @__PURE__ */ new Map(), Zk.set(e, n));
- let r = t.on && !Vk(t.preset), i = (t, r) => {
+ let n = hA.get(e);
+ n || (n = /* @__PURE__ */ new Map(), hA.set(e, n));
+ let r = t.on && !aA(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"), Rk.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"), nA.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, Koe(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, Ooe(r.color, r.alpha));
});
}
-function Xoe(e, t) {
+function Moe(e, t) {
if (!e) return;
- let n = !t.on || Vk(t.preset);
+ let n = !t.on || aA(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 Zoe = "peach.settings.v1", Qoe = [
+var gA = "peach.settings.v1", Noe = [
"system",
"light",
"dark"
-], Qk = [
+], _A = [
0,
7,
30,
90
-], $oe = [
+], Poe = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], $k = {
+], vA = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -30044,53 +30044,53 @@ var Zoe = "peach.settings.v1", Qoe = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...Fl],
- homeGlow: Yk,
- accent: Gk
-}, eA = (e, t, n) => t.includes(e) ? e : n;
-function ese(e) {
+ homeGlow: pA,
+ accent: lA
+}, yA = (e, t, n) => t.includes(e) ? e : n;
+function Foe(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...$k,
+ ...vA,
...t
};
- n.followInitialDays = Qk.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = _A.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 = Mk[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Dk(+n.batchSize, 1, 200, 60), n.defaultSort = eA(n.defaultSort, Ak, "seed"), n.hoverDelaySeconds = Dk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Dk(+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 = Dk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Dk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Dk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = eA(n.theme, Qoe, "system"), n.homeGlow = Xk(n.homeGlow), n.accent = Kk(n.accent), n.sidebarOrder = zl(n.sidebarOrder), {
+ let a = Xk[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Gk(+n.batchSize, 1, 200, 60), n.defaultSort = yA(n.defaultSort, Jk, "seed"), n.hoverDelaySeconds = Gk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Gk(+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 = Gk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Gk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Gk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = yA(n.theme, Noe, "system"), n.homeGlow = mA(n.homeGlow), n.accent = uA(n.accent), n.sidebarOrder = zl(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function tse(e) {
+function Ioe(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return ese(t);
+ return Foe(t);
}
-var tA = null;
-function nA() {
- if (tA) return tA;
- let { settings: e, migrated: t } = tse(localStorage);
- return tA = Boe(Zoe, e), t && tA.save(), tA;
+var bA = null;
+function xA() {
+ if (bA) return bA;
+ let { settings: e, migrated: t } = Ioe(localStorage);
+ return bA = Soe(gA, e), t && bA.save(), bA;
}
-function rA(e, t, n = nA()) {
+function SA(e, t, n = xA()) {
let r = n.value, i = e && e.followInitialDays;
- Qk.includes(i) && (r.followInitialDays = i, n.save());
- for (let t of $oe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ _A.includes(i) && (r.followInitialDays = i, n.save());
+ for (let t of Poe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let a = e && e.searchHistoryLimit;
- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Dk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== $k.searchHistoryLimit && nse(n);
+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Gk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== vA.searchHistoryLimit && Loe(n);
let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());
}
-function nse(e = nA()) {
+function Loe(e = xA()) {
return on("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var rse = [
+var Roe = [
[
"system",
"跟随系统",
@@ -30106,31 +30106,31 @@ var rse = [
"深色",
"moon"
]
-], ise = null, iA = () => ise ??= matchMedia("(prefers-color-scheme: dark)"), aA = null;
-function ase() {
- return aA || (aA = document.createElement("style"), aA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), aA.isConnected || document.head.append(aA), () => {
+], zoe = null, CA = () => zoe ??= matchMedia("(prefers-color-scheme: dark)"), wA = null;
+function Boe() {
+ return wA || (wA = document.createElement("style"), wA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), wA.isConnected || document.head.append(wA), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), aA?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), wA?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function oA(e = nA().value.theme) {
- let t = ase(), n = document.documentElement;
+function TA(e = xA().value.theme) {
+ let t = Boe(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && iA().matches;
+ let r = e === "dark" || e === "system" && CA().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 sA = !1;
-function ose() {
- sA || (sA = !0, iA().addEventListener("change", () => {
- nA().value.theme === "system" && oA();
+var EA = !1;
+function Voe() {
+ EA || (EA = !0, CA().addEventListener("change", () => {
+ xA().value.theme === "system" && TA();
}));
}
// src/appearance/layout.ts
-var cA = [[
+var DA = [[
"big",
"大图",
"maximize"
@@ -30138,7 +30138,7 @@ var cA = [[
"small",
"小图",
"layout-grid"
-]], lA = [[
+]], OA = [[
"big",
"大图",
"maximize"
@@ -30146,7 +30146,7 @@ var cA = [[
"small",
"小图",
"layout-grid"
-]], uA = [[
+]], kA = [[
"fixed",
"固定比例",
"layout-grid"
@@ -30154,127 +30154,127 @@ var cA = [[
"masonry",
"瀑布流",
"columns-2"
-]], dA = .75, fA = () => nA().value, pA = (e = fA()) => Na(e.javLayout), sse = (e = fA()) => Na(e.homeLayout), mA = (e, t = fA()) => e ? sse(t) : pA(t), hA = lA.map(([e]) => e), gA = uA.map(([e]) => e), _A = (e = fA()) => eA(e.photoSize, hA, "small"), vA = (e = fA()) => eA(e.photoLayout, gA, "masonry"), yA = null;
-function bA(e, t = fA()) {
+]], AA = .75, jA = () => xA().value, MA = (e = jA()) => Na(e.javLayout), Hoe = (e = jA()) => Na(e.homeLayout), NA = (e, t = jA()) => e ? Hoe(t) : MA(t), PA = OA.map(([e]) => e), FA = kA.map(([e]) => e), IA = (e = jA()) => yA(e.photoSize, PA, "small"), LA = (e = jA()) => yA(e.photoLayout, FA, "masonry"), RA = null;
+function zA(e, t = jA()) {
let n = {
active: e.active,
- size: mA(e.home, t),
+ size: NA(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = yA;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (yA = n), yA;
+ }, r = RA;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (RA = n), RA;
}
-function xA(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? dA : 16 / 9;
+function BA(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? AA : 16 / 9;
}
-function cse(e, t = nA()) {
+function Uoe(e, t = xA()) {
t.value.homeLayout = Na(e), t.save();
}
-function SA(e, t = nA()) {
+function VA(e, t = xA()) {
t.value.javLayout = Na(e), t.save();
}
-function lse(e, t = nA()) {
+function Woe(e, t = xA()) {
t.value.homeLayout = t.value.javLayout = Na(e), t.save();
}
-function use(e, t = nA()) {
- t.value.photoSize = eA(e, hA, "small"), t.save();
+function Goe(e, t = xA()) {
+ t.value.photoSize = yA(e, PA, "small"), t.save();
}
-function CA(e, t = nA()) {
- t.value.photoLayout = eA(e, gA, "masonry"), t.save();
+function HA(e, t = xA()) {
+ t.value.photoLayout = yA(e, FA, "masonry"), t.save();
}
// src/appearance/density.ts
-var wA = "density", TA = {
+var UA = "density", WA = {
big: "336px",
dense: "168px"
-}, EA = () => localStorage.getItem(wA) === "dense" ? "dense" : "big";
-function DA(e, t) {
- let [n, r] = lA;
+}, GA = () => localStorage.getItem(UA) === "dense" ? "dense" : "big";
+function KA(e, t) {
+ let [n, r] = OA;
if (e.querySelector("[data-icon-swap]")) Ds(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = Es(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- OA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ qA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function OA(e, t, n) {
+function qA(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var kA = () => document.querySelector("#density");
-function AA(e = EA()) {
+var JA = () => document.querySelector("#density");
+function YA(e = GA()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== TA[e] && t.style.setProperty("--tile", TA[e]), OA(document.body, "data-density", e);
- let n = kA();
- n && (OA(n, "aria-pressed", String(e === "dense")), OA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), DA(n, e === "big" ? "big" : "small"));
+ t.style.getPropertyValue("--tile") !== WA[e] && t.style.setProperty("--tile", WA[e]), qA(document.body, "data-density", e);
+ let n = JA();
+ n && (qA(n, "aria-pressed", String(e === "dense")), qA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), KA(n, e === "big" ? "big" : "small"));
}
-function dse() {
- let e = EA() === "big" ? "dense" : "big";
- localStorage.setItem(wA, e), AA(e);
+function Koe() {
+ let e = GA() === "big" ? "dense" : "big";
+ localStorage.setItem(UA, e), YA(e);
}
-function fse(e) {
- let t = kA();
- t && (OA(t, "aria-pressed", String(e === "small")), OA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), DA(t, e));
+function qoe(e) {
+ let t = JA();
+ t && (qA(t, "aria-pressed", String(e === "small")), qA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), KA(t, e));
}
// src/appearance/glow.ts
-function jA(e = nA()) {
- Yoe(document.querySelector(".glowlayer"), e.value.homeGlow);
+function XA(e = xA()) {
+ joe(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var MA = 0;
-function NA(e = nA()) {
- MA ||= requestAnimationFrame(() => {
- MA = 0, jA(e);
+var ZA = 0;
+function QA(e = xA()) {
+ ZA ||= requestAnimationFrame(() => {
+ ZA = 0, XA(e);
});
}
-function PA(e = nA()) {
- Xoe(document.documentElement, e.value.homeGlow);
+function $A(e = xA()) {
+ Moe(document.documentElement, e.value.homeGlow);
}
-function FA(e = nA()) {
+function ej(e = xA()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var IA = (e, t, n) => ({
+var tj = (e, t, n) => ({
key: e,
label: t,
- native: Vk(e),
- fill: Vk(e) ? "" : Joe(n)
+ native: aA(e),
+ fill: aA(e) ? "" : Aoe(n)
});
-function pse(e) {
- let t = Bk.map(([e, t, n]) => IA(e, t, Rk.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(IA("custom", "自定义", Rk.map((t) => e[t].color))), t;
+function Joe(e) {
+ let t = iA.map(([e, t, n]) => tj(e, t, nA.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(tj("custom", "自定义", nA.map((t) => e[t].color))), t;
}
-var mse = Wk;
-function hse(e, t = nA()) {
+var Yoe = cA;
+function Xoe(e, t = xA()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, Uk(e)), t.value.accent = Uoe(e), t.save(), NA(t), PA(t), FA(t);
+ n.preset = e, Object.assign(n, sA(e)), t.value.accent = Toe(e), t.save(), QA(t), $A(t), ej(t);
}
-function gse(e, t = nA()) {
- t.value.accent = Kk(e), t.save(), FA(t);
+function Zoe(e, t = xA()) {
+ t.value.accent = uA(e), t.save(), ej(t);
}
-function _se(e = nA()) {
+function Qoe(e = xA()) {
let t = e.value.homeGlow;
- t.preset = Yk.preset, Object.assign(t, Uk(t.preset)), e.value.accent = Gk, e.save(), NA(e), PA(e), FA(e);
+ t.preset = pA.preset, Object.assign(t, sA(t.preset)), e.value.accent = lA, e.save(), QA(e), $A(e), ej(e);
}
-function LA(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Vk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function nj(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && aA(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function vse(e, t = nA()) {
- return LA(e, t.value.homeGlow), t.subscribe(() => LA(e, t.value.homeGlow));
+function $oe(e, t = xA()) {
+ return nj(e, t.value.homeGlow), t.subscribe(() => nj(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function RA({ store: e, label: t, hidden: n }) {
+function rj({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: pse(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Joe(r).map((t) => /* @__PURE__ */ (0, F.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: () => hse(t.key, e),
+ onClick: () => Xoe(t.key, e),
children: /* @__PURE__ */ (0, F.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -30285,14 +30285,14 @@ function RA({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var zA = null;
-function yse(e) {
- zA = e;
+var ij = null;
+function ese(e) {
+ ij = e;
}
-function bse() {
- return zA ? /* @__PURE__ */ (0, F.jsx)(xse, { host: zA }) : null;
+function tse() {
+ return ij ? /* @__PURE__ */ (0, F.jsx)(nse, { host: ij }) : null;
}
-function xse({ host: e }) {
+function nse({ host: e }) {
let { store: t } = e;
(0, P.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -30304,11 +30304,11 @@ function xse({ host: e }) {
children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => _se(t),
+ onClick: () => Qoe(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, F.jsx)(RA, {
+ /* @__PURE__ */ (0, F.jsx)(rj, {
store: t,
label: "光晕",
hidden: !n.on
@@ -30322,14 +30322,14 @@ function xse({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: mse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Yoe.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => gse(e, t),
+ onClick: () => Zoe(e, t),
children: /* @__PURE__ */ (0, F.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -30347,31 +30347,31 @@ function xse({ host: e }) {
] });
}
// src/player/host.ts
-var BA = null;
-function Sse(e) {
- BA = e;
+var aj = null;
+function rse(e) {
+ aj = e;
}
-function VA() {
- if (!BA) throw Error("播放器还没有接上宿主(configurePlayer)");
- return BA;
+function oj() {
+ if (!aj) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return aj;
}
// src/player/menu.ts
-var HA = null;
-function Cse(e) {
- HA = e;
+var sj = null;
+function cj(e) {
+ sj = e;
}
-function wse() {
+function lj() {
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 UA = null, WA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function GA() {
+var uj = null, dj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function fj() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Uo(e, () => {
e.innerHTML = "";
- }), UA &&= (UA(), null);
+ }), uj &&= (uj(), null);
}
-async function Tse(e) {
+async function ise(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -30384,8 +30384,8 @@ async function Tse(e) {
return t.remove(), n;
}
}
-function Ese(e) {
- let t = !!HA?.inMiniplayer(e), n = e.peachItem, r = HA?.kind(e) ?? "item", i = (t) => {
+function ase(e) {
+ let t = !!sj?.inMiniplayer(e), n = e.peachItem, r = sj?.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);
@@ -30401,7 +30401,7 @@ function Ese(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Tse(i(e)).then((e) => VA().toast(e ? t : "复制失败,请手动复制地址栏", {
+ ise(i(e)).then((e) => oj().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -30413,11 +30413,11 @@ function Ese(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => HA?.expand()
+ run: () => sj?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => HA?.toMiniplayer()
+ run: () => sj?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -30440,29 +30440,29 @@ function Ese(e) {
run: () => s.click()
}), o;
}
-function Dse(e, t, n) {
- let r = wse();
- GA();
- let i = VA().stage();
+function ose(e, t, n) {
+ let r = lj();
+ fj();
+ let i = oj().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Ese(e);
+ let a = ase(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}">${WA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? WA(R("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${dj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? dj(R("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), Ho(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)];
- GA(), n?.run();
+ fj(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || GA();
+ r.contains(e.target) || fj();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), GA();
+ e.preventDefault(), e.stopPropagation(), fj();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -30470,49 +30470,49 @@ function Dse(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- Go(t, e.el()) && GA();
+ Go(t, e.el()) && fj();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), UA = () => {
+ }, 0), uj = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Ose(e) {
+function sse(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Dse(e, t.clientX, t.clientY));
- }), e.on("dispose", GA);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), ose(e, t.clientX, t.clientY));
+ }), e.on("dispose", fj);
}
// src/player/registry.ts
-var KA = null, qA = () => KA;
-function JA(e) {
- KA = e;
+var pj = null, mj = () => pj;
+function hj(e) {
+ pj = e;
}
-function YA(e) {
+function gj(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function XA(e) {
+function _j(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 kse(e) {
+function cse(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 ZA = 3e3;
-function QA(e, t) {
+var vj = 3e3;
+function yj(e, t) {
let n = Number(e) || 0, r = On(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Ase(e) {
+function lse(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -30527,10 +30527,10 @@ function Ase(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = kse(e), s = e.currentTime || 0;
+ let a = performance.now(), o = cse(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 > ZA * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > vj * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -30539,55 +30539,55 @@ function Ase(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > ZA;) t.shift();
+ }); t.length > 2 && a - t[0].at > vj;) 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 $A = 24;
-function ej(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > $A && e.splice(0, e.length - $A);
+var bj = 24;
+function xj(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > bj && e.splice(0, e.length - bj);
}
-var tj = "peach-player-panel";
-function nj(e, t, n, r) {
- let i = [...Array(Math.max(0, $A - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var Sj = "peach-player-panel";
+function Cj(e, t, n, r) {
+ let i = [...Array(Math.max(0, bj - 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="${z(r)}">${o}</span>`;
}
-function jse() {
+function use() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("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 rj(e, t = "") {
+function wj(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 ij(e, t = "") {
- let n = rj(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 Tj(e, t = "") {
+ let n = wj(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 aj(e, t, n = "", r = null) {
+function Ej(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.bandwidth?.()) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : ij(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : Tj(t, n);
}
-function oj(e) {
+function Dj(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 Mse(e, t) {
- return e > 0 ? oj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : oj(0);
+function dse(e, t) {
+ return e > 0 ? Dj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Dj(0);
}
// src/player/subtitle-style.ts
-var sj = {
+var Oj = {
font: {
label: "字体",
values: [
@@ -30690,7 +30690,7 @@ var sj = {
["shadow", "阴影"]
]
}
-}, cj = {
+}, kj = {
font: "sans",
size: "100",
color: "white",
@@ -30700,7 +30700,7 @@ var sj = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, lj = "peach.caption-style.v1", Nse = {
+}, Aj = "peach.caption-style.v1", fse = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -30709,7 +30709,7 @@ var sj = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, Pse = {
+}, pse = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -30717,28 +30717,28 @@ var sj = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, Fse = {
+}, mse = {
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 Ise() {
+function hse() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(lj) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(Aj) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(cj).map(([t, n]) => [t, sj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
+ return Object.fromEntries(Object.entries(kj).map(([t, n]) => [t, Oj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
}
-function uj(e, t, n, r) {
- let i = Ise(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
+function jj(e, t, n, r) {
+ let i = hse(), 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(${Nse[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", Pse[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", Fse[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${fse[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", pse[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", mse[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 || [])) {
@@ -30754,15 +30754,15 @@ function uj(e, t, n, r) {
if (!n.aborted) {
if (e.caption_style) {
let t = {
- ...cj,
+ ...kj,
...e.caption_style
};
- for (let e of Object.keys(cj)) a.has(e) || (i[e] = t[e]);
+ for (let e of Object.keys(kj)) a.has(e) || (i[e] = t[e]);
c();
} else {
let e = !1;
try {
- e = !!localStorage.getItem(lj);
+ e = !!localStorage.getItem(Aj);
} catch {}
e && !a.size && r.save({ caption_style: i }).catch(() => {});
}
@@ -30770,18 +30770,18 @@ function uj(e, t, n, r) {
}), {
current: () => i,
set(e, t) {
- sj[e].values.some(([e]) => e === t) && (a.add(e), i = {
+ Oj[e].values.some(([e]) => e === t) && (a.add(e), i = {
...i,
[e]: t
}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));
},
reset() {
- Object.keys(cj).forEach((e) => a.add(e)), i = { ...cj }, c(), r?.save({ caption_style: i }).catch(() => {});
+ Object.keys(kj).forEach((e) => a.add(e)), i = { ...kj }, c(), r?.save({ caption_style: i }).catch(() => {});
}
};
}
// src/player/memory.ts
-var dj = /* @__PURE__ */ new Map(), fj = /* @__PURE__ */ new WeakMap(), Lse = class {
+var Mj = /* @__PURE__ */ new Map(), Nj = /* @__PURE__ */ new WeakMap(), gse = class {
cleanup = new AbortController();
reading;
listeners = /* @__PURE__ */ new Set();
@@ -30809,7 +30809,7 @@ var dj = /* @__PURE__ */ new Map(), fj = /* @__PURE__ */ new WeakMap(), Lse = cl
}
load() {
return this.url ? this.reading ||= (async () => {
- await dj.get(this.url)?.catch(() => {});
+ await Mj.get(this.url)?.catch(() => {});
let e = await on(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) => {
@@ -30821,7 +30821,7 @@ var dj = /* @__PURE__ */ new Map(), fj = /* @__PURE__ */ new WeakMap(), Lse = cl
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (dj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (Mj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = {
...this.unsaved,
...e,
@@ -30848,8 +30848,8 @@ var dj = /* @__PURE__ */ new Map(), fj = /* @__PURE__ */ new WeakMap(), Lse = cl
this.changed();
}
});
- return dj.set(this.url, t), t.finally(() => {
- dj.get(this.url) === t && dj.delete(this.url);
+ return Mj.set(this.url, t), t.finally(() => {
+ Mj.get(this.url) === t && Mj.delete(this.url);
}).catch(() => {}), t;
}
async retry() {
@@ -30858,12 +30858,12 @@ var dj = /* @__PURE__ */ new Map(), fj = /* @__PURE__ */ new WeakMap(), Lse = cl
} catch {}
}
};
-function pj(e) {
- let t = fj.get(e);
- return t || (t = new Lse(e), fj.set(e, t)), t;
+function Pj(e) {
+ let t = Nj.get(e);
+ return t || (t = new gse(e), Nj.set(e, t)), t;
}
-function mj(e, t) {
- let n = pj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
+function Fj(e, t) {
+ let n = Pj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);
};
return n.restore((t) => {
@@ -30876,7 +30876,7 @@ function mj(e, t) {
};
}
// src/player/subtitle-memory.ts
-var hj = class {
+var Ij = class {
player;
video;
changed;
@@ -30887,7 +30887,7 @@ var hj = class {
ready;
error = "";
constructor(e, t, n = () => {}) {
- this.player = e, this.video = t, this.changed = n, this.memory = pj(e);
+ this.player = e, this.video = t, this.changed = n, this.memory = Pj(e);
let r = this.cleanup.signal;
t.textTracks.addEventListener("addtrack", () => {
this.apply(), this.changed();
@@ -30984,7 +30984,7 @@ var hj = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, gj = () => "<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>", Rse = class {
+}, Lj = () => "<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>", _se = class {
player;
video;
panels;
@@ -31003,7 +31003,7 @@ var hj = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = uj(e.el(), t, this.cleanup.signal, pj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = gj(), this.cc.onclick = () => {
+ this.player = e, this.video = t, this.panels = n, this.styles = jj(e.el(), t, this.cleanup.signal, Pj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Lj(), 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", () => {
@@ -31013,7 +31013,7 @@ var hj = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new hj(e, t, () => {
+ }), this.session = new Ij(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -31061,7 +31061,7 @@ var hj = 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(sj).map(([e, n]) => {
+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(Oj).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>${z(n.label)}</span><b>${z(r)}</b>${R("player-menu-next")}</button>`;
}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);
@@ -31073,7 +31073,7 @@ var hj = class {
}
styleOptions(e) {
this.page = "style";
- let t = sj[e];
+ let t = Oj[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="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;
@@ -31189,7 +31189,7 @@ var hj = class {
}
};
// src/player/timeline.ts
-function zse(e, t) {
+function vse(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;
@@ -31201,8 +31201,8 @@ function zse(e, t) {
return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;
}
// src/player/rotation.ts
-function _j(e, t) {
- let n = 0, r = !1, i = pj(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
+function Rj(e, t) {
+ let n = 0, r = !1, i = Pj(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
"width",
"height",
"inset",
@@ -31230,7 +31230,7 @@ function _j(e, t) {
};
}
// src/player/pip.ts
-function Bse(e, t, n, r) {
+function yse(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";
@@ -31262,7 +31262,7 @@ function Bse(e, t, n, r) {
});
}
// src/player/controls.ts
-function vj(e, t, n = "") {
+function zj(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));
@@ -31273,27 +31273,27 @@ function vj(e, t, n = "") {
};
return o(), o;
}
-function yj(e, t) {
+function Bj(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Vse(e, t = !0) {
- let n = VA(), r = n.settings();
+function bse(e, t = !0) {
+ let n = oj(), 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 bj = /* @__PURE__ */ new WeakMap();
-function xj(e) {
+var Vj = /* @__PURE__ */ new WeakMap();
+function Hj(e) {
if (!e) return;
- let t = VA().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), bj.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = oj().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Vj.get(e)?.(t ? "默认视图" : "影院模式");
}
-function Sj(e, t = !0) {
- let n = VA(), r = n.settings();
+function Uj(e, t = !0) {
+ let n = oj(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), xj(i?.querySelector("[data-player-theater]")), YA(qA());
+ i?.toggleAttribute("data-theater", r.theaterMode), Hj(i?.querySelector("[data-player-theater]")), gj(mj());
}
-function Hse(e) {
- let t = VA().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function xse(e) {
+ let t = oj().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -31316,9 +31316,9 @@ function Hse(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (VA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (oj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && VA().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && oj().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -31327,7 +31327,7 @@ function Hse(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function Cj(e, t, n = 0, r = null) {
+function Wj(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");
@@ -31337,8 +31337,8 @@ function Cj(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]");
- vj(s, "设置");
- let l = a.querySelector(".vjs-peach-settings-menu"), u = _j(e, t), d = mj(e, t), f = pj(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
+ zj(s, "设置");
+ let l = a.querySelector(".vjs-peach-settings-menu"), u = Rj(e, t), d = Fj(e, t), f = Pj(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 = () => {
@@ -31377,11 +31377,11 @@ function Cj(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(tj, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(Sj, { detail: "settings" }));
}, S = () => x(!1), C = (e) => {
e.detail !== "settings" && S();
};
- document.addEventListener(tj, C);
+ document.addEventListener(Sj, 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;
@@ -31397,15 +31397,15 @@ function Cj(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="${VA().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="${oj().settings().ambientMode}">
${R("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>${R("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${R("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">${gj()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("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">${Lj()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(t.label)}</b>${R("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 = () => {
- Vse(!VA().settings().ambientMode), k();
+ bse(!oj().settings().ambientMode), k();
}, D(r, "[data-player-speed]").onclick = () => ne(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => re(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {
f.retry();
}, A();
@@ -31509,8 +31509,8 @@ function Cj(e, t, n = 0, r = null) {
A(), ie();
});
return e.on("dispose", () => {
- F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(tj, C), w && clearTimeout(w);
- }), p = new Rse(e, t, {
+ F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(Sj, C), w && clearTimeout(w);
+ }), p = new _se(e, t, {
render: E,
open: () => {
O = "subtitles", x(!0);
@@ -31519,21 +31519,21 @@ function Cj(e, t, n = 0, r = null) {
back: () => {
p?.hide(), k(-1);
}
- }), y(), Use(e, a), Wse(e), (e) => {
+ }), y(), Sse(e, a), Cse(e), (e) => {
h = e?.length ? e : null, ie();
};
}
-function Use(e, t) {
+function Sse(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = VA().settings().theaterMode, i = document.createElement("div");
+ let r = oj().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- bj.set(a, vj(a, "影院模式", "T")), xj(a), a.onclick = (e) => {
- e.stopPropagation(), Sj(!VA().settings().theaterMode);
+ Vj.set(a, zj(a, "影院模式", "T")), Hj(a), a.onclick = (e) => {
+ e.stopPropagation(), Uj(!oj().settings().theaterMode);
};
}
-function Wse(e) {
+function Cse(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");
@@ -31545,7 +31545,7 @@ function Wse(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 = vj(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 = zj(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 ? "播放" : "暂停");
};
@@ -31556,7 +31556,7 @@ function Wse(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 = vj(p, "静音", "M"), g = () => {
+ let h = zj(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 ? "取消静音" : "静音");
};
@@ -31582,7 +31582,7 @@ function Wse(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 = vj(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = zj(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = An(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : An(t)} / ${An(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${An(n)};点击显示已播放时间` : `已播放 ${An(t)},总时长 ${An(n)};点击显示剩余时间`);
};
@@ -31594,10 +31594,10 @@ function Wse(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- vj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Bse(e, E, vj(E, "画中画"), (e) => VA().toast(e, { warn: !0 }));
- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = vj(D, "全屏", "F"), A = () => {
+ zj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), yse(e, E, zj(E, "画中画"), (e) => oj().toast(e, { warn: !0 }));
+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = zj(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 ? "退出全屏" : "全屏"), YA(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), gj(e);
};
e.on([
"fullscreenchange",
@@ -31618,7 +31618,7 @@ function Wse(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);
- let te = ee.querySelector("button"), ne = vj(te, "展开控件"), N = (t) => {
+ let te = ee.querySelector("button"), ne = zj(te, "展开控件"), N = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -31630,7 +31630,7 @@ function Wse(e) {
}, ie = new ResizeObserver(re);
ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), N(!1), re();
}
-function wj(e, t, n = {}) {
+function Gj(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");
@@ -31641,7 +31641,7 @@ function wj(e, t, n = {}) {
}).catch(() => {});
let f = (e, n, r, i) => {
if (!t) return;
- let a = n.columns || 10, o = a * (n.rows || 10), s = zse(e, n);
+ let a = n.columns || 10, o = a * (n.rows || 10), s = vse(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;
@@ -31666,13 +31666,13 @@ function wj(e, t, n = {}) {
r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);
});
}
-function Gse(e, t) {
+function wse(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => On(e.duration()) || On(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(VA().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(oj().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -31713,11 +31713,11 @@ function Gse(e, t) {
} catch {}
});
}
-function Tj(e) {
+function Kj(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 Ej(e, t) {
+function qj(e, t) {
on(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -31733,35 +31733,35 @@ function Ej(e, t) {
}).catch(() => {});
}
// src/player/progress.ts
-var Dj = "peach.playback-position.v1", Oj = /* @__PURE__ */ new WeakMap();
-function kj(e) {
- Oj.get(e)?.(), Oj.delete(e);
+var Jj = "peach.playback-position.v1", Yj = /* @__PURE__ */ new WeakMap();
+function Xj(e) {
+ Yj.get(e)?.(), Yj.delete(e);
}
-function Aj(e, t, n = null) {
+function Zj(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 Kse(e) {
+function Tse(e) {
try {
- let t = localStorage.getItem(`${Dj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${Jj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function qse(e, t) {
- let n = Kse(e);
+function Ese(e, t) {
+ let n = Tse(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * On(t.duration) : 0;
}
-function Jse(e, t) {
- kj(t);
+function Dse(e, t) {
+ Xj(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(`${Dj}:${e}`, String(r));
+ localStorage.setItem(`${Jj}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -31775,7 +31775,7 @@ function Jse(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Oj.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Yj.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -31787,19 +31787,19 @@ function Jse(e, t) {
});
}
// src/player/telemetry.ts
-var jj = /* @__PURE__ */ new WeakMap();
-function Mj(e) {
- jj.get(e)?.(), jj.delete(e);
+var Qj = /* @__PURE__ */ new WeakMap();
+function $j(e) {
+ Qj.get(e)?.(), Qj.delete(e);
}
-function Nj(e, t, n, r) {
+function eM(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), jj.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Qj.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 Pj(e, t, n = {}) {
+function tM(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 = On(e.duration) || On(t.duration);
@@ -31840,11 +31840,11 @@ function Pj(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, Nj(t, l, u, () => {
+ }, eM(t, l, u, () => {
a++;
}), c();
}
-function Yse(e, t) {
+function Ose(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = On(e.duration) || On(t.duration);
(r || n) && (on("/api/follow/activity", {
@@ -31875,22 +31875,22 @@ function Yse(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, Nj(t, o, s, () => {});
+ }, eM(t, o, s, () => {});
}
// src/player/dispose.ts
-function Fj(e) {
+function nM(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (kj(t), Mj(t));
+ t && (Xj(t), $j(t));
try {
e.dispose();
} catch {}
}
// src/core/random-id.ts
-function Ij() {
+function rM() {
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;
@@ -31898,23 +31898,23 @@ function Ij() {
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 Lj() {
- return Ij();
+function iM() {
+ return rM();
}
-function Rj(e, t) {
+function aM(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function Xse(e) {
+function kse(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function zj(e, t) {
- let n = Xse(e);
+async function oM(e, t) {
+ let n = kse(e);
if (n) return n;
try {
let n = await on(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -31923,9 +31923,9 @@ async function zj(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return Rj(e, t);
+ return aM(e, t);
}
-function Bj(e) {
+function sM(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -31934,22 +31934,22 @@ function Bj(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var Vj = "";
-function Hj() {
- return Vj;
+var cM = "";
+function lM() {
+ return cM;
}
-function Uj() {
- return Vj ||= Lj(), Vj;
+function uM() {
+ return cM ||= iM(), cM;
}
-var Zse = (e) => Rj(e, Uj()), Qse = (e) => zj(e, Uj());
-function Wj() {
- let e = Vj;
- e && (Vj = "", Bj(e));
+var Ase = (e) => aM(e, uM()), jse = (e) => oM(e, uM());
+function dM() {
+ let e = cM;
+ e && (cM = "", sM(e));
}
// src/player/v10-player.ts
-var Gj = (e) => typeof e == "string" ? [e] : e, $se = (e, t) => {
+var fM = (e) => typeof e == "string" ? [e] : e, Mse = (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-${Ij()}`, n.setAttribute("lang", "zh-CN");
+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${rM()}`, 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 = {
@@ -32044,9 +32044,9 @@ var Gj = (e) => typeof e == "string" ? [e] : e, $se = (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) => Gj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => Gj(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => Gj(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => fM(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -32101,7 +32101,7 @@ var Gj = (e) => typeof e == "string" ? [e] : e, $se = (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);
}
};
-}, ece = "/vendor/videojs/10.2.0/", tce = [
+}, Nse = "/vendor/videojs/10.2.0/", Pse = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -32119,17 +32119,17 @@ var Gj = (e) => typeof e == "string" ? [e] : e, $se = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], Kj = null;
-function qj() {
- return Kj ??= Promise.all(tce.map((e) => import(
+], pM = null;
+function mM() {
+ return pM ??= Promise.all(Pse.map((e) => import(
/* @vite-ignore */
- `${ece}${e}`
-))).then(() => $se).catch((e) => {
- throw Kj = null, e;
- }), Kj;
+ `${Nse}${e}`
+))).then(() => Mse).catch((e) => {
+ throw pM = null, e;
+ }), pM;
}
// src/player/immerse-player.ts
-var nce = {
+var Fse = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -32141,38 +32141,38 @@ var nce = {
errorDisplay: !1,
textTrackSettings: !1
};
-function rce(e, t) {
+function Ise(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([zj(n, r), qj().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([oM(n, r), mM().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = Rj(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = aM(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, nce);
- i = t, t.peachItem = n, t.peachPlaybackKey = Aj("item", n);
+ let t = s(e, Fse);
+ i = t, t.peachItem = n, t.peachPlaybackKey = Zj("item", n);
let r = new AbortController();
- uj(t.el(), e, r.signal, pj(t)), _j(t, e), mj(t, e), t.on("dispose", () => r.abort()), new hj(t, e), Ej(t, n.id), l && t.one("error", () => {
+ jj(t.el(), e, r.signal, Pj(t)), Rj(t, e), Fj(t, e), t.on("dispose", () => r.abort()), new Ij(t, e), qj(t, n.id), l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- Pj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ tM(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, Bj(r), i ? Fj(i) : (e.pause(), Mj(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, sM(r), i ? nM(i) : (e.pause(), $j(e), e.removeAttribute("src"), e.load()));
};
}
// src/player/detail-player.ts
-var Jj = /* @__PURE__ */ new WeakMap(), Yj = null, Xj = null, Zj = null;
-function Qj() {
- Yj &&= (clearInterval(Yj), null), Xj &&= (clearInterval(Xj), null), Zj &&= (clearTimeout(Zj), null);
+var hM = /* @__PURE__ */ new WeakMap(), gM = null, _M = null, vM = null;
+function yM() {
+ gM &&= (clearInterval(gM), null), _M &&= (clearInterval(_M), null), vM &&= (clearTimeout(vM), null);
}
-async function ice(e, t, n, r = {}) {
- let i = qA();
+async function bM(e, t, n, r = {}) {
+ let i = mj();
if (i && !i.isDisposed()) return i;
- let a = VA(), o = r.resume ?? null;
+ let a = oj(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : Qse(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : jse(e), c;
try {
- c = await qj();
+ c = await mM();
} catch {
return t.controls = !0, s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -32198,7 +32198,7 @@ async function ice(e, t, n, r = {}) {
} }
}
});
- JA(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Aj("item", e), Ose(l), l.on("loadedmetadata", () => {
+ hj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Zj("item", e), sse(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}`);
});
@@ -32206,7 +32206,7 @@ async function ice(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Ase(QA(f, e.duration)), m = 0, h = !1, g = () => qA() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = lse(yj(f, e.duration)), m = 0, h = !1, g = () => mj() === 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(() => {
@@ -32217,15 +32217,15 @@ async function ice(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- Jj.set(l, y), y.updateStats = () => {
+ hM.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 = Hj(), h = s ? rj(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 = lM(), h = s ? wj(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 = aj(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 = Ej(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 = XA(t);
- ej(d.speed, x), ej(d.activity, C), ej(d.buffer, w);
+ let w = _j(t);
+ xj(d.speed, x), xj(d.activity, C), xj(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} 请求`,
@@ -32243,17 +32243,17 @@ async function ice(e, t, n, r = {}) {
[
"连接速度",
D,
- nj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ Cj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- nj(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ Cj(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- nj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ Cj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${An(t.currentTime)} / ${An(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -32269,15 +32269,15 @@ async function ice(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = aj(l, e.id, Hj(), r ? null : p), a = r ? oj(i) : Mse(i, XA(t));
+ let i = Ej(l, e.id, lM(), r ? null : p), a = r ? Dj(i) : dse(i, _j(t));
n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), Xj && clearInterval(Xj), Xj = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), _M && clearInterval(_M), _M = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (Zj && clearTimeout(Zj), Zj = setTimeout(() => {
- e.hidden = !0, Xj &&= (clearInterval(Xj), null);
+ e && (vM && clearTimeout(vM), vM = setTimeout(() => {
+ e.hidden = !0, _M &&= (clearInterval(_M), null);
}, 1400));
};
return l.on([
@@ -32288,7 +32288,7 @@ async function ice(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Zse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Ase(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))}`
@@ -32296,13 +32296,13 @@ async function ice(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Cj(l, t, e.height, r.qualities ?? null);
+ let n = Wj(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 = QA(r, e.duration));
- }).catch(() => {}), wj(l, e, { thumbnail: !r.source }), Gse(l, e), Tj(l), r.source || Ej(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = yj(r, e.duration));
+ }).catch(() => {}), Gj(l, e, { thumbnail: !r.source }), wse(l, e), Kj(l), r.source || qj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -32311,14 +32311,14 @@ async function ice(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var ace = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function $j(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", ace), e.querySelector(":scope > #playerStatsBtn")) return;
+var xM = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function SM(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xM), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = jse(), e.insertBefore(n.content, t);
+ n.innerHTML = use(), e.insertBefore(n.content, t);
}
-function eM(e, t) {
- let n = Jj.get(e);
+function CM(e, t) {
+ let n = hM.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -32330,29 +32330,29 @@ function eM(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), Yj &&= (clearInterval(Yj), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), gM &&= (clearInterval(gM), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(tj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), Yj && clearInterval(Yj), Yj = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(Sj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), gM && clearInterval(gM), gM = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(tj, t), s = () => document.removeEventListener(tj, t);
+ document.addEventListener(Sj, t), s = () => document.removeEventListener(Sj, t);
}
- let c = e.el().querySelector("video"), l = c ? Hse(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Qj()));
+ let c = e.el().querySelector("video"), l = c ? xse(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, yM()));
};
return e.one("dispose", d), d;
}
-function tM(e, t) {
- if (t.kind === "immerse") return rce(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = VA(), c = t.chrome === !1 ? null : e.parentElement;
- c && $j(c, e);
- let l = Aj(n, r, i?.index ?? null), u = {
+function wM(e, t) {
+ if (t.kind === "immerse") return Ise(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = oj(), c = t.chrome === !1 ? null : e.parentElement;
+ c && SM(c, e);
+ let l = Zj(n, r, i?.index ?? null), u = {
playbackKey: l,
resume: t.resume ?? {
- time: qse(l, r),
+ time: Ese(l, r),
autoplay: !1
}
};
@@ -32372,36 +32372,36 @@ function tM(e, t) {
t && (e.poster = t);
}
let d = null, f = !1, p = () => {}, m = e, h = () => {
- p(), !(d && a?.(d)) && (kj(m), d ? (qA() === d && (JA(null), Qj()), Fj(d)) : Mj(m));
+ p(), !(d && a?.(d)) && (Xj(m), d ? (mj() === d && (hj(null), yM()), nM(d)) : $j(m));
};
- return ice(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Jse(l, m), n === "follow" ? Yse(r, m) : (m.addEventListener("play", () => {
+ return bM(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Dse(l, m), n === "follow" ? Ose(r, m) : (m.addEventListener("play", () => {
on("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), Pj(r, m, {
+ }, { once: !0 }), tM(r, m, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (c && (p = eM(t, c)), o?.(t)) : o?.(null));
+ })), t ? (c && (p = CM(t, c)), o?.(t)) : o?.(null));
}), () => {
f = !0, h();
};
}
// src/player/playback.ts
-function nM(e) {
+function TM(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function rM(e, t) {
+function EM(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 oce(e, t, n) {
+function DM(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return qj().then((a) => {
+ return mM().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -32426,56 +32426,56 @@ function oce(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (Cj(o, e), wj(o, null, { thumbnail: !1 }), Tj(o));
+ r || o.isDisposed() || (Wj(o, e), Gj(o, null, { thumbnail: !1 }), Kj(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, Fj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, nM(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
// src/react/catalog-grid/catalog-view.ts
-var iM = "peach.catalog-view.v1", aM = /* @__PURE__ */ new Set(), oM = "cards";
-function sM() {
+var OM = "peach.catalog-view.v1", kM = /* @__PURE__ */ new Set(), AM = "cards";
+function jM() {
try {
- return localStorage.getItem(iM) === "list" ? "list" : "cards";
+ return localStorage.getItem(OM) === "list" ? "list" : "cards";
} catch {
- return oM;
+ return AM;
}
}
-function sce(e) {
- oM = e === "list" ? "list" : "cards";
+function MM(e) {
+ AM = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(iM, oM);
+ localStorage.setItem(OM, AM);
} catch {}
- aM.forEach((e) => e());
+ kM.forEach((e) => e());
}
-function cce(e) {
- aM.add(e);
+function NM(e) {
+ kM.add(e);
let t = (t) => {
- (t.key === iM || t.key === null) && e();
+ (t.key === OM || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- aM.delete(e), removeEventListener("storage", t);
+ kM.delete(e), removeEventListener("storage", t);
};
}
-var cM = () => (0, P.useSyncExternalStore)(cce, sM, () => "cards");
-function lM(e, t) {
+var PM = () => (0, P.useSyncExternalStore)(NM, jM, () => "cards");
+function FM(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var lce = (e, t) => [
+var IM = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], uce = (e, t) => [
+], LM = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function dce(e, t, n, r, i) {
+async function RM(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 B(`/api/items?${a}`, i), s = {
@@ -32485,22 +32485,22 @@ async function dce(e, t, n, r, i) {
};
return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var fce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, pce = (e, t) => {
+var zM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, BM = (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 uM(e) {
- let t = lM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function VM(e) {
+ let t = FM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: lce(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => dce(t, e, n, r, i),
+ queryKey: IM(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => RM(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: fce(n)
+ getNextPageParam: zM(n)
};
}
-function mce(e) {
+function HM(e) {
return {
- queryKey: uce(e.entityKey || "", e.revision || 0),
+ queryKey: LM(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -32515,12 +32515,12 @@ function mce(e) {
};
},
initialPageParam: 0,
- getNextPageParam: pce
+ getNextPageParam: BM
};
}
-async function hce(e, t) {
- if (e.mode !== "catalog" || e.wall || sM() === "list") return;
- let n = uM(e);
+async function UM(e, t) {
+ if (e.mode !== "catalog" || e.wall || jM() === "list") return;
+ let n = VM(e);
await H.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -32529,11 +32529,11 @@ async function hce(e, t) {
})
});
}
-function gce(e) {
+function WM(e) {
let t = JSON.stringify(e);
return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function dM(e, t, n) {
+function GM(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -32548,24 +32548,24 @@ function dM(e, t, n) {
return !0;
}) : [...e];
}
-var fM = (e, t) => !!e && !!Ia(e, t);
-function _ce(e, t) {
- let n = (e) => fM(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) => fM(e, t)) || e[e.length - 1];
+var KM = (e, t) => !!e && !!Ia(e, t);
+function Lse(e, t) {
+ let n = (e) => KM(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) => KM(e, t)) || e[e.length - 1];
}
-function vce(e, { collapse: t, mix: n, javImage: r }) {
+function Rse(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 = dM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = GM(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 = _ce(e, r);
+ let t = Lse(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -32578,16 +32578,16 @@ function vce(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function yce(e, t, n) {
+function zse(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 bce(e, t) {
+function Bse(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 xce(e, t) {
+function Vse(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -32600,10 +32600,10 @@ function xce(e, t) {
strip: null
}), r;
}
-function pM(e, t) {
- mM((t) => t.id === e, t);
+function qM(e, t) {
+ JM((t) => t.id === e, t);
}
-function mM(e, t) {
+function JM(e, t) {
H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {
...n,
items: n.items.map((n) => e(n) ? {
@@ -32624,34 +32624,34 @@ function mM(e, t) {
} : n)
});
}
-var hM = (e) => Math.min(Math.max(e || 0, 0), 100), gM = (e) => Math.round(hM(e) / 20), Sce = (e) => {
- let t = gM(e);
+var YM = (e) => Math.min(Math.max(e || 0, 0), 100), XM = (e) => Math.round(YM(e) / 20), Hse = (e) => {
+ let t = XM(e);
return t ? `${t} 星` : "未评分";
-}, _M = (e, t) => t === gM(e) ? 0 : t * 20, vM = (e) => ["item", e], yM = (e) => [
+}, ZM = (e, t) => t === XM(e) ? 0 : t * 20, QM = (e) => ["item", e], $M = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Cce = (e, t) => [
+], Use = (e, t) => [
"item-related",
e,
t
-], wce = (e) => `/api/item?id=${e}`, Tce = (e, t) => `/api/related?id=${e}&limit=${t}`, bM = "/api/playlist", xM = "/api/feedback", SM = "/api/item-tag", CM = "/api/watch-later", wM = "/api/quality-goal", TM = "/api/preference", EM = class extends Error {};
-async function DM(e, t) {
- let n = await B(wce(e), t);
- if (n.error) throw new EM(n.error);
+], Wse = (e) => `/api/item?id=${e}`, Gse = (e, t) => `/api/related?id=${e}&limit=${t}`, eN = "/api/playlist", tN = "/api/feedback", nN = "/api/item-tag", rN = "/api/watch-later", iN = "/api/quality-goal", aN = "/api/preference", oN = class extends Error {};
+async function sN(e, t) {
+ let n = await B(Wse(e), t);
+ if (n.error) throw new oN(n.error);
return n;
}
-async function OM(e, t, n) {
+async function cN(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([DM(r, n), t.mixRelated(r)]);
- return H.setQueryData(vM(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([sN(r, n), t.mixRelated(r)]);
+ return H.setQueryData(QM(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${po(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return kM(await B(`${bM}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return lN(await B(`${eN}?id=${e.playlistId}`, n));
let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -32662,19 +32662,19 @@ async function OM(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var kM = (e) => ({
+var lN = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), AM = (e) => e.disposal === "vanished";
-function jM(e, t) {
+}), uN = (e) => e.disposal === "vanished";
+function dN(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !AM(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !uN(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 Ece(e, t) {
+function Kse(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 : {
@@ -32682,20 +32682,20 @@ function Ece(e, t) {
part_label: n
};
}
-function MM(e, t) {
+function fN(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 NM(e, t) {
+async function pN(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = yM(n);
+ let o = $M(n);
try {
let r = n.fresh ? void 0 : H.getQueryData(o);
a = !r && n.kind === "mix", i = r || await H.fetchQuery({
queryKey: o,
- queryFn: () => OM(n, e.helpers, t),
+ queryFn: () => cN(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -32707,21 +32707,21 @@ async function NM(e, t) {
return;
}
}
- let o = i ? jM(i, e.id) : e.id;
+ let o = i ? dN(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 ? H.getQueryData(vM(o)) : void 0;
+ let s, c = a && o === i?.seedId ? H.getQueryData(QM(o)) : void 0;
try {
s = c || await H.fetchQuery({
- queryKey: vM(o),
- queryFn: () => DM(o, t),
+ queryKey: QM(o),
+ queryFn: () => sN(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof EM) {
+ if (e instanceof oN) {
r.redirect({ kind: "gone" });
return;
}
@@ -32732,7 +32732,7 @@ async function NM(e, t) {
id: Number(s.follow_item_id)
});
}
-function Dce(e) {
+function qse(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = wn(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -32754,35 +32754,35 @@ function Dce(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function Oce(e, t) {
+function Jse(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = wn(t.tagLabel(e.k)), i = n.get(r);
(!i || wn(e.k) === r && wn(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var PM = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), FM = (e, t) => ({
+var mN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), hN = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => wn(e.k) !== wn(t))
-}), IM = (e, t) => PM(e, t.k) ? e : {
+}), gN = (e, t) => mN(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, LM = "peach.recentTags";
-function RM() {
+}, _N = "peach.recentTags";
+function vN() {
try {
- let e = JSON.parse(localStorage.getItem(LM) || "[]");
+ let e = JSON.parse(localStorage.getItem(_N) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function zM(e) {
+function yN(e) {
try {
- let t = RM().filter((t) => wn(t) !== wn(e));
- localStorage.setItem(LM, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = vN().filter((t) => wn(t) !== wn(e));
+ localStorage.setItem(_N, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function kce(e, t, n) {
+function Yse(e, t, n) {
let r = wn(e), i = new Map(t.map((e) => [wn(e.k), e])), a = t.filter((e) => !r || wn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(wn(e)) || {
k: e,
n: 0
@@ -32793,72 +32793,72 @@ function kce(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Ace = {
+var Xse = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, jce = {
+}, Zse = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Mce(e) {
+function Qse(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: jce[e.kind],
+ title: Zse[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var BM = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Nce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(BM(e.part_label))}</small>` : "";
-function Pce(e, t, n, r) {
+var bN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, $se = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(bN(e.part_label))}</small>` : "";
+function ece(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Fce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Ice(e, t) {
+var tce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function nce(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 Lce(e) {
+function rce(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 VM(e, t) {
+function xN(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
// src/react/immerse/immerse.ts
-var Rce = (e, t, n) => [
+var ice = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function zce(e) {
+function ace(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 Bce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function Vce(e, t = Math.random) {
+var oce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function sce(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 Hce(e, t) {
- return Vce(((await B(`/api/items?${e}`)).items || []).filter((e) => Bce(e, t)));
+async function cce(e, t) {
+ return sce(((await B(`/api/items?${e}`)).items || []).filter((e) => oce(e, t)));
}
-var HM = (e) => H.ensureQueryData({
- queryKey: vM(e),
- queryFn: ({ signal: t }) => DM(e, t)
+var SN = (e) => H.ensureQueryData({
+ queryKey: QM(e),
+ queryFn: ({ signal: t }) => sN(e, t)
});
-function Uce(e, t) {
+function lce(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Wce(e) {
+function uce(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,
@@ -32867,306 +32867,306 @@ function Wce(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function Gce(e, t, n) {
+function dce(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 Kce(e, t) {
+function fce(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 qce = 15e3, UM = {
+var pce = 15e3, CN = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, WM = null, GM = null, KM = UM, qM = /* @__PURE__ */ new Set(), JM = 0, YM = 0, XM = 0, ZM = "", QM = [], $M = 0, eN = !1, tN = !1, nN = null, rN = /* @__PURE__ */ new Set(), iN = "", aN = null, oN = 0, sN = null, cN = !1;
-function lN() {
- if (!WM) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return WM;
+}, wN = null, TN = null, EN = CN, DN = /* @__PURE__ */ new Set(), ON = 0, kN = 0, AN = 0, jN = "", MN = [], NN = 0, PN = !1, FN = !1, IN = null, LN = /* @__PURE__ */ new Set(), RN = "", zN = null, BN = 0, VN = null, HN = !1;
+function UN() {
+ if (!wN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return wN;
}
-function Jce(e) {
- return qM.add(e), () => {
- qM.delete(e);
+function mce(e) {
+ return DN.add(e), () => {
+ DN.delete(e);
};
}
-function Yce() {
- for (let e of [...qM]) e();
+function hce() {
+ for (let e of [...DN]) e();
}
-function uN() {
- (0, Lt.flushSync)(Yce);
+function WN() {
+ (0, Lt.flushSync)(hce);
}
-function dN() {
- let e = aN ? ij(aN.id) : 0;
- return e ? `${iN} · ${oj(e)}` : iN;
+function GN() {
+ let e = zN ? Tj(zN.id) : 0;
+ return e ? `${RN} · ${Dj(e)}` : RN;
}
-function fN(e, t = null) {
- clearInterval(oN), oN = 0, e === null ? (KM = {
- ...KM,
+function KN(e, t = null) {
+ clearInterval(BN), BN = 0, e === null ? (EN = {
+ ...EN,
loading: null
- }, uN()) : (iN = e, aN = t, KM = {
- ...KM,
- loading: dN()
- }, uN(), oN = window.setInterval(() => {
- aN = QM[$M] ?? null, KM = {
- ...KM,
- loading: dN()
- }, uN();
+ }, WN()) : (RN = e, zN = t, EN = {
+ ...EN,
+ loading: GN()
+ }, WN(), BN = window.setInterval(() => {
+ zN = MN[NN] ?? null, EN = {
+ ...EN,
+ loading: GN()
+ }, WN();
}, 500));
}
-function Xce(e) {
+function gce(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), GM.track.append(t);
- let r = Lj(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), TN.track.append(t);
+ let r = iM(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => Bj(r),
+ release: () => sM(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return rN.add(a), a;
+ return LN.add(a), a;
}
-function Zce(e, t) {
+function _ce(e, t) {
return new Promise((n) => {
- e.release = tM(e.video, {
+ e.release = wM(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- KM.open && yN(1);
+ EN.open && $N(1);
}
}), e.gone.then(n);
});
}
-function pN(e) {
- e && !e.disposed && (e.disposed = !0, rN.delete(e), e.leave(), e.release(), e.el.remove(), nN === e && (nN = null));
+function qN(e) {
+ e && !e.disposed && (e.disposed = !0, LN.delete(e), e.leave(), e.release(), e.el.remove(), IN === e && (IN = null));
}
-var mN = [
+var JN = [
"loadeddata",
"canplay",
"error"
];
-function Qce(e) {
+function vce(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), mN.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), JN.forEach((e) => t.removeEventListener(e, i)), n());
};
- mN.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, qce);
+ JN.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, pce);
e.gone.then(i);
});
}
-function hN(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Gce(e.videoWidth, e.videoHeight, n);
+function YN(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = dce(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var gN = () => GM?.track.querySelectorAll("video").forEach(hN);
-function $ce(e) {
- delete e.dataset.fit, e.readyState >= 1 ? hN(e) : e.addEventListener("loadedmetadata", () => hN(e), { once: !0 });
+var XN = () => TN?.track.querySelectorAll("video").forEach(YN);
+function yce(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? YN(e) : e.addEventListener("loadedmetadata", () => YN(e), { once: !0 });
}
-function ele(e) {
- KM = {
- ...KM,
+function bce(e) {
+ EN = {
+ ...EN,
wide: e
- }, uN(), gN();
+ }, WN(), XN();
}
-var _N = () => {
- let e = ZM;
+var ZN = () => {
+ let e = jN;
return H.fetchQuery({
- queryKey: Rce(e, YM, XM),
- queryFn: () => Hce(e, lN().sourceOffline),
+ queryKey: ice(e, kN, AN),
+ queryFn: () => cce(e, UN().sourceOffline),
staleTime: Infinity
});
};
-function tle(e, t) {
+function xce(e, t) {
let n = () => On(e.duration) || On(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && GM && (GM.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), sN = {
+ t && TN && (TN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), VN = {
video: e,
duration: n
};
}
-async function vN(e = 0) {
- let t = QM[$M];
- if (!t || eN) return;
- let n = JM;
- lN().route(t.id), eN = !0, fN(e ? "切换中" : "加载中", t);
+async function QN(e = 0) {
+ let t = MN[NN];
+ if (!t || PN) return;
+ let n = ON;
+ UN().route(t.id), PN = !0, KN(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await HM(t.id).catch((e) => {
- if (!(e instanceof EM)) throw e;
- }), n !== JM) return;
- let i = nN, a = !!(e && i);
- a || pN(i);
- let o = Xce(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, $ce(o.video), await Zce(o, t), await Qce(o), o.disposed || (ele(Kce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await SN(t.id).catch((e) => {
+ if (!(e instanceof oN)) throw e;
+ }), n !== ON) return;
+ let i = IN, a = !!(e && i);
+ a || qN(i);
+ let o = gce(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, yce(o.video), await _ce(o, t), await vce(o), o.disposed || (bce(fce(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)), pN(i), o.el.style.transform = ""), o.disposed)) return;
- nN = o, r = null, o.video.play()?.catch(() => {}), KM = {
- ...KM,
+ })), await new Promise((e) => setTimeout(e, 210)), qN(i), o.el.style.transform = ""), o.disposed)) return;
+ IN = o, r = null, o.video.play()?.catch(() => {}), EN = {
+ ...EN,
idle: !1,
shown: {
item: t,
- index: $M,
- length: QM.length
+ index: NN,
+ length: MN.length
}
- }, tle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), fN(null);
+ }, xce(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), KN(null);
} catch {
- pN(r), n === JM && fN(null);
+ qN(r), n === ON && KN(null);
} finally {
- n === JM && (eN = !1);
+ n === ON && (PN = !1);
}
}
-async function yN(e) {
- if (eN || !KM.open) return;
- let t = JM;
- if ($M += e, fN("切换中", QM[$M] ?? null), $M >= QM.length - 3 && !tN) {
- tN = !0;
+async function $N(e) {
+ if (PN || !EN.open) return;
+ let t = ON;
+ if (NN += e, KN("切换中", MN[NN] ?? null), NN >= MN.length - 3 && !FN) {
+ FN = !0;
try {
- XM += 1;
- let e = await _N();
- t === JM && (QM = Uce(QM, e));
+ AN += 1;
+ let e = await ZN();
+ t === ON && (MN = lce(MN, e));
} catch {} finally {
- tN = !1;
+ FN = !1;
}
}
- t === JM && ($M >= QM.length && ($M = 0), $M < 0 && ($M = QM.length - 1), await vN(e));
+ t === ON && (NN >= MN.length && (NN = 0), NN < 0 && (NN = MN.length - 1), await QN(e));
}
-async function nle(e) {
- let t = ++JM;
- bN(), YM += 1, XM = 0, ZM = zce(lN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), KM = {
- ...KM,
+async function Sce(e) {
+ let t = ++ON;
+ eP(), kN += 1, AN = 0, jN = ace(UN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), EN = {
+ ...EN,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), fN("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), KN("加载内容");
try {
- let n = await _N();
+ let n = await ZN();
if (e && !n.some((t) => t.id === e)) {
- let t = await HM(e).catch((e) => {
- if (e instanceof EM) return null;
+ let t = await SN(e).catch((e) => {
+ if (e instanceof oN) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== JM) return;
- if (QM = n, !QM.length) {
- xN(), lN().warn("当前筛选下没有可直接播放的内容");
+ if (t !== ON) return;
+ if (MN = n, !MN.length) {
+ tP(), UN().warn("当前筛选下没有可直接播放的内容");
return;
}
- $M = Math.max(0, QM.findIndex((t) => t.id === e)), await vN();
+ NN = Math.max(0, MN.findIndex((t) => t.id === e)), await QN();
} catch {
- if (t !== JM) return;
- fN(null), xN();
+ if (t !== ON) return;
+ KN(null), tP();
}
}
-function bN() {
- clearInterval(oN), oN = 0, DN(), TN = null, sN = null, cN = !1, [...rN].forEach(pN), eN = !1;
+function eP() {
+ clearInterval(BN), BN = 0, sP(), aP = null, VN = null, HN = !1, [...LN].forEach(qN), PN = !1;
}
-function xN() {
- KM.open && (JM++, bN(), KM = UM, document.body.removeAttribute("data-immerse-open"), uN(), lN().closed());
+function tP() {
+ EN.open && (ON++, eP(), EN = CN, document.body.removeAttribute("data-immerse-open"), WN(), UN().closed());
}
-var SN = 0, CN = null, wN = 0, TN = null, EN = 0;
-function DN() {
- clearTimeout(SN), SN = 0, CN = null;
+var nP = 0, rP = null, iP = 0, aP = null, oP = 0;
+function sP() {
+ clearTimeout(nP), nP = 0, rP = null;
}
-function rle(e) {
- let t = nN?.video;
+function Cce(e) {
+ let t = IN?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- CN && CN.side === n && r - CN.at <= 280 ? (DN(), rM(t, lN().seekSeconds() * n)) : (SN && (clearTimeout(SN), SN = 0, nM(t)), CN = {
+ rP && rP.side === n && r - rP.at <= 280 ? (sP(), EM(t, UN().seekSeconds() * n)) : (nP && (clearTimeout(nP), nP = 0, TM(t)), rP = {
side: n,
at: r
- }, SN = window.setTimeout(() => {
- SN = 0, CN = null, KM.open && nM(nN?.video);
+ }, nP = window.setTimeout(() => {
+ nP = 0, rP = null, EN.open && TM(IN?.video);
}, 280));
}
-function ile() {
- Date.now() < wN || nM(nN?.video);
+function wce() {
+ Date.now() < iP || TM(IN?.video);
}
-var ON = (e) => GM?.bar.toggleAttribute("data-scrubbing", e);
-function kN(e) {
- GM && (GM.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var cP = (e) => TN?.bar.toggleAttribute("data-scrubbing", e);
+function lP(e) {
+ TN && (TN.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function AN(e) {
+function uP(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- TN = null;
+ aP = null;
return;
}
- let n = nN?.video;
- TN = {
+ let n = IN?.video;
+ aP = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function jN(e) {
- if (!TN || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - TN.x, n = e.touches[0].clientY - TN.y;
- if (!TN.axis) {
+function dP(e) {
+ if (!aP || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - aP.x, n = e.touches[0].clientY - aP.y;
+ if (!aP.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- TN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", TN.axis === "x" && ON(!0);
+ aP.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", aP.axis === "x" && cP(!0);
}
- if (TN.axis !== "x") return;
- let r = nN?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), TN.to = Math.min(i, Math.max(0, TN.from + t / window.innerWidth * i)), kN(TN.to / i));
+ if (aP.axis !== "x") return;
+ let r = IN?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), aP.to = Math.min(i, Math.max(0, aP.from + t / window.innerWidth * i)), lP(aP.to / i));
}
-function MN(e) {
- if (!TN) return;
- let t = TN;
- if (TN = null, wN = Date.now() + 700, ON(!1), t.axis === "x") {
- let e = nN?.video;
+function fP(e) {
+ if (!aP) return;
+ let t = aP;
+ if (aP = null, iP = Date.now() + 700, cP(!1), t.axis === "x") {
+ let e = IN?.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 ? (DN(), yN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), rle(n.clientX));
+ Math.abs(i) > 60 ? (sP(), $N(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Cce(n.clientX));
}
-function NN() {
- TN = null, ON(!1);
+function pP() {
+ aP = null, cP(!1);
}
-function PN(e) {
+function mP(e) {
let t = Date.now();
- t - EN < 260 || (EN = t, yN(e.deltaY > 0 ? 1 : -1));
+ t - oP < 260 || (oP = t, $N(e.deltaY > 0 ? 1 : -1));
}
-function FN(e) {
- let t = GM.bar.getBoundingClientRect();
+function hP(e) {
+ let t = TN.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function IN(e) {
- sN?.duration() && (cN = !0, ON(!0), e.currentTarget.setPointerCapture(e.pointerId), kN(FN(e)), e.preventDefault());
+function Tce(e) {
+ VN?.duration() && (HN = !0, cP(!0), e.currentTarget.setPointerCapture(e.pointerId), lP(hP(e)), e.preventDefault());
}
-function LN(e) {
- cN && kN(FN(e));
+function Ece(e) {
+ HN && lP(hP(e));
}
-function RN(e) {
- if (!cN) return;
- cN = !1, ON(!1);
- let t = sN?.duration();
- sN && t && (sN.video.currentTime = t * FN(e));
+function Dce(e) {
+ if (!HN) return;
+ HN = !1, cP(!1);
+ let t = VN?.duration();
+ VN && t && (VN.video.currentTime = t * hP(e));
}
-function zN() {
- cN = !1, ON(!1);
+function Oce() {
+ HN = !1, cP(!1);
}
-async function BN(e, t) {
- let n = await V(xM, {
+async function gP(e, t) {
+ let n = await V(tN, {
id: e,
kind: t
- }), r = H.getQueryData(vM(e));
- if (!r) return pM(e, {
+ }), r = H.getQueryData(QM(e));
+ if (!r) return qM(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -33175,7 +33175,7 @@ async function BN(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return H.setQueryData(vM(e), i), pM(e, {
+ return H.setQueryData(QM(e), i), qM(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -33183,7 +33183,7 @@ async function BN(e, t) {
o_count: i.o_count
}), n;
}
-var VN = [
+var kce = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -33200,31 +33200,31 @@ var VN = [
label: "记一次高潮"
}
];
-function HN(e) {
+function _P(e) {
return Pt({
- queryKey: vM(e ?? 0),
- queryFn: ({ signal: t }) => DM(e, t),
+ queryKey: QM(e ?? 0),
+ queryFn: ({ signal: t }) => sN(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function UN({ kind: e, glyph: t, label: n, id: r }) {
- let i = HN(r), a = Ft({
+function Ace({ kind: e, glyph: t, label: n, id: r }) {
+ let i = _P(r), a = Ft({
mutationFn: async (t) => {
- let n = H.getQueryData(vM(t))?.feedback || null;
+ let n = H.getQueryData(QM(t))?.feedback || null;
return {
- result: await BN(t, e),
+ result: await gP(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- lN().toast(VM(e, t), { undo: async () => {
- e === "o" ? await BN(r, "o-undo") : (t.feedback && await BN(r, t.feedback), n && await BN(r, n));
+ UN().toast(xN(e, t), { undo: async () => {
+ e === "o" ? await gP(r, "o-undo") : (t.feedback && await gP(r, t.feedback), n && await gP(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- yN(1);
+ $N(1);
}, 260);
},
- onError: (e) => lN().failure("更新反馈", e)
+ onError: (e) => UN().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-immerse-action": "",
@@ -33255,11 +33255,11 @@ function UN({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function WN({ shown: e }) {
- let t = e?.item ?? null, n = HN(t?.id ?? null), r = n ? Wce(n) : null, i = lN(), a = (e) => {
- e.preventDefault(), n && (xN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function jce({ shown: e }) {
+ let t = e?.item ?? null, n = _P(t?.id ?? null), r = n ? uce(n) : null, i = UN(), a = (e) => {
+ e.preventDefault(), n && (tP(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (xN(), i.openItem(t.id));
+ t && (tP(), i.openItem(t.id));
}, s = r ? Za(r.name, r.ref, Ma(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-immerse-ui": "",
@@ -33288,18 +33288,18 @@ function WN({ shown: e }) {
})]
});
}
-var GN = { __html: bs("媒体加载中") };
-function KN({ view: e }) {
+var Mce = { __html: bs("媒体加载中") };
+function Nce({ view: e }) {
let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null);
(0, P.useLayoutEffect)(() => {
let e = t.current;
- return GM = {
+ return TN = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", AN, { passive: !0 }), e.addEventListener("touchmove", jN, { passive: !1 }), e.addEventListener("touchend", MN, { passive: !1 }), e.addEventListener("touchcancel", NN, { passive: !0 }), e.addEventListener("wheel", PN, { passive: !0 }), () => {
- e.removeEventListener("touchstart", AN), e.removeEventListener("touchmove", jN), e.removeEventListener("touchend", MN), e.removeEventListener("touchcancel", NN), e.removeEventListener("wheel", PN), GM = null;
+ }, e.addEventListener("touchstart", uP, { passive: !0 }), e.addEventListener("touchmove", dP, { passive: !1 }), e.addEventListener("touchend", fP, { passive: !1 }), e.addEventListener("touchcancel", pP, { passive: !0 }), e.addEventListener("wheel", mP, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", uP), e.removeEventListener("touchmove", dP), e.removeEventListener("touchend", fP), e.removeEventListener("touchcancel", pP), e.removeEventListener("wheel", mP), TN = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -33316,10 +33316,10 @@ function KN({ view: e }) {
children: [/* @__PURE__ */ (0, F.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: ile
+ onClick: wce
}), /* @__PURE__ */ (0, F.jsx)("div", {
"data-immerse-actions": "",
- children: VN.map((e) => /* @__PURE__ */ (0, F.jsx)(UN, {
+ children: kce.map((e) => /* @__PURE__ */ (0, F.jsx)(Ace, {
...e,
id: a
}, e.kind))
@@ -33332,7 +33332,7 @@ function KN({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: GN
+ dangerouslySetInnerHTML: Mce
}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -33340,7 +33340,7 @@ function KN({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: xN,
+ onClick: tP,
children: /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-x" })
@@ -33349,88 +33349,88 @@ function KN({ view: e }) {
/* @__PURE__ */ (0, F.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: IN,
- onPointerMove: LN,
- onPointerUp: RN,
- onPointerCancel: zN,
+ onPointerDown: Tce,
+ onPointerMove: Ece,
+ onPointerUp: Dce,
+ onPointerCancel: Oce,
children: /* @__PURE__ */ (0, F.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, F.jsx)(WN, { shown: e.shown })
+ /* @__PURE__ */ (0, F.jsx)(jce, { shown: e.shown })
]
});
}
-var qN = {
- open: nle,
- close: xN,
- isOpen: () => KM.open,
- activeVideo: () => KM.open ? nN?.video ?? null : null
+var Pce = {
+ open: Sce,
+ close: tP,
+ isOpen: () => EN.open,
+ activeVideo: () => EN.open ? IN?.video ?? null : null
};
-function JN(e) {
- if (!KM.open) return;
+function Fce(e) {
+ if (!EN.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && yN(1), e.key === "ArrowUp" && yN(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && $N(1), e.key === "ArrowUp" && $N(-1));
}
-function YN(e) {
- let t = !WM;
- return WM = e, t && (document.addEventListener("keydown", JN), addEventListener("resize", () => {
- KM.open && gN();
+function Ice(e) {
+ let t = !wN;
+ return wN = e, t && (document.addEventListener("keydown", Fce), addEventListener("resize", () => {
+ EN.open && XN();
}), addEventListener("pagehide", () => {
- rN.forEach((e) => Bj(e.session));
- })), qN;
+ LN.forEach((e) => sM(e.session));
+ })), Pce;
}
-function XN() {
- let e = (0, P.useSyncExternalStore)(Jce, () => KM);
- return WM ? /* @__PURE__ */ (0, F.jsx)(KN, { view: e }) : null;
+function Lce() {
+ let e = (0, P.useSyncExternalStore)(mce, () => EN);
+ return wN ? /* @__PURE__ */ (0, F.jsx)(Nce, { view: e }) : null;
}
// src/manage-header.ts
-var ZN = {
+var vP = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, QN = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function $N(e) {
- let t = ZN[e.path] ? "cleanup" : e.section;
+}, Rce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function zce(e) {
+ let t = vP[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var eP = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function tP(e) {
+var Bce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function yP(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = ZN[e.path] ?? "";
+ let n = vP[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: $N(e),
+ pressed: zce(e),
crumb: n,
- compact: QN.has(e.path) || e.section === "configuration",
+ compact: Rce.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: eP(e.trash),
+ text: Bce(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var nP = (e) => e.replace(/[&<>"']/g, (e) => ({
+var bP = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), rP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${nP(e)}"/></svg>`, iP = "<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 aP(e) {
- let t = tP(e);
+})[e]), xP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${bP(e)}"/></svg>`, SP = "<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 Vce(e) {
+ let t = yP(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${nP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${rP(r)}<span>${nP(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${rP("chevron-right")}</li><li aria-current="true"><span>${nP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? iP : `<span data-lede-text="">${nP(t.lede.text)}</span>${t.lede.total ? oP : ""}`}</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=\"\"" : ""}>${nP(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${bP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${xP(r)}<span>${bP(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${xP("chevron-right")}</li><li aria-current="true"><span>${bP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? SP : `<span data-lede-text="">${bP(t.lede.text)}</span>${t.lede.total ? Hce : ""}`}</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=\"\"" : ""}>${bP(t.title)}</h2>` + i;
}
-var oP = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Hce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
// src/react/settings-panel/icon.tsx
-function sP({ name: e }) {
+function CP({ name: e }) {
let { wide: t, viewBox: n } = rn(e);
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: n,
@@ -33439,7 +33439,7 @@ function sP({ name: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function cP({ name: e }) {
+function Uce({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -33447,88 +33447,88 @@ function cP({ name: e }) {
});
}
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var lP = (e, t) => {
+var Wce = (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;
-}, uP = (e, t) => ({
+}, Gce = (e, t) => ({
classGroupId: e,
validator: t
-}), dP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), wP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), fP = "-", pP = [], mP = "arbitrary..", hP = (e) => {
- let t = vP(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), TP = "-", EP = [], Kce = "arbitrary..", qce = (e) => {
+ let t = Yce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return _P(e);
- let n = e.split(fP);
- return gP(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Jce(e);
+ let n = e.split(TP);
+ return DP(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? lP(i, t) : t : i || pP;
+ return t ? i ? Wce(i, t) : t : i || EP;
}
- return n[e] || pP;
+ return n[e] || EP;
}
};
-}, gP = (e, t, n) => {
+}, DP = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = gP(e, t + 1, i);
+ let n = DP(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(fP) : e.slice(t).join(fP), s = a.length;
+ let o = t === 0 ? e.join(TP) : e.slice(t).join(TP), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, _P = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Jce = (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 ? mP + r : void 0;
-})(), vP = (e) => {
+ return r ? Kce + r : void 0;
+})(), Yce = (e) => {
let { theme: t, classGroups: n } = e;
- return yP(n, t);
-}, yP = (e, t) => {
- let n = dP();
+ return Xce(n, t);
+}, Xce = (e, t) => {
+ let n = wP();
for (let r in e) {
let i = e[r];
- bP(i, n, r, t);
+ OP(i, n, r, t);
}
return n;
-}, bP = (e, t, n, r) => {
+}, OP = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- xP(i, t, n, r);
+ Zce(i, t, n, r);
}
-}, xP = (e, t, n, r) => {
- typeof e == "string" ? SP(e, t, n) : typeof e == "function" ? CP(e, t, n, r) : wP(e, t, n, r);
-}, SP = (e, t, n) => {
- let r = e === "" ? t : TP(t, e);
+}, Zce = (e, t, n, r) => {
+ typeof e == "string" ? Qce(e, t, n) : typeof e == "function" ? $ce(e, t, n, r) : ele(e, t, n, r);
+}, Qce = (e, t, n) => {
+ let r = e === "" ? t : kP(t, e);
r.classGroupId = n;
-}, CP = (e, t, n, r) => {
- EP(e) ? bP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(uP(n, e)));
-}, wP = (e, t, n, r) => {
+}, $ce = (e, t, n, r) => {
+ tle(e) ? OP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Gce(n, e)));
+}, ele = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- bP(o, TP(t, a), n, r);
+ OP(o, kP(t, a), n, r);
}
-}, TP = (e, t) => {
- let n = e, r = t.split(fP), i = r.length;
+}, kP = (e, t) => {
+ let n = e, r = t.split(TP), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = dP(), n.nextPart.set(t, i)), n = i;
+ i || (i = wP(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, EP = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, DP = (e) => {
+}, tle = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, nle = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -33546,19 +33546,19 @@ var lP = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, OP = "!", kP = ":", AP = [], jP = (e, t, n, r, i) => ({
+}, AP = "!", jP = ":", rle = [], MP = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), MP = (e) => {
+}), ile = (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 === kP) {
+ if (o === jP) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -33570,13 +33570,13 @@ var lP = (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(OP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(OP) && (c = s.slice(1), l = !0);
+ s.endsWith(AP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(AP) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return jP(t, l, c, u);
+ return MP(t, l, c, u);
};
if (t) {
- let e = t + kP, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : jP(AP, !1, t, void 0, !0);
+ let e = t + jP, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : MP(rle, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -33586,7 +33586,7 @@ var lP = (e, t) => {
});
}
return r;
-}, NP = (e) => {
+}, ale = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -33598,18 +33598,18 @@ var lP = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, PP = (e) => ({
- cache: DP(e.cacheSize),
- parseClassName: MP(e),
- sortModifiers: NP(e),
- postfixLookupClassGroupIds: FP(e),
- ...hP(e)
-}), FP = (e) => {
+}, ole = (e) => ({
+ cache: nle(e.cacheSize),
+ parseClassName: ile(e),
+ sortModifiers: ale(e),
+ postfixLookupClassGroupIds: sle(e),
+ ...qce(e)
+}), sle = (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;
-}, IP = /\s+/, LP = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(IP), l = "";
+}, cle = /\s+/, lle = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(cle), 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) {
@@ -33629,7 +33629,7 @@ var lP = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + OP : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + AP : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -33640,34 +33640,34 @@ var lP = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, RP = (...e) => {
+}, ule = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = zP(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = NP(n)) && (i && (i += " "), i += r);
return i;
-}, zP = (e) => {
+}, NP = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = zP(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = NP(e[r])) && (n && (n += " "), n += t);
return n;
-}, BP = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = PP(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, PP = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = ole(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 = LP(e, n);
+ let a = lle(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(RP(...e));
-}, VP = [], HP = (e) => {
- let t = (t) => t[e] || VP;
+ return a = o, (...e) => a(ule(...e));
+}, dle = [], FP = (e) => {
+ let t = (t) => t[e] || dle;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, UP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, WP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, GP = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, KP = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qP = /\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$/, JP = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, YP = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, XP = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ZP = (e) => GP.test(e), QP = (e) => !!e && !Number.isNaN(Number(e)), $P = (e) => !!e && Number.isInteger(Number(e)), eF = (e) => e.endsWith("%") && QP(e.slice(0, -1)), tF = (e) => KP.test(e), nF = () => !0, ale = (e) => qP.test(e) && !JP.test(e), rF = () => !1, ole = (e) => YP.test(e), sle = (e) => XP.test(e), cle = (e) => !iF(e) && !lF(e), lle = (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)), ule = (e) => pF(e, _F, rF), iF = (e) => UP.test(e), aF = (e) => pF(e, vF, ale), oF = (e) => pF(e, vle, QP), dle = (e) => pF(e, bF, nF), fle = (e) => pF(e, yF, rF), sF = (e) => pF(e, hF, rF), ple = (e) => pF(e, gF, sle), cF = (e) => pF(e, xF, ole), lF = (e) => WP.test(e), uF = (e) => mF(e, vF), mle = (e) => mF(e, yF), dF = (e) => mF(e, hF), hle = (e) => mF(e, _F), gle = (e) => mF(e, gF), fF = (e) => mF(e, xF, !0), _le = (e) => mF(e, bF, !0), pF = (e, t, n) => {
- let r = UP.exec(e);
+}, IP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, LP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ple = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, mle = /\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$/, hle = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, gle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _le = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, RP = (e) => fle.test(e), zP = (e) => !!e && !Number.isNaN(Number(e)), BP = (e) => !!e && Number.isInteger(Number(e)), VP = (e) => e.endsWith("%") && zP(e.slice(0, -1)), HP = (e) => ple.test(e), UP = () => !0, vle = (e) => mle.test(e) && !hle.test(e), WP = () => !1, yle = (e) => gle.test(e), ble = (e) => _le.test(e), xle = (e) => !GP(e) && !XP(e), Sle = (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)), Cle = (e) => eF(e, iF, WP), GP = (e) => IP.test(e), KP = (e) => eF(e, aF, vle), qP = (e) => eF(e, jle, zP), wle = (e) => eF(e, sF, UP), Tle = (e) => eF(e, oF, WP), JP = (e) => eF(e, nF, WP), Ele = (e) => eF(e, rF, ble), YP = (e) => eF(e, cF, yle), XP = (e) => LP.test(e), ZP = (e) => tF(e, aF), Dle = (e) => tF(e, oF), QP = (e) => tF(e, nF), Ole = (e) => tF(e, iF), kle = (e) => tF(e, rF), $P = (e) => tF(e, cF, !0), Ale = (e) => tF(e, sF, !0), eF = (e, t, n) => {
+ let r = IP.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, mF = (e, t, n = !1) => {
- let r = WP.exec(e);
+}, tF = (e, t, n = !1) => {
+ let r = LP.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, hF = (e) => e === "position" || e === "percentage", gF = (e) => e === "image" || e === "url", _F = (e) => e === "length" || e === "size" || e === "bg-size", vF = (e) => e === "length", vle = (e) => e === "number", yF = (e) => e === "family-name", bF = (e) => e === "number" || e === "weight", xF = (e) => e === "shadow", SF = () => {
- let e = HP("color"), t = HP("font"), n = HP("text"), r = HP("font-weight"), i = HP("tracking"), a = HP("leading"), o = HP("breakpoint"), s = HP("container"), c = HP("spacing"), l = HP("radius"), u = HP("shadow"), d = HP("inset-shadow"), f = HP("text-shadow"), p = HP("drop-shadow"), m = HP("blur"), h = HP("perspective"), g = HP("aspect"), _ = HP("ease"), v = HP("animate"), y = () => [
+}, nF = (e) => e === "position" || e === "percentage", rF = (e) => e === "image" || e === "url", iF = (e) => e === "length" || e === "size" || e === "bg-size", aF = (e) => e === "length", jle = (e) => e === "number", oF = (e) => e === "family-name", sF = (e) => e === "number" || e === "weight", cF = (e) => e === "shadow", lF = () => {
+ let e = FP("color"), t = FP("font"), n = FP("text"), r = FP("font-weight"), i = FP("tracking"), a = FP("leading"), o = FP("breakpoint"), s = FP("container"), c = FP("spacing"), l = FP("radius"), u = FP("shadow"), d = FP("inset-shadow"), f = FP("text-shadow"), p = FP("drop-shadow"), m = FP("blur"), h = FP("perspective"), g = FP("aspect"), _ = FP("ease"), v = FP("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -33692,8 +33692,8 @@ var lP = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- lF,
- iF
+ XP,
+ GP
], S = () => [
"auto",
"hidden",
@@ -33705,43 +33705,43 @@ var lP = (e, t) => {
"contain",
"none"
], w = () => [
- lF,
- iF,
+ XP,
+ GP,
c
], T = () => [
- ZP,
+ RP,
"full",
"auto",
...w()
], E = () => [
- $P,
+ BP,
"none",
"subgrid",
- lF,
- iF
+ XP,
+ GP
], D = () => [
"auto",
{ span: [
"full",
- $P,
- lF,
- iF
+ BP,
+ XP,
+ GP
] },
- $P,
- lF,
- iF
+ BP,
+ XP,
+ GP
], O = () => [
- $P,
+ BP,
"auto",
- lF,
- iF
+ XP,
+ GP
], k = () => [
"auto",
"min",
"max",
"fr",
- lF,
- iF
+ XP,
+ GP
], A = () => [
"start",
"end",
@@ -33761,7 +33761,7 @@ var lP = (e, t) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], ee = () => [
- ZP,
+ RP,
"auto",
"full",
"dvw",
@@ -33776,7 +33776,7 @@ var lP = (e, t) => {
...w()
], te = () => [
s,
- ZP,
+ RP,
"screen",
"full",
"dvw",
@@ -33787,7 +33787,7 @@ var lP = (e, t) => {
"fit",
...w()
], ne = () => [
- ZP,
+ RP,
"screen",
"full",
"lh",
@@ -33800,13 +33800,13 @@ var lP = (e, t) => {
...w()
], N = () => [
e,
- lF,
- iF
+ XP,
+ GP
], re = () => [
...b(),
- dF,
- sF,
- { position: [lF, iF] }
+ QP,
+ JP,
+ { position: [XP, GP] }
], ie = () => ["no-repeat", { repeat: [
"",
"x",
@@ -33817,25 +33817,25 @@ var lP = (e, t) => {
"auto",
"cover",
"contain",
- hle,
- ule,
- { size: [lF, iF] }
+ Ole,
+ Cle,
+ { size: [XP, GP] }
], F = () => [
- eF,
- uF,
- aF
+ VP,
+ ZP,
+ KP
], ae = () => [
"",
"none",
"full",
l,
- lF,
- iF
+ XP,
+ GP
], oe = () => [
"",
- QP,
- uF,
- aF
+ zP,
+ ZP,
+ KP
], se = () => [
"solid",
"dashed",
@@ -33859,32 +33859,32 @@ var lP = (e, t) => {
"color",
"luminosity"
], le = () => [
+ zP,
+ VP,
QP,
- eF,
- dF,
- sF
+ JP
], ue = () => [
"",
"none",
m,
- lF,
- iF
+ XP,
+ GP
], de = () => [
"none",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
], fe = () => [
"none",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
], pe = () => [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
], me = () => [
- ZP,
+ RP,
"full",
...w()
];
@@ -33898,17 +33898,17 @@ var lP = (e, t) => {
"bounce"
],
aspect: ["video"],
- blur: [tF],
- breakpoint: [tF],
- color: [nF],
- container: [tF],
- "drop-shadow": [tF],
+ blur: [HP],
+ breakpoint: [HP],
+ color: [UP],
+ container: [HP],
+ "drop-shadow": [HP],
ease: [
"in",
"out",
"in-out"
],
- font: [cle],
+ font: [xle],
"font-weight": [
"thin",
"extralight",
@@ -33920,7 +33920,7 @@ var lP = (e, t) => {
"extrabold",
"black"
],
- "inset-shadow": [tF],
+ "inset-shadow": [HP],
leading: [
"none",
"tight",
@@ -33937,11 +33937,11 @@ var lP = (e, t) => {
"distant",
"none"
],
- radius: [tF],
- shadow: [tF],
- spacing: ["px", QP],
- text: [tF],
- "text-shadow": [tF],
+ radius: [HP],
+ shadow: [HP],
+ spacing: ["px", zP],
+ text: [HP],
+ "text-shadow": [HP],
tracking: [
"tighter",
"tight",
@@ -33955,9 +33955,9 @@ var lP = (e, t) => {
aspect: [{ aspect: [
"auto",
"square",
- ZP,
- iF,
- lF,
+ RP,
+ GP,
+ XP,
g
] }],
container: ["container"],
@@ -33965,15 +33965,15 @@ var lP = (e, t) => {
"",
"normal",
"size",
- lF,
- iF
+ XP,
+ GP
] }],
- "container-named": [lle],
+ "container-named": [Sle],
columns: [{ columns: [
- QP,
+ zP,
"auto",
- iF,
- lF,
+ GP,
+ XP,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -34070,13 +34070,13 @@ var lP = (e, t) => {
"collapse"
],
z: [{ z: [
- $P,
+ BP,
"auto",
- lF,
- iF
+ XP,
+ GP
] }],
basis: [{ basis: [
- ZP,
+ RP,
"full",
"auto",
s,
@@ -34094,32 +34094,32 @@ var lP = (e, t) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- QP,
- ZP,
+ zP,
+ RP,
"auto",
"initial",
"none",
- iF
+ GP
] }],
grow: [{ grow: [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
shrink: [{ shrink: [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
order: [{ order: [
- $P,
+ BP,
"first",
"last",
"none",
- lF,
- iF
+ XP,
+ GP
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -34226,15 +34226,15 @@ var lP = (e, t) => {
"font-size": [{ text: [
"base",
n,
- uF,
- aF
+ ZP,
+ KP
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- _le,
- dle
+ Ale,
+ wle
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -34246,15 +34246,15 @@ var lP = (e, t) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- eF,
- iF
+ VP,
+ GP
] }],
"font-family": [{ font: [
- mle,
- fle,
+ Dle,
+ Tle,
t
] }],
- "font-features": [{ "font-features": [iF] }],
+ "font-features": [{ "font-features": [GP] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -34263,14 +34263,14 @@ var lP = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- lF,
- iF
+ XP,
+ GP
] }],
"line-clamp": [{ "line-clamp": [
- QP,
+ zP,
"none",
- lF,
- oF
+ XP,
+ qP
] }],
leading: [{ leading: [
"none",
@@ -34279,16 +34279,16 @@ var lP = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- lF,
- iF
+ XP,
+ GP
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- lF,
- iF
+ XP,
+ GP
] }],
"text-alignment": [{ text: [
"left",
@@ -34308,18 +34308,18 @@ var lP = (e, t) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- QP,
+ zP,
"from-font",
"auto",
- lF,
- aF
+ XP,
+ KP
] }],
"text-decoration-color": [{ decoration: N() }],
"underline-offset": [{ "underline-offset": [
- QP,
+ zP,
"auto",
- lF,
- iF
+ XP,
+ GP
] }],
"text-transform": [
"uppercase",
@@ -34340,9 +34340,9 @@ var lP = (e, t) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- $P,
- lF,
- iF
+ BP,
+ XP,
+ GP
] }],
"vertical-align": [{ align: [
"baseline",
@@ -34353,8 +34353,8 @@ var lP = (e, t) => {
"text-bottom",
"sub",
"super",
- lF,
- iF
+ XP,
+ GP
] }],
whitespace: [{ whitespace: [
"normal",
@@ -34382,8 +34382,8 @@ var lP = (e, t) => {
] }],
content: [{ content: [
"none",
- lF,
- iF
+ XP,
+ GP
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -34418,24 +34418,24 @@ var lP = (e, t) => {
"l",
"tl"
] },
- $P,
- lF,
- iF
+ BP,
+ XP,
+ GP
],
radial: [
"",
- lF,
- iF
+ XP,
+ GP
],
conic: [
"",
- $P,
- lF,
- iF
+ BP,
+ XP,
+ GP
]
},
- gle,
- ple
+ kle,
+ Ele
] }],
"bg-color": [{ bg: N() }],
"gradient-from-pos": [{ from: F() }],
@@ -34502,15 +34502,15 @@ var lP = (e, t) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"outline-w": [{ outline: [
"",
- QP,
- uF,
- aF
+ zP,
+ ZP,
+ KP
] }],
"outline-color": [{ outline: N() }],
shadow: [{ shadow: [
@@ -34518,35 +34518,35 @@ var lP = (e, t) => {
"inner",
"none",
u,
- fF,
- cF
+ $P,
+ YP
] }],
"shadow-color": [{ shadow: N() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- fF,
- cF
+ $P,
+ YP
] }],
"inset-shadow-color": [{ "inset-shadow": N() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: N() }],
- "ring-offset-w": [{ "ring-offset": [QP, aF] }],
+ "ring-offset-w": [{ "ring-offset": [zP, KP] }],
"ring-offset-color": [{ "ring-offset": N() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": N() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- fF,
- cF
+ $P,
+ YP
] }],
"text-shadow-color": [{ "text-shadow": N() }],
opacity: [{ opacity: [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"mix-blend": [{ "mix-blend": [
...ce(),
@@ -34568,7 +34568,7 @@ var lP = (e, t) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [QP] }],
+ "mask-image-linear-pos": [{ "mask-linear": [zP] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": N() }],
@@ -34597,7 +34597,7 @@ var lP = (e, t) => {
"mask-image-y-to-pos": [{ "mask-y-to": le() }],
"mask-image-y-from-color": [{ "mask-y-from": N() }],
"mask-image-y-to-color": [{ "mask-y-to": N() }],
- "mask-image-radial": [{ "mask-radial": [lF, iF] }],
+ "mask-image-radial": [{ "mask-radial": [XP, GP] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],
"mask-image-radial-from-color": [{ "mask-radial-from": N() }],
@@ -34608,7 +34608,7 @@ var lP = (e, t) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [QP] }],
+ "mask-image-conic-pos": [{ "mask-conic": [zP] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": N() }],
@@ -34632,111 +34632,111 @@ var lP = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- lF,
- iF
+ XP,
+ GP
] }],
filter: [{ filter: [
"",
"none",
- lF,
- iF
+ XP,
+ GP
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
contrast: [{ contrast: [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- fF,
- cF
+ $P,
+ YP
] }],
"drop-shadow-color": [{ "drop-shadow": N() }],
grayscale: [{ grayscale: [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"hue-rotate": [{ "hue-rotate": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
invert: [{ invert: [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
saturate: [{ saturate: [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
sepia: [{ sepia: [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- lF,
- iF
+ XP,
+ GP
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -34752,39 +34752,39 @@ var lP = (e, t) => {
"shadow",
"transform",
"none",
- lF,
- iF
+ XP,
+ GP
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- QP,
+ zP,
"initial",
- lF,
- iF
+ XP,
+ GP
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- lF,
- iF
+ XP,
+ GP
] }],
delay: [{ delay: [
- QP,
- lF,
- iF
+ zP,
+ XP,
+ GP
] }],
animate: [{ animate: [
"none",
v,
- lF,
- iF
+ XP,
+ GP
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- lF,
- iF
+ XP,
+ GP
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: de() }],
@@ -34800,8 +34800,8 @@ var lP = (e, t) => {
"skew-x": [{ "skew-x": pe() }],
"skew-y": [{ "skew-y": pe() }],
transform: [{ transform: [
- lF,
- iF,
+ XP,
+ GP,
"",
"none",
"gpu",
@@ -34815,9 +34815,9 @@ var lP = (e, t) => {
"translate-z": [{ "translate-z": me() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- $P,
- lF,
- iF
+ BP,
+ XP,
+ GP
] }],
accent: [{ accent: N() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -34867,8 +34867,8 @@ var lP = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- lF,
- iF
+ XP,
+ GP
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -34954,15 +34954,15 @@ var lP = (e, t) => {
"scroll",
"contents",
"transform",
- lF,
- iF
+ XP,
+ GP
] }],
fill: [{ fill: ["none", ...N()] }],
"stroke-w": [{ stroke: [
- QP,
- uF,
- aF,
- oF
+ zP,
+ ZP,
+ KP,
+ qP
] }],
stroke: [{ stroke: ["none", ...N()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -35220,16 +35220,16 @@ var lP = (e, t) => {
"selection"
]
};
-}, yle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (CF(e, "cacheSize", t), CF(e, "prefix", n), CF(e, "experimentalParseClassName", r), wF(e.theme, a.theme), wF(e.classGroups, a.classGroups), wF(e.conflictingClassGroups, a.conflictingClassGroups), wF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), CF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), CF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), TF(e.theme, i.theme), TF(e.classGroups, i.classGroups), TF(e.conflictingClassGroups, i.conflictingClassGroups), TF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), EF(e, i, "postfixLookupClassGroups"), EF(e, i, "orderSensitiveModifiers"), e), CF = (e, t, n) => {
+}, Mle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (uF(e, "cacheSize", t), uF(e, "prefix", n), uF(e, "experimentalParseClassName", r), dF(e.theme, a.theme), dF(e.classGroups, a.classGroups), dF(e.conflictingClassGroups, a.conflictingClassGroups), dF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), uF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), uF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), fF(e.theme, i.theme), fF(e.classGroups, i.classGroups), fF(e.conflictingClassGroups, i.conflictingClassGroups), fF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), pF(e, i, "postfixLookupClassGroups"), pF(e, i, "orderSensitiveModifiers"), e), uF = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, wF = (e, t) => {
- if (t) for (let n in t) CF(e, n, t[n]);
-}, TF = (e, t) => {
- if (t) for (let n in t) EF(e, t, n);
-}, EF = (e, t, n) => {
+}, dF = (e, t) => {
+ if (t) for (let n in t) uF(e, n, t[n]);
+}, fF = (e, t) => {
+ if (t) for (let n in t) pF(e, t, n);
+}, pF = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, ble = (e, ...t) => typeof e == "function" ? BP(SF, e, ...t) : BP(() => yle(SF(), e), ...t), xle = [
+}, Nle = (e, ...t) => typeof e == "function" ? PP(lF, e, ...t) : PP(() => Mle(lF(), e), ...t), Ple = [
"large-title",
"display-1",
"display-2",
@@ -35243,17 +35243,17 @@ var lP = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], Sle = [
+], Fle = [
"regular",
"medium",
"semibold",
"bold"
-], DF = ble({ extend: { classGroups: { "font-size": [{ text: xle.flatMap((e) => Sle.map((t) => `${e}-${t}`)) }] } } });
-function OF(e) {
+], mF = Nle({ extend: { classGroups: { "font-size": [{ text: Ple.flatMap((e) => Fle.map((t) => `${e}-${t}`)) }] } } });
+function hF(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var Cle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, kF = OF({
+var Ile = typeof window < "u" ? P.useLayoutEffect : P.useEffect, gF = hF({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -35275,9 +35275,9 @@ var Cle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, kF = OF({
gray: "text-text-primary"
}
});
-function AF({ children: e, className: t, ref: n, container: r, ...i }) {
+function _F({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, P.useRef)(null), [o, s] = (0, P.useState)(null);
- Cle(() => {
+ Ile(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -35313,7 +35313,7 @@ function AF({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: DF("pointer-events-none absolute left-0 top-0", kF.radius[o.variant], kF.thumb[o.variant]),
+ className: mF("pointer-events-none absolute left-0 top-0", gF.radius[o.variant], gF.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -35324,43 +35324,43 @@ function AF({ children: e, className: t, ref: n, container: r, ...i }) {
return r === void 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
ref: c,
role: "group",
- className: DF("relative inline-flex items-center gap-1", t),
+ className: mF("relative inline-flex items-center gap-1", t),
...i,
children: [l, e]
}) : r ? (0, Lt.createPortal)(l, r) : null;
}
// src/react/manage-header/manage-header-island.tsx
-var jF = null, MF = null, NF = /* @__PURE__ */ new Set();
-function wle(e) {
- return NF.add(e), () => {
- NF.delete(e);
+var vF = null, yF = null, bF = /* @__PURE__ */ new Set();
+function Lle(e) {
+ return bF.add(e), () => {
+ bF.delete(e);
};
}
-function Tle() {
- for (let e of [...NF]) e();
+function Rle() {
+ for (let e of [...bF]) e();
}
-var Ele = { render(e) {
- MF = e, (0, Lt.flushSync)(Tle);
+var zle = { render(e) {
+ yF = e, (0, Lt.flushSync)(Rle);
} };
-function Dle(e) {
- return jF = e, MF = null, Ele;
+function Ble(e) {
+ return vF = e, yF = null, zle;
}
-function Ole() {
- let e = (0, P.useSyncExternalStore)(wle, () => MF);
- return jF && e ? /* @__PURE__ */ (0, F.jsx)(kle, {
- host: jF,
+function Vle() {
+ let e = (0, P.useSyncExternalStore)(Lle, () => yF);
+ return vF && e ? /* @__PURE__ */ (0, F.jsx)(Hle, {
+ host: vF,
props: e
}) : null;
}
-function kle({ host: e, props: t }) {
- let n = tP(t);
+function Hle({ host: e, props: t }) {
+ let n = yP(t);
return n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(Ale, {
+ /* @__PURE__ */ (0, F.jsx)(Ule, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, F.jsx)(jle, {
+ n.crumb ? /* @__PURE__ */ (0, F.jsx)(Wle, {
host: e,
label: n.crumb
}) : null,
@@ -35369,13 +35369,13 @@ function kle({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Mle, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Gle, {
host: e,
lede: n.lede
})
] }) : null;
}
-function Ale({ host: e, pressed: t, menu: n }) {
+function Ule({ host: e, pressed: t, menu: n }) {
let r = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -35385,7 +35385,7 @@ function Ale({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, F.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, F.jsx)(AF, {
+ children: /* @__PURE__ */ (0, F.jsx)(_F, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -35399,13 +35399,13 @@ function Ale({ host: e, pressed: t, menu: n }) {
"data-pill-selected": a ? "" : void 0,
"data-pill-variant": "gray",
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, F.jsx)(sP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, F.jsx)(CP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function jle({ host: e, label: t }) {
+function Wle({ host: e, label: t }) {
return /* @__PURE__ */ (0, F.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -35415,20 +35415,20 @@ function jle({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {
+ }), /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, F.jsx)("span", { children: t })
})] })
});
}
-function Mle({ host: e, lede: t }) {
+function Gle({ host: e, lede: t }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: iP }
- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Nle, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: SP }
+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Kle, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -35438,7 +35438,7 @@ function Mle({ host: e, lede: t }) {
}) : null] })
});
}
-function Nle({ text: e }) {
+function Kle({ text: e }) {
let t = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
Os(t.current, e);
@@ -35448,29 +35448,29 @@ function Nle({ text: e }) {
});
}
// src/core/text-lang.ts
-var Ple = /[぀-ヿㇰ-ㇿヲ-゚]/, Fle = /[㐀-鿿豈-﫿]/, Ile = /[A-Za-z]/;
-function PF(e) {
+var qle = /[぀-ヿㇰ-ㇿヲ-゚]/, Jle = /[㐀-鿿豈-﫿]/, Yle = /[A-Za-z]/;
+function xF(e) {
let t = String(e ?? "");
- if (Ple.test(t)) return "ja";
- if (!Fle.test(t) && Ile.test(t)) return "en";
+ if (qle.test(t)) return "ja";
+ if (!Jle.test(t) && Yle.test(t)) return "en";
}
-var Lle = (e) => {
- let t = PF(e);
+var Xle = (e) => {
+ let t = xF(e);
return t ? ` lang="${t}"` : "";
-}, Rle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, zle = (e, t = e?.name) => {
+}, Zle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Qle = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(Rle, "") : n;
-}, Ble = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Vle = (e) => {
+ return e?.is_jav ? n.replace(Zle, "") : n;
+}, $le = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), eue = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Ble) || t[0] || "";
+ return t.find($le) || t[0] || "";
};
-function FF(e, t = e?.name) {
- let n = zle(e, t), r = String(e?.code || "").trim().toUpperCase();
+function SF(e, t = e?.name) {
+ let n = Qle(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 = Vle(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 = eue(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) => [
"中字",
"无码",
"无码破解"
@@ -35481,26 +35481,26 @@ function FF(e, t = e?.name) {
badges: f
};
}
-var IF = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = FF(e, t);
+var CF = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = SF(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function LF(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = FF(e, t);
+function wF(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = SF(e, t);
if (!n) return z(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");
- return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Lle(r)}>${z(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Xle(r)}>${z(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var RF = "/api/tasks", zF = ["tasks"], Hle = (e, t) => B(`${RF}?${new URLSearchParams({
+var TF = "/api/tasks", EF = ["tasks"], tue = (e, t) => B(`${TF}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ule(...e) {
+function nue(...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) => {
@@ -35508,26 +35508,26 @@ function Ule(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Wle = 2e3, Gle = 1e4, BF = (e) => e?.running?.length ? Wle : Gle, VF = (e) => B(RF, e);
-async function Kle(e) {
+var rue = 2e3, iue = 1e4, DF = (e) => e?.running?.length ? rue : iue, OF = (e) => B(TF, e);
+async function aue(e) {
await H.fetchQuery({
- queryKey: zF,
- queryFn: () => VF(e)
+ queryKey: EF,
+ queryFn: () => OF(e)
});
}
-var qle = {
+var oue = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Jle = {
+}, sue = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Yle = (e) => Jle[e] || e, HF = {
+}, cue = (e) => sue[e] || e, kF = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -35604,7 +35604,7 @@ var qle = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Xle = [
+}, lue = [
"gone_count",
"unclear_count",
"source_failed",
@@ -35626,14 +35626,14 @@ var qle = {
"paused_count",
"miss",
"incomplete"
-], Zle = ["face_match_unavailable"], UF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Zle.some((t) => e.result_summary?.[t] === !0) || Xle.some((t) => Number(e.result_summary?.[t]) > 0);
-function Qle(e) {
+], uue = ["face_match_unavailable"], AF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || uue.some((t) => e.result_summary?.[t] === !0) || lue.some((t) => Number(e.result_summary?.[t]) > 0);
+function due(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 WF = /* @__PURE__ */ new Set(["library-processing"]);
-function $le(e, t = !0) {
- if (!UF(e) && e.status !== "failed" || WF.has(e.task_key) && !t) return null;
+var jF = /* @__PURE__ */ new Set(["library-processing"]);
+function fue(e, t = !0) {
+ if (!AF(e) && e.status !== "failed" || jF.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -35651,12 +35651,12 @@ function $le(e, t = !0) {
label: n[1]
} : null;
}
-function eue(e) {
+function pue(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) WF.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) jF.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 tue(e) {
+function mue(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -35665,7 +35665,7 @@ function tue(e) {
}
return t;
}
-function nue(e, t) {
+function hue(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -35687,12 +35687,12 @@ function nue(e, t) {
}
return n;
}
-var rue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !UF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), GF = (e) => e.status === "pending" || e.status === "running";
-function iue(e) {
+var gue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !AF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), MF = (e) => e.status === "pending" || e.status === "running";
+function _ue(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, JF(e.error) || due(o) || (GF(e) && i > 0 ? `${qF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, FF(e.error) || WF(o) || (MF(e) && i > 0 ? `${PF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function KF(e) {
+function NF(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -35701,19 +35701,19 @@ function KF(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function qF(e, t) {
+function PF(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function aue(e) {
+function vue(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 JF(e) {
- let t = aue(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function FF(e) {
+ let t = vue(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? tn(n[1]) : t;
}
-var oue = {
+var IF = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -35730,11 +35730,11 @@ var oue = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, YF = {
+}, LF = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, sue = {
+}, RF = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -35745,8 +35745,8 @@ var oue = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, cue = (e) => oue[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${YF[t.toLowerCase()]} 资料页` : `已保存来自 ${YF[t.toLowerCase()]} 的资料`);
-function XF(e) {
+}, zF = (e) => IF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${LF[t.toLowerCase()]} 资料页` : `已保存来自 ${LF[t.toLowerCase()]} 的资料`);
+function BF(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -35756,7 +35756,7 @@ function XF(e) {
minute: "2-digit"
});
}
-var lue = /* @__PURE__ */ new Set([
+var VF = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -35765,14 +35765,14 @@ var lue = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function ZF(e) {
- let t = uue(e);
+function HF(e) {
+ let t = UF(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function uue(e) {
- return Object.entries(e || {}).filter(([e, t]) => !lue.has(e) && (e in HF || 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" ? JF(String(t)) : e === "outcome" || e === "result" ? cue(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${HF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${sue[String(t)] || "批量操作"}` : `${HF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function UF(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !VF.has(e) && (e in kF || 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" ? FF(String(t)) : e === "outcome" || e === "result" ? zF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${kF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${RF[String(t)] || "批量操作"}` : `${kF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var due = (e) => ZF(e).join(" · "), QF = OF({
+var WF = (e) => HF(e).join(" · "), GF = hF({
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",
@@ -35783,20 +35783,20 @@ var due = (e) => ZF(e).join(" · "), QF = OF({
small: "size-4 shrink-0"
}
});
-function $F({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function KF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
ref: i,
type: r,
- className: DF(QF.base, QF.size[t], n),
+ className: mF(GF.base, GF.size[t], n),
...a,
children: /* @__PURE__ */ (0, F.jsx)(e, {
- className: QF.icon[t],
+ className: GF.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function eI() {
+function qF() {
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -35810,7 +35810,7 @@ function eI() {
});
}
// src/react/components/use-stuck.ts
-function tI(e) {
+function JF(e) {
(0, P.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35827,7 +35827,7 @@ function tI(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function nI(e, t = !0) {
+function YF(e, t = !0) {
let [n, r] = (0, P.useState)(null), i = (0, P.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -35841,17 +35841,17 @@ function nI(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var fue = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var XF = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: bs("正在处理") }
});
-function rI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsx)($F, {
+function ZF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, F.jsx)(KF, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? fue : t,
+ icon: n && r === "spinner" ? XF : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -35861,9 +35861,9 @@ function rI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function pue({ title: e, children: t }) {
+function QF({ title: e, children: t }) {
let n = (0, P.useRef)(null);
- return tI(n), /* @__PURE__ */ (0, F.jsxs)("div", {
+ return JF(n), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35876,20 +35876,20 @@ function pue({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, F.jsx)(eI, {})
+ /* @__PURE__ */ (0, F.jsx)(qF, {})
]
});
}
-function iI({ 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, P.useRef)(null), f = nI(), p = nI(u);
- return tI(d), /* @__PURE__ */ (0, F.jsxs)("div", {
+function $F({ 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, P.useRef)(null), f = YF(), p = YF(u);
+ return JF(d), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: DF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: mF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, F.jsx)("div", {
@@ -35897,37 +35897,37 @@ function iI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: DF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: mF("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, F.jsx)("div", {
ref: p,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: DF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: mF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, F.jsx)(eI, {})
+ /* @__PURE__ */ (0, F.jsx)(qF, {})
]
});
}
-var mue = "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 aI({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var eI = "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 tI({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: DF(mue, r),
+ className: mF(eI, r),
onClick: n,
children: e
});
}
-var hue = "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 oI({ children: e, onPress: t, busy: n = !1 }) {
+var nI = "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 rI({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: hue,
+ className: nI,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -35937,13 +35937,13 @@ function oI({ children: e, onPress: t, busy: n = !1 }) {
});
}
// src/react/components/use-view-glide.ts
-var sI = (e, t) => [
+var iI = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function cI(e, t, n) {
+function aI(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;
@@ -35967,17 +35967,17 @@ function cI(e, t, n) {
h: e.offsetHeight
};
}
-function lI(e, t, n, r, { axis: i = "x" } = {}) {
+function oI(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, P.useRef)(null), o = (0, P.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 ? cI(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? aI(u, l, i) : null;
if (!d || !d.w || !d.h) {
wc(s), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && sI(f, d)) && Sc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && iI(f, d)) && Sc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -35998,8 +35998,8 @@ function lI(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 ? cI(o, r, i) : null, l = a.current;
- s && l && sI(s, l) || c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? aI(o, r, i) : null, l = a.current;
+ s && l && iI(s, l) || c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -36030,7 +36030,7 @@ function lI(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var uI = OF({
+var sI = hF({
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",
@@ -36063,52 +36063,52 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, F.jsxs)("button", {
ref: c,
type: s,
- className: DF(uI.base, uI.size[t], uI.variant[e], n && uI.iconOnlySize[t], o),
+ className: mF(sI.base, sI.size[t], sI.variant[e], n && sI.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, F.jsx)(r, {
- className: uI.icon[t],
+ className: sI.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: uI.label[t],
+ className: sI.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {
- className: uI.icon[t],
+ className: sI.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function dI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function cI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, F.jsxs)("a", {
ref: s,
- className: DF(uI.base, uI.size[t], uI.variant[e], n && uI.iconOnlySize[t], o),
+ className: mF(sI.base, sI.size[t], sI.variant[e], n && sI.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, F.jsx)(r, {
- className: uI.icon[t],
+ className: sI.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: uI.label[t],
+ className: sI.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {
- className: uI.icon[t],
+ className: sI.icon[t],
"aria-hidden": !0
}) : null
]
});
}
// node_modules/react-aria-components/dist/private/utils.mjs
-var fI = Symbol("default");
-function pI({ values: e, children: t }) {
+var lI = Symbol("default");
+function uI({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ P.createElement(n.Provider, { value: r }, t);
return t;
}
-function mI(e) {
+function dI(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, P.useMemo)(() => {
let e, l, u;
@@ -36142,11 +36142,11 @@ function mI(e) {
c
]);
}
-function hI(e, t) {
+function fI(e, t) {
let n = (0, P.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || fI;
+ let e = t || lI;
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}.`);
@@ -36155,8 +36155,8 @@ function hI(e, t) {
}
return n;
}
-function gI(e, t, n) {
- let { ref: r, ...i } = hI(n, e.slot) || {}, a = wx((0, P.useMemo)(() => hx(t, r), [t, r])), o = K(i, e);
+function pI(e, t, n) {
+ let { ref: r, ...i } = fI(n, e.slot) || {}, a = $x((0, P.useMemo)(() => Wx(t, r), [t, r])), o = K(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,
@@ -36174,42 +36174,42 @@ function gI(e, t, n) {
...e.style
}), [o, a];
}
-function _I(e = !0) {
+function mI(e = !0) {
let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return pb(() => {
+ return Vb(() => {
r.current || n(!1);
}, []), [i, t];
}
-function vI(e) {
+function hI(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function gue(e, t, n) {
- let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => hx(n, a), [n, a]);
- pb(() => {}, [e, r]);
+function gI(e, t, n) {
+ let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Wx(n, a), [n, a]);
+ Vb(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ P.createElement(e, s);
}
-var yI = {}, bI = new Proxy({}, { get(e, t) {
+var _I = {}, vI = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = yI[t];
- return n || (n = /*#__PURE__*/ (0, P.forwardRef)(gue.bind(null, t)), yI[t] = n), n;
-} }), xI = /*#__PURE__*/ (0, P.createContext)(null), SI = /*#__PURE__*/ (0, P.createContext)(null), CI = /*#__PURE__*/ (0, P.createContext)(null), wI = {
+ let n = _I[t];
+ return n || (n = /*#__PURE__*/ (0, P.forwardRef)(gI.bind(null, t)), _I[t] = n), n;
+} }), yI = /*#__PURE__*/ (0, P.createContext)(null), bI = /*#__PURE__*/ (0, P.createContext)(null), xI = /*#__PURE__*/ (0, P.createContext)(null), SI = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return TI(e, null, t);
+ return CI(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return TI(e, t, n);
+ return CI(e, t, n);
}
};
-function TI(e, t, n) {
- return Yy({
+function CI(e, t, n) {
+ return _b({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -36219,11 +36219,11 @@ function TI(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, _ue(e, t, n));
+ }), r, wI(e, t, n));
}
});
}
-function _ue(e, t, n) {
+function wI(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -36242,24 +36242,24 @@ function _ue(e, t, n) {
}
return s;
}
-var EI = /*#__PURE__*/ (0, P.createContext)(wI);
-function DI(e) {
+var TI = /*#__PURE__*/ (0, P.createContext)(SI);
+function EI(e) {
return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, OI);
- let { elementType: n = "label", ...r } = e, i = bI[n];
+var DI = /*#__PURE__*/ (0, P.createContext)({}), OI = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, DI);
+ let { elementType: n = "label", ...r } = e, i = vI[n];
return /*#__PURE__*/ P.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), vue = /*#__PURE__*/ (0, P.createContext)(null), AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, AI);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Nie(e, t);
+}), kI = /*#__PURE__*/ (0, P.createContext)(null), AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, AI);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = gie(e, t);
i = bue(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = hT(e), { hoverProps: l, isHovered: u } = yT({
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = GT(e), { hoverProps: l, isHovered: u } = YT({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -36269,24 +36269,24 @@ var OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ kx(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = mI({
+ }, f = dI({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = px(i.id), m = px(), h = i["aria-labelledby"];
+ }), p = Hx(i.id), m = Hx(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, P.useRef)(r);
(0, P.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && gC(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && zC(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = kS(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ P.createElement(bI.button, {
+ let _ = KS(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ P.createElement(vI.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -36300,7 +36300,7 @@ var OI = /*#__PURE__*/ (0, P.createContext)({}), kI = /*#__PURE__*/ kx(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ P.createElement(vue.Provider, { value: { id: m } }, f.children));
+ }, /*#__PURE__*/ P.createElement(kI.Provider, { value: { id: m } }, f.children));
}), yue = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
function bue(e, t) {
if (t) {
@@ -36311,16 +36311,16 @@ function bue(e, t) {
}
// node_modules/react-aria-components/dist/private/Heading.mjs
var MI = /*#__PURE__*/ (0, P.createContext)({}), NI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, MI);
- let { children: n, level: r = 3, className: i, ...a } = e, o = bI[`h${r}`];
+ [e, t] = pI(e, t, MI);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = vI[`h${r}`];
return /*#__PURE__*/ P.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), PI = /*#__PURE__*/ (0, P.createContext)({}), xue = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, PI);
- let { elementType: n = "span", ...r } = e, i = bI[n];
+}), PI = /*#__PURE__*/ (0, P.createContext)({}), xue = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, PI);
+ let { elementType: n = "span", ...r } = e, i = vI[n];
return /*#__PURE__*/ P.createElement(i, {
className: "react-aria-Text",
...r,
@@ -36328,17 +36328,17 @@ var MI = /*#__PURE__*/ (0, P.createContext)({}), NI = /*#__PURE__*/ (0, P.forwar
});
}), FI = /*#__PURE__*/ (0, P.createContext)(null), II = /*#__PURE__*/ (0, P.createContext)(null), LI = /*#__PURE__*/ (0, P.createContext)(null), RI = /*#__PURE__*/ (0, P.createContext)(null), Sue = /*#__PURE__*/ (0, P.createContext)(null), zI = /*#__PURE__*/ (0, P.createContext)(null);
function Cue(e, t) {
- let { validationBehavior: n } = hI(II) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Sue), a = wx((0, P.useMemo)(() => hx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...vI(e),
+ let { validationBehavior: n } = fI(II) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Sue), a = $x((0, P.useMemo)(() => Wx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...hI(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? nae(o, i, a) : LC(o, HC(e), a), a];
+ return [i ? Eie(o, i, a) : pw(o, vw(e), a), a];
}
var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = gI(r, t, LI);
+ [e, t] = pI(r, t, LI);
let [i, a] = Cue(e, n);
return /*#__PURE__*/ P.createElement(zI.Provider, { value: {
...i,
@@ -36351,10 +36351,10 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
ref: t
}));
}), Tue = /*#__PURE__*/ (0, P.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, P.useContext)(zI), { isFocused: p, isFocusVisible: m, focusProps: h } = hT(), g = a || o, { hoverProps: _, isHovered: v } = yT({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, P.useContext)(zI), { isFocused: p, isFocusVisible: m, focusProps: h } = GT(), g = a || o, { hoverProps: _, isHovered: v } = YT({
...e,
isDisabled: g
- }), y = mI({
+ }), y = dI({
...e,
defaultClassName: u,
values: {
@@ -36369,8 +36369,8 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = kS(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(bI.label, {
+ }), b = KS(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(vI.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -36384,20 +36384,20 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ P.createElement(ZC, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Dw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...K(r, h),
ref: l
})), y.children);
}), BI = /*#__PURE__*/ (0, P.createContext)({}), VI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, BI);
+ [e, t] = pI(e, t, BI);
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 } = yT({
+ let { hoverProps: l, isHovered: u } = YT({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = hT({ within: !0 }), m = mI({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = GT({ within: !0 }), m = dI({
...e,
values: {
isHovered: u,
@@ -36408,7 +36408,7 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ P.createElement(bI.div, {
+ return /*#__PURE__*/ P.createElement(vI.div, {
...K(c, p, l),
...m,
ref: t,
@@ -36424,15 +36424,15 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
}), HI = /*#__PURE__*/ (0, P.createContext)({}), Eue = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Due = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, HI);
- let { hoverProps: n, isHovered: r } = yT({
+}, Due = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, HI);
+ let { hoverProps: n, isHovered: r } = YT({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = hT({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = GT({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = mI({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = dI({
...e,
values: {
isHovered: r,
@@ -36443,7 +36443,7 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ P.createElement(bI.input, {
+ return /*#__PURE__*/ P.createElement(vI.input, {
...K(Eue(e), o, n),
...c,
ref: t,
@@ -36457,12 +36457,12 @@ var wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
function jue(e) {
let { isDisabled: t = !1, minValue: n = Oue, maxValue: r = kue, numberFormatter: i, step: a = Aue, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {
let e = (r - n) / 10;
- return e = GC(e, 0, e + a, a), Math.max(e, a);
+ return e = xw(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, P.useCallback)((e) => e?.map((t, i) => GC(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
+ ]), c = (0, P.useCallback)((e) => e?.map((t, i) => xw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
@@ -36470,7 +36470,7 @@ function jue(e) {
e.defaultValue,
n,
c
- ]), d = GI(e.value, e.defaultValue, e.onChange), f = GI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = VC(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {
+ ]), d = GI(e.value, e.defaultValue, e.onChange), f = GI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = _w(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -36493,7 +36493,7 @@ function jue(e) {
function A(e, n) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
- n = GC(n, r, i, a);
+ n = xw(n, r, i, a);
let o = UI(x.current, e, n);
C(o);
}
@@ -36522,15 +36522,15 @@ function jue(e) {
return Math.round((e - n) / a) * a + n;
}
function N(e) {
- return UC(ne(e * (r - n) + n), n, r);
+ return yw(ne(e * (r - n) + n), n, r);
}
function re(e, t = 1) {
let i = Math.max(t, a);
- A(e, GC(p[e] + i, n, r, a));
+ A(e, xw(p[e] + i, n, r, a));
}
function ie(e, t = 1) {
let i = Math.max(t, a);
- A(e, GC(p[e] - i, n, r, a));
+ A(e, xw(p[e] - i, n, r, a));
}
return {
values: p,
@@ -36576,14 +36576,14 @@ function GI(e, t, n) {
}
// node_modules/react-aria-components/dist/private/Slider.mjs
var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.createContext)(null), Nue = /*#__PURE__*/ (0, P.createContext)(null), Pue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, Mue);
- let n = (0, P.useRef)(null), r = sae(e.formatOptions), i = jue({
+ [e, t] = pI(e, t, Mue);
+ let n = (0, P.useRef)(null), r = jie(e.formatOptions), i = jue({
...e,
numberFormatter: r
- }), [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = cae({
+ }), [a, o] = mI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Mie({
...e,
label: o
- }, i, n), d = mI({
+ }, i, n), d = dI({
...e,
values: {
orientation: i.orientation,
@@ -36591,19 +36591,19 @@ var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = kS(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ P.createElement(pI, { values: [
+ }), f = KS(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ P.createElement(uI, { values: [
[KI, i],
[qI, {
...c,
ref: n
}],
[Nue, u],
- [OI, {
+ [DI, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ P.createElement(bI.div, {
+ ] }, /*#__PURE__*/ P.createElement(vI.div, {
...K(f, d, s),
ref: t,
slot: e.slot || void 0,
@@ -36611,12 +36611,12 @@ var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.cre
"data-disabled": i.isDisabled || void 0
}));
}), Fue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, qI);
- let n = (0, P.useContext)(KI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = yT({
+ [e, t] = pI(e, t, qI);
+ let n = (0, P.useContext)(KI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = YT({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = mI({
+ }), l = dI({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -36626,7 +36626,7 @@ var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.cre
state: n
}
});
- return /*#__PURE__*/ P.createElement(bI.div, {
+ return /*#__PURE__*/ P.createElement(vI.div, {
...K(o, s),
...l,
ref: t,
@@ -36635,13 +36635,13 @@ var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.cre
"data-disabled": n.isDisabled || void 0
});
}), Iue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, P.useContext)(KI), { ref: i } = hI(qI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = _I(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = lae({
+ let { inputRef: n = null } = e, r = (0, P.useContext)(KI), { ref: i } = fI(qI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = mI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Nie({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = hT(), { hoverProps: v, isHovered: y } = yT(e), b = mI({
+ }, r), { focusProps: g, isFocusVisible: _ } = GT(), { hoverProps: v, isHovered: y } = YT(e), b = dI({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -36652,8 +36652,8 @@ var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = kS(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ P.createElement(bI.div, {
+ }), x = KS(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ P.createElement(vI.div, {
...K(x, u, v),
...b,
ref: t,
@@ -36666,10 +36666,10 @@ var Mue = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ P.createElement(ZC, null, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Dw, null, /*#__PURE__*/ P.createElement("input", {
ref: s,
...K(d, g)
- })), /*#__PURE__*/ P.createElement(pI, { values: [[OI, {
+ })), /*#__PURE__*/ P.createElement(uI, { values: [[DI, {
...f,
ref: c
}]] }, b.children));
@@ -37024,7 +37024,7 @@ function PL(e) {
return /*#__PURE__*/ P.createElement(Rue.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var FL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), IL = /*#__PURE__*/ (0, P.createContext)({}), zue = /*#__PURE__*/ Lx(class extends Vy {
+var FL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), IL = /*#__PURE__*/ (0, P.createContext)({}), zue = /*#__PURE__*/ fS(class extends lb {
static {
this.type = "separator";
}
@@ -37037,14 +37037,14 @@ var FL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), IL = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = gI(e, t, IL);
+ [e, t] = pI(e, t, IL);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = bI[c], { separatorProps: u } = ioe({
+ let l = vI[c], { separatorProps: u } = Bae({
...s,
elementType: n,
orientation: r
- }), d = kS(e, { global: !0 });
+ }), d = KS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(l, {
render: e.render,
...K(d, u),
@@ -37116,7 +37116,7 @@ function Bue(e, t) {
return !0;
}
function BL(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = VC((0, P.useMemo)(() => VL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => VL(e.defaultSelectedKeys, new zL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = _w((0, P.useMemo)(() => VL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => VL(e.defaultSelectedKeys, new zL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, P.useRef)(i);
return (0, P.useEffect)(() => {
@@ -37209,7 +37209,7 @@ var HL = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && rT(this.collection, n, e) < 0) && (e = n);
+ (!e || n && NT(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37217,7 +37217,7 @@ var HL = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && rT(this.collection, n, e) > 0) && (e = n);
+ (!e || n && NT(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37247,7 +37247,7 @@ var HL = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? rT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? NT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -37297,7 +37297,7 @@ var HL = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(eT($w(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(AT(kT(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -37557,14 +37557,14 @@ function qL(e, t) {
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
function JL(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = tS((e) => {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = AS((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- pb(() => {
+ Vb(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: yC(t?.current),
+ root: UC(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -37580,13 +37580,13 @@ function JL(e, t) {
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
var YL = /*#__PURE__*/ (0, P.createContext)(null), XL = /*#__PURE__*/ (0, P.createContext)(null), Wue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, YL);
+ [e, t] = pI(e, t, YL);
let n = (0, P.useContext)(XL);
return n ? /*#__PURE__*/ P.createElement(ZL, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ P.createElement(Px, { content: /*#__PURE__*/ P.createElement(Vx, e) }, (n) => /*#__PURE__*/ P.createElement(Gue, {
+ }) : /*#__PURE__*/ P.createElement(lS, { content: /*#__PURE__*/ P.createElement(gS, e) }, (n) => /*#__PURE__*/ P.createElement(Gue, {
props: e,
listBoxRef: t,
collection: n
@@ -37599,7 +37599,7 @@ function Gue({ props: e, listBoxRef: t, collection: n }) {
children: null,
items: null
};
- let { layoutDelegate: r } = (0, P.useContext)(EI), i = KL({
+ let { layoutDelegate: r } = (0, P.useContext)(TI), i = KL({
...e,
layoutDelegate: r
});
@@ -37610,11 +37610,11 @@ function Gue({ props: e, listBoxRef: t, collection: n }) {
});
}
function ZL({ state: e, props: t, listBoxRef: n }) {
- [t, n] = gI(t, n, xI);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Uue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = lS(), { disabledBehavior: p, disabledKeys: m } = l, h = cT({
+ [t, n] = pI(t, n, yI);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Uue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = RS(), { disabledBehavior: p, disabledKeys: m } = l, h = RT({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(EI), b = (0, P.useMemo)(() => t.keyboardDelegate || new uw({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(TI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Bw({
collection: c,
collator: h,
ref: n,
@@ -37635,7 +37635,7 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Iae({
+ ]), { listBoxProps: x } = oae({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -37667,7 +37667,7 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = hT(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = GT(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -37675,7 +37675,7 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = mI({
+ }, ee = dI({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -37685,8 +37685,8 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let ne = kS(t, { global: !0 });
- return /*#__PURE__*/ P.createElement($S, null, /*#__PURE__*/ P.createElement(bI.div, {
+ let ne = KS(t, { global: !0 });
+ return /*#__PURE__*/ P.createElement(gC, null, /*#__PURE__*/ P.createElement(vI.div, {
...K(ne, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -37697,7 +37697,7 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[YL, t],
[XL, s],
[kL, {
@@ -37707,7 +37707,7 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
}],
[IL, { elementType: "div" }],
[AL, { render: Jue }],
- [CI, {
+ [xI, {
name: "ListBoxSection",
render: Kue
}]
@@ -37719,17 +37719,17 @@ function ZL({ state: e, props: t, listBoxRef: n }) {
}))), te, E));
}
function Kue(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, P.useContext)(XL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(kL), { CollectionBranch: s } = (0, P.useContext)(EI), [c, l] = _I(), { headingProps: u, groupProps: d } = Lae({
+ let i = (0, P.useContext)(XL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(kL), { CollectionBranch: s } = (0, P.useContext)(TI), [c, l] = mI(), { headingProps: u, groupProps: d } = sae({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = mI({
+ }), f = dI({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = kS(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ P.createElement(bI.section, {
+ }), p = KS(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ P.createElement(vI.section, {
...K(p, f, d),
ref: t
}, /*#__PURE__*/ P.createElement(NL.Provider, { value: {
@@ -37741,16 +37741,16 @@ function Kue(e, t, n, r = "react-aria-ListBoxSection") {
renderDropIndicator: jL(a, o)
})));
}
-var que = /*#__PURE__*/ Lx(Wy, function(e, t, n) {
- let r = wx(t), i = (0, P.useContext)(XL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(kL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Rae({
+var que = /*#__PURE__*/ fS(fb, function(e, t, n) {
+ let r = $x(t), i = (0, P.useContext)(XL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(kL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = cae({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = yT({
+ }, i, r), { hoverProps: p, isHovered: m } = YT({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = Cx(e), { focusProps: g } = yx(e), _ = null;
+ }), { keyboardProps: h } = Qx(e), { focusProps: g } = Jx(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -37761,7 +37761,7 @@ var que = /*#__PURE__*/ Lx(Wy, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = mI({
+ let y = o && o.isDragging(n.key), b = dI({
...e,
id: void 0,
children: e.children,
@@ -37779,7 +37779,7 @@ var que = /*#__PURE__*/ Lx(Wy, function(e, t, n) {
(0, P.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? bI.a : bI.div, S = kS(e, { global: !0 });
+ let x = e.href ? vI.a : vI.div, S = KS(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ P.createElement(x, {
...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -37793,14 +37793,14 @@ var que = /*#__PURE__*/ Lx(Wy, 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__*/ P.createElement(pI, { values: [[PI, { slots: {
- [fI]: u,
+ }, /*#__PURE__*/ P.createElement(uI, { values: [[PI, { slots: {
+ [lI]: u,
label: u,
description: d
} }], [FL, { isSelected: f.isSelected }]] }, b.children));
});
function Jue(e, t) {
- t = wx(t);
+ t = $x(t);
let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(kL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
return a ? null : /*#__PURE__*/ P.createElement(Xue, {
...e,
@@ -37810,12 +37810,12 @@ function Jue(e, t) {
});
}
function Yue(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = mI({
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = dI({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(bI.div, {
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(vI.div, {
...n,
...a,
role: "option",
@@ -37824,7 +37824,7 @@ function Yue(e, t) {
}));
}
var Xue = /*#__PURE__*/ (0, P.forwardRef)(Yue);
-Lx(Uy, function(e, t, n) {
+fS(db, function(e, t, n) {
let r = (0, P.useContext)(XL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);
JL((0, P.useMemo)(() => ({
onLoadMore: a,
@@ -37836,7 +37836,7 @@ Lx(Uy, function(e, t, n) {
o,
r?.collection
]), c);
- let l = mI({
+ let l = dI({
...s,
id: void 0,
children: n.rendered,
@@ -37858,8 +37858,8 @@ Lx(Uy, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(bI.div, {
- ...K(kS(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(vI.div, {
+ ...K(KS(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -37869,7 +37869,7 @@ Lx(Uy, function(e, t, n) {
var Zue = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
function QL(e) {
- let [t, n] = VC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);
+ let [t, n] = _w(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -37889,9 +37889,9 @@ function QL(e) {
// node_modules/react-aria/dist/private/utils/animation.mjs
function $L(e, t = !0, n) {
let [r, i] = (0, P.useState)(!0), a = r && t;
- return pb(() => {
- if (!t && e.current) return lx(nb(e.current, "opacity", "0"), nb(e.current, "clip", "rect(0 0 0 0)"), nb(e.current, "clip-path", "inset(50%)"), nb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), pb(() => {
+ return Vb(() => {
+ if (!t && e.current) return Rx(wb(e.current, "opacity", "0"), wb(e.current, "clip", "rect(0 0 0 0)"), wb(e.current, "clip-path", "inset(50%)"), wb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), Vb(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
}, [e, a]), tR(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;
}
@@ -37910,8 +37910,8 @@ function eR(e, t, n) {
}, [])), a;
}
function tR(e, t, n, r) {
- let i = (0, P.useRef)(null), a = tS(n);
- pb(() => {
+ let i = (0, P.useRef)(null), a = AS(n);
+ Vb(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -37937,8 +37937,8 @@ function tR(e, t, n, r) {
}
// node_modules/react-aria-components/dist/private/Popover.mjs
var nR = /*#__PURE__*/ (0, P.createContext)(null), rR = /*#__PURE__*/ (0, P.createContext)(null), iR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, nR);
- let n = (0, P.useContext)(gR), r = QL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = eR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Ax(), { direction: c } = lS();
+ [e, t] = pI(e, t, nR);
+ let n = (0, P.useContext)(gR), r = QL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = eR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = aS(), { direction: c } = RS();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -37959,12 +37959,12 @@ var nR = /*#__PURE__*/ (0, P.createContext)(null), rR = /*#__PURE__*/ (0, P.crea
});
});
function Que({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(rR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Qae({
+ let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(rR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Pae({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = $L(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = mI({
+ }, e), g = i.popoverRef, _ = $L(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = dI({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -37974,10 +37974,10 @@ function Que({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, P.useState)(i.trigger === "PreviewTrigger");
- pb(() => {
+ Vb(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, P.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Zb() !== "pointer") && g.current && !sb(g.current) && cx(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Ex() !== "pointer") && g.current && !Ab(g.current) && Lx(g.current);
}, [
x,
g,
@@ -37990,7 +37990,7 @@ function Que({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [y.children, r]), [w, T] = (0, P.useState)(null), E = (0, P.useCallback)(() => {
i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- pb(E, [E]), _E({
+ Vb(E, [E]), qE({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -38000,9 +38000,9 @@ function Que({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- pb(() => oD(() => u(!0)), []);
- let O = /*#__PURE__*/ P.createElement(bI.div, {
- ...K(kS(i, { global: !0 }), d),
+ Vb(() => ID(() => u(!0)), []);
+ let O = /*#__PURE__*/ P.createElement(vI.div, {
+ ...K(KS(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -38017,17 +38017,17 @@ function Que({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ P.createElement($E, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(Zue.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(kD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(Zue.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ P.createElement($E, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ P.createElement(pT, {
+ } }, C), /*#__PURE__*/ P.createElement(kD, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ P.createElement(UT, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ P.createElement(pT, {
+ }, O) : /*#__PURE__*/ P.createElement(UT, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -38117,7 +38117,7 @@ var ede = class {
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
function oR(e) {
- let { onExpandedChange: t } = e, [n, r] = VC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = BL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = GL(e, (0, P.useCallback)((e) => new ede(e, { expandedKeys: n }), [n]), null);
+ let { onExpandedChange: t } = e, [n, r] = _w(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = BL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = GL(e, (0, P.useCallback)((e) => new ede(e, { expandedKeys: n }), [n]), null);
return (0, P.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38138,11 +38138,11 @@ function tde(e, t) {
// node_modules/react-aria-components/dist/private/Menu.mjs
var sR = /*#__PURE__*/ (0, P.createContext)(null), cR = /*#__PURE__*/ (0, P.createContext)(null), lR = /*#__PURE__*/ (0, P.createContext)(null), uR = /*#__PURE__*/ (0, P.createContext)(null);
function nde(e) {
- let t = aR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = Jw({
+ let t = aR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = wT({
...e,
type: "menu"
}, t, n), a = (0, P.useRef)(null);
- return Ax() ? null : /*#__PURE__*/ P.createElement(pI, { values: [
+ return aS() ? null : /*#__PURE__*/ P.createElement(uI, { values: [
[sR, {
...i,
ref: a
@@ -38157,14 +38157,14 @@ function nde(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ P.createElement(xae, {
+ ] }, /*#__PURE__*/ P.createElement(Gie, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
var rde = /*#__PURE__*/ (0, P.createContext)(null);
-(class extends Vy {
+(class extends lb {
static {
this.type = "submenutrigger";
}
@@ -38178,23 +38178,23 @@ var rde = /*#__PURE__*/ (0, P.createContext)(null);
}
});
var ide = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- return [e, t] = gI(e, t, sR), /*#__PURE__*/ P.createElement(Px, { content: /*#__PURE__*/ P.createElement(Vx, e) }, (n) => /*#__PURE__*/ P.createElement(ade, {
+ return [e, t] = pI(e, t, sR), /*#__PURE__*/ P.createElement(lS, { content: /*#__PURE__*/ P.createElement(gS, e) }, (n) => /*#__PURE__*/ P.createElement(ade, {
props: e,
collection: n,
menuRef: t
}));
});
function ade({ props: e, collection: t, menuRef: n }) {
- [e, n] = gI(e, n, xI);
+ [e, n] = pI(e, n, yI);
let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = oR({
...e,
collection: a,
children: void 0
- }), s = (0, P.useContext)(lR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(EI), { menuProps: u } = zae({
+ }), s = (0, P.useContext)(lR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(TI), { menuProps: u } = lae({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = mI({
+ }, o, n), d = dI({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -38204,17 +38204,17 @@ function ade({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement($S, null, /*#__PURE__*/ P.createElement(bI.div, {
+ let p = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(gC, null, /*#__PURE__*/ P.createElement(vI.div, {
...K(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[cR, o],
[IL, { elementType: "div" }],
- [CI, {
+ [xI, {
name: "MenuSection",
render: dR
}],
@@ -38223,13 +38223,13 @@ function ade({ props: e, collection: t, menuRef: n }) {
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
[pR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [xI, null],
- [SI, null],
+ [yI, null],
+ [bI, null],
[uR, o.selectionManager],
[lR, s ?? aR({})]
] }, /*#__PURE__*/ P.createElement(PL, null, /*#__PURE__*/ P.createElement(l, {
collection: o.collection,
- persistedKeys: DI(o.selectionManager.focusedKey),
+ persistedKeys: EI(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
@@ -38254,10 +38254,10 @@ var ode = class extends HL {
}
};
function dR(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, P.useContext)(cR), { CollectionBranch: a } = (0, P.useContext)(EI), [o, s] = _I(), { headingProps: c, groupProps: l } = Vae({
+ let i = (0, P.useContext)(cR), { CollectionBranch: a } = (0, P.useContext)(TI), [o, s] = mI(), { headingProps: c, groupProps: l } = dae({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = mI({
+ }), u = dI({
...e,
id: void 0,
children: void 0,
@@ -38265,11 +38265,11 @@ function dR(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, P.useContext)(uR), f = BL(e), p = e.selectionMode == null ? d : new ode(d, f), m = hI(pR)?.shouldCloseOnSelect, h = kS(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ P.createElement(bI.section, {
+ }), d = (0, P.useContext)(uR), f = BL(e), p = e.selectionMode == null ? d : new ode(d, f), m = fI(pR)?.shouldCloseOnSelect, h = KS(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ P.createElement(vI.section, {
...K(h, u, l),
ref: t
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[NL, {
...c,
ref: o
@@ -38281,15 +38281,15 @@ function dR(e, t, n, r = "react-aria-MenuSection") {
parent: n
})));
}
-var fR = /*#__PURE__*/ Rx(dre, dR), pR = /*#__PURE__*/ (0, P.createContext)(null), mR = /*#__PURE__*/ Lx(Wy, function(e, t, n) {
- [e, t] = gI(e, t, pR);
- let r = hI(pR)?.id, i = (0, P.useContext)(cR), a = wx(t), o = (0, P.useContext)(uR), { isVirtualized: s } = (0, P.useContext)(EI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Bae({
+var fR = /*#__PURE__*/ pS(Une, dR), pR = /*#__PURE__*/ (0, P.createContext)(null), mR = /*#__PURE__*/ fS(fb, function(e, t, n) {
+ [e, t] = pI(e, t, pR);
+ let r = fI(pR)?.id, i = (0, P.useContext)(cR), a = $x(t), o = (0, P.useContext)(uR), { isVirtualized: s } = (0, P.useContext)(TI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = uae({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = yT({ isDisabled: f.isDisabled }), h = mI({
+ }, i, a), { hoverProps: p, isHovered: m } = YT({ isDisabled: f.isDisabled }), h = dI({
...e,
id: void 0,
children: n.rendered,
@@ -38303,7 +38303,7 @@ var fR = /*#__PURE__*/ Rx(dre, dR), pR = /*#__PURE__*/ (0, P.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? bI.a : bI.div, _ = kS(e, { global: !0 });
+ }), g = e.href ? vI.a : vI.div, _ = KS(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -38316,9 +38316,9 @@ var fR = /*#__PURE__*/ Rx(dre, dR), pR = /*#__PURE__*/ (0, P.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__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[PI, { slots: {
- [fI]: l,
+ [lI]: l,
label: l,
description: u
} }],
@@ -38326,7 +38326,7 @@ var fR = /*#__PURE__*/ Rx(dre, dR), pR = /*#__PURE__*/ (0, P.createContext)(null
[FL, { isSelected: f.isSelected }]
] }, h.children));
});
-Lx(Uy, function(e, t, n) {
+fS(db, function(e, t, n) {
let r = (0, P.useContext)(cR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);
JL((0, P.useMemo)(() => ({
onLoadMore: a,
@@ -38338,7 +38338,7 @@ Lx(Uy, function(e, t, n) {
o,
r?.collection
]), c);
- let l = mI({
+ let l = dI({
...s,
id: void 0,
children: n.rendered,
@@ -38360,8 +38360,8 @@ Lx(Uy, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(bI.div, {
- ...K(kS(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(vI.div, {
+ ...K(KS(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -38370,44 +38370,44 @@ Lx(Uy, function(e, t, n) {
// node_modules/react-aria-components/dist/private/Dialog.mjs
var hR = /*#__PURE__*/ (0, P.createContext)(null), gR = /*#__PURE__*/ (0, P.createContext)(null), _R = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = gI(e, t, hR);
- let { dialogProps: r, titleProps: i, contentProps: a } = Cae({
+ [e, t] = pI(e, t, hR);
+ let { dialogProps: r, titleProps: i, contentProps: a } = qie({
...e,
"aria-labelledby": n
}, t), o = (0, P.useContext)(gR);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = mI({
+ let s = dI({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(bI.section, {
+ }), c = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(vI.section, {
...K(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[MI, { slots: {
- [fI]: {},
+ [lI]: {},
title: {
...i,
level: 2
}
} }],
[PI, { slots: {
- [fI]: {},
+ [lI]: {},
description: a
} }],
[AI, { slots: {
- [fI]: {},
+ [lI]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
}), vR = typeof document < "u" && window.visualViewport;
function sde() {
- let e = Fb(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {
+ let e = ux(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {
width: 0,
height: 0
} : yR());
@@ -38417,15 +38417,15 @@ function sde() {
}, n = () => {
vR && vR.scale > 1 || e(yR());
}, i = (n) => {
- vR && vR.scale > 1 || Qx(G(n)) && (t.current = oD((t) => {
+ vR && vR.scale > 1 || DS(G(n)) && (t.current = ID((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(yR()), Cb() && wb() && window.addEventListener("blur", i, !0), vR ? vR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), Cb() && wb() && window.removeEventListener("blur", i, !0), vR ? vR.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(yR()), Qb() && $b() && window.addEventListener("blur", i, !0), vR ? vR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), Qb() && $b() && window.removeEventListener("blur", i, !0), vR ? vR.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
@@ -38458,8 +38458,8 @@ var cde = /*#__PURE__*/ (0, P.createContext)(null), bR = /*#__PURE__*/ (0, P.cre
}, s));
});
function ude(e, t) {
- [e, t] = gI(e, t, cde);
- let n = (0, P.useContext)(gR), r = QL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wx(t), o = (0, P.useRef)(null), s = eR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = eR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Fb();
+ [e, t] = pI(e, t, cde);
+ let n = (0, P.useContext)(gR), r = QL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $x(t), o = (0, P.useRef)(null), s = eR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = eR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ux();
return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(dde, {
...e,
state: i,
@@ -38471,10 +38471,10 @@ function ude(e, t) {
}
var xR = /*#__PURE__*/ (0, P.forwardRef)(ude);
function dde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = $L(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = _D({
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = $L(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Sae({
...n,
isEntering: c
- }, i, r), d = (0, P.useContext)(hR), f = t ? fde(d, { isEntering: c }) : d, p = mI({
+ }, i, r), d = (0, P.useContext)(hR), f = t ? fde(d, { isEntering: c }) : d, p = dI({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -38484,7 +38484,7 @@ function dde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
}
}), m = sde(), h, g;
if (typeof document < "u") {
- let e = vC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = HC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
}
let _ = {
@@ -38494,17 +38494,17 @@ function dde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
"--page-width": h === void 0 ? void 0 : h + "px",
"--page-height": g === void 0 ? void 0 : g + "px"
};
- return pb(() => oD(() => o(!0)), []), /*#__PURE__*/ P.createElement(pT, {
+ return Vb(() => ID(() => o(!0)), []), /*#__PURE__*/ P.createElement(UT, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ P.createElement(bI.div, {
- ...K(kS(n, { global: !0 }), u),
+ }, /*#__PURE__*/ P.createElement(vI.div, {
+ ...K(KS(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[bR, {
modalProps: l,
modalRef: r,
@@ -38535,7 +38535,7 @@ function fde(e, t) {
};
}
function SR(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(bR), s = (0, P.useContext)(gR), c = wx((0, P.useMemo)(() => hx(e.modalRef, n), [e.modalRef, n])), l = $L(c, o, e.onEnter), u = mI({
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(bR), s = (0, P.useContext)(gR), c = $x((0, P.useMemo)(() => Wx(e.modalRef, n), [e.modalRef, n])), l = $L(c, o, e.onEnter), u = dI({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -38544,20 +38544,20 @@ function SR(e) {
state: s
}
});
- return pb(() => {
+ return Vb(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ P.createElement(bI.div, {
- ...K(kS(e, { global: !0 }), t),
+ }), /*#__PURE__*/ P.createElement(vI.div, {
+ ...K(KS(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ P.createElement($E, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ P.createElement(kD, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
var pde = Math.round(Math.random() * 1e10), mde = 0;
function hde(e) {
- let t = (0, P.useMemo)(() => e.name || `radio-group-${pde}-${++mde}`, [e.name]), [n, r] = VC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = MC({
+ let t = (0, P.useMemo)(() => e.name || `radio-group-${pde}-${++mde}`, [e.name]), [n, r] = _w(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = cw({
...e,
value: n
}), c = (t) => {
@@ -38580,15 +38580,15 @@ function hde(e) {
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.createContext)(null), CR = /*#__PURE__*/ (0, P.createContext)(null), wR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, gde);
- let { validationBehavior: n } = hI(II) || {}, r = e.validationBehavior ?? n ?? "native", i = hde({
+ [e, t] = pI(e, t, gde);
+ let { validationBehavior: n } = fI(II) || {}, r = e.validationBehavior ?? n ?? "native", i = hde({
...e,
validationBehavior: r
- }), [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = eoe({
+ }), [a, o] = mI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Iae({
...e,
label: o,
validationBehavior: r
- }, i), f = mI({
+ }, i), f = dI({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -38599,8 +38599,8 @@ var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(bI.div, {
+ }), p = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(vI.div, {
...K(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -38609,9 +38609,9 @@ var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[CR, i],
- [OI, {
+ [DI, {
...c,
ref: a,
elementType: "span"
@@ -38624,9 +38624,9 @@ var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.cr
] }, /*#__PURE__*/ P.createElement(PL, null, f.children)));
}), TR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = gI(r, t, _de);
- let i = P.useContext(CR), a = wx((0, P.useMemo)(() => hx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = $ae({
- ...vI(e),
+ [e, t] = pI(r, t, _de);
+ let i = P.useContext(CR), a = $x((0, P.useMemo)(() => Wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Fae({
+ ...hI(e),
children: typeof e.children == "function" || e.children
}, i, a);
return /*#__PURE__*/ P.createElement(ER.Provider, { value: {
@@ -38638,10 +38638,10 @@ var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.cr
ref: t
}));
}), ER = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(ER), l = P.useContext(CR), { isFocused: u, isFocusVisible: d, focusProps: f } = hT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = yT({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(ER), l = P.useContext(CR), { isFocused: u, isFocusVisible: d, focusProps: f } = GT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = YT({
...e,
isDisabled: p
- }), g = mI({
+ }), g = dI({
...e,
defaultClassName: s,
values: {
@@ -38655,8 +38655,8 @@ var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = kS(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(bI.label, {
+ }), _ = KS(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(vI.label, {
...K(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -38668,7 +38668,7 @@ var gde = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ P.createElement(ZC, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Dw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...K(r, f),
ref: c
})), g.children);
@@ -38679,7 +38679,7 @@ function yde(e) {
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = VC((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = _w((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -38706,7 +38706,7 @@ function yde(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = MC({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = cw({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);
@@ -38740,8 +38740,8 @@ function bde(e) {
function xde(e) {
return e && e.__esModule ? e.default : e;
}
-var DR = /*#__PURE__*/ (0, P.createContext)(null), OR = /*#__PURE__*/ (0, P.createContext)(null), Sde = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, DR);
+var DR = /*#__PURE__*/ (0, P.createContext)(null), OR = /*#__PURE__*/ (0, P.createContext)(null), Sde = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, DR);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -38756,24 +38756,24 @@ var DR = /*#__PURE__*/ (0, P.createContext)(null), OR = /*#__PURE__*/ (0, P.crea
i,
a
]);
- return /*#__PURE__*/ P.createElement(Px, { content: o }, (n) => /*#__PURE__*/ P.createElement(wde, {
+ return /*#__PURE__*/ P.createElement(lS, { content: o }, (n) => /*#__PURE__*/ P.createElement(wde, {
props: e,
collection: n,
selectRef: t
}));
}), Cde = [
- OI,
+ DI,
AI,
PI
];
function wde({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = hI(II) || {}, i = e.validationBehavior ?? r ?? "native", a = yde({
+ let { validationBehavior: r } = fI(II) || {}, i = e.validationBehavior ?? r ?? "native", a = yde({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = hT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = _I(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = toe({
- ...vI(e),
+ }), { isFocusVisible: o, focusProps: s } = GT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = mI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Lae({
+ ...hI(e),
label: u,
validationBehavior: i
}, a, c), y = (0, P.useMemo)(() => ({
@@ -38790,18 +38790,18 @@ function wde({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = mI({
+ ]), b = dI({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = kS(e, { global: !0 });
+ }), x = KS(e, { global: !0 });
delete x.id;
let S = (0, P.useRef)(null);
- return /*#__PURE__*/ P.createElement(pI, { values: [
+ return /*#__PURE__*/ P.createElement(uI, { values: [
[DR, e],
[OR, a],
[kR, p],
- [OI, {
+ [DI, {
...d,
ref: l,
elementType: "span"
@@ -38831,7 +38831,7 @@ function wde({ props: e, selectRef: t, collection: n }) {
errorMessage: g
} }],
[FI, v]
- ] }, /*#__PURE__*/ P.createElement(bI.div, {
+ ] }, /*#__PURE__*/ P.createElement(vI.div, {
...K(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -38841,14 +38841,14 @@ function wde({ 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__*/ P.createElement(roe, {
+ }, b.children, /*#__PURE__*/ P.createElement(zae, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, kR);
- let n = (0, P.useContext)(OR), { placeholder: r } = hI(DR), i = n.selectedItems.map((e) => {
+for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, kR);
+ let n = (0, P.useContext)(OR), { placeholder: r } = fI(DR), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -38860,7 +38860,7 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = wae(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Jie(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -38875,7 +38875,7 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
a,
o,
i
- ]), u = SS(xde(OL), "react-aria-components"), d = mI({
+ ]), u = WS(xde(OL), "react-aria-components"), d = dI({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -38886,8 +38886,8 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(bI.span, {
+ }), f = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(vI.span, {
ref: t,
...f,
...d,
@@ -38895,12 +38895,12 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
}, /*#__PURE__*/ P.createElement(PI.Provider, { value: void 0 }, d.children));
}), Ede = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.createContext)(null), Dde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = gI(r, t, Ede);
- let i = wx((0, P.useMemo)(() => hx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = HC(e), o = aoe({
- ...vI(e),
+ [e, t] = pI(r, t, Ede);
+ let i = $x((0, P.useMemo)(() => Wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = vw(e), o = Vae({
+ ...hI(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ P.createElement(pI, { values: [[AR, a], [jR, {
+ return /*#__PURE__*/ P.createElement(uI, { values: [[AR, a], [jR, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
@@ -38909,10 +38909,10 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
ref: t
}));
}), jR = /*#__PURE__*/ (0, P.createContext)(null), Ode = /*#__PURE__*/ (0, P.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, P.useContext)(jR), { isFocused: f, isFocusVisible: p, focusProps: m } = hT(), h = a || o, g = (0, P.useContext)(AR), { hoverProps: _, isHovered: v } = yT({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, P.useContext)(jR), { isFocused: f, isFocusVisible: p, focusProps: m } = GT(), h = a || o, g = (0, P.useContext)(AR), { hoverProps: _, isHovered: v } = YT({
...e,
isDisabled: h
- }), y = mI({
+ }), y = dI({
...e,
defaultClassName: u,
values: {
@@ -38927,8 +38927,8 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
isRequired: d || !1,
state: g
}
- }), b = kS(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(bI.label, {
+ }), b = KS(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(vI.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38941,7 +38941,7 @@ for (var kR = /*#__PURE__*/ (0, P.createContext)(null), Tde = /*#__PURE__*/ kx(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ P.createElement(ZC, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Dw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...K(r, m),
ref: l
})), y.children);
@@ -39282,10 +39282,10 @@ var Ade = class extends kde {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return eT(this.body.childNodes)?.key ?? null;
+ return AT(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return nT(this.body.childNodes)?.key ?? null;
+ return MT(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -39490,8 +39490,8 @@ function Lde(e) {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = $w(n, t);
- e = r === "last" ? nT(i)?.key ?? null : eT(i)?.key ?? null;
+ let i = kT(n, t);
+ e = r === "last" ? MT(i)?.key ?? null : AT(i)?.key ?? null;
}
}
a(e, r);
@@ -39516,7 +39516,7 @@ function Lde(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...$w(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...kT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -39553,7 +39553,7 @@ function zde(e) {
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = VC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = _w(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -39590,7 +39590,7 @@ function Bde(e, t) {
function Vde(e) {
return e && e.__esModule ? e.default : e;
}
-var Hde = class extends Gy {
+var Hde = class extends pb {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -39715,18 +39715,18 @@ var Hde = class extends Gy {
super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new GR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
}, VR = /*#__PURE__*/ (0, P.createContext)(null), Ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let n = wx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);
- pb(() => {
+ let n = $x(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);
+ Vb(() => {
let e = r.current;
- for (; e && e !== n.current && !vC(e);) e = e.parentElement;
+ for (; e && e !== n.current && !HC(e);) e = e.parentElement;
i.current = e;
- }, [n]), _E({
+ }, [n]), qE({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), pb(() => {
+ }), Vb(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, P.useMemo)(() => ({
@@ -39744,16 +39744,16 @@ var Hde = class extends Gy {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ P.createElement(bI.div, {
+ return /*#__PURE__*/ P.createElement(vI.div, {
render: e.render,
- ...kS(e, { global: !0 }),
+ ...KS(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
}, /*#__PURE__*/ P.createElement(VR.Provider, { value: s }, e.children));
}), Wde = /*#__PURE__*/ (0, P.createContext)(null), HR = /*#__PURE__*/ (0, P.createContext)(null), UR = /*#__PURE__*/ (0, P.createContext)(null), Gde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, Wde);
+ [e, t] = pI(e, t, Wde);
let n = BL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
@@ -39764,8 +39764,8 @@ var Hde = class extends Gy {
i,
a,
o
- ]), c = /*#__PURE__*/ P.createElement(Jde.Provider, { value: s }, /*#__PURE__*/ P.createElement(Vx, e));
- return /*#__PURE__*/ P.createElement(Px, {
+ ]), c = /*#__PURE__*/ P.createElement(Jde.Provider, { value: s }, /*#__PURE__*/ P.createElement(gS, e));
+ return /*#__PURE__*/ P.createElement(lS, {
content: c,
createCollection: () => new Hde()
}, (r) => /*#__PURE__*/ P.createElement(qde, {
@@ -39775,11 +39775,11 @@ var Hde = class extends Gy {
collection: r
}));
}), Kde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.table, {
+ }) : /*#__PURE__*/ P.createElement(vI.table, {
...e,
ref: t
});
@@ -39794,10 +39794,10 @@ var Hde = class extends Gy {
}
};
function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = gI(e, t, xI);
+ [e, t] = pI(e, t, yI);
let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(VR);
- t = wx((0, P.useMemo)(() => hx(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = VC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ t = $x((0, P.useMemo)(() => Wx(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = _w(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, P.useMemo)(() => r.withExpandedKeys(l), [r, l]);
let d = zde({
...s,
@@ -39806,13 +39806,13 @@ function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Bde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(EI), { dragAndDropHooks: _ } = e, { gridProps: v } = uoe({
+ }), f = Bde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(TI), { dragAndDropHooks: _ } = e, { gridProps: v } = Kae({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, P.useRef)(b), (0, P.useRef)(x), (0, P.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = lS(), [k] = (0, P.useState)(() => new PR());
+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = RS(), [k] = (0, P.useState)(() => new PR());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -39827,7 +39827,7 @@ function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new uw({
+ let e = new Bw({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -39852,7 +39852,7 @@ function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = hT(), ee = mI({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = GT(), ee = dI({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -39868,8 +39868,8 @@ function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let re = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(pI, { values: [
+ let re = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(uI, { values: [
[HR, f],
[UR, N],
[kL, {
@@ -39878,9 +39878,9 @@ function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
dropState: C
}],
[AL, { render: ife }],
- [xI, null],
- [SI, null]
- ] }, /*#__PURE__*/ P.createElement($S, null, /*#__PURE__*/ P.createElement(Kde, {
+ [yI, null],
+ [bI, null]
+ ] }, /*#__PURE__*/ P.createElement(gC, null, /*#__PURE__*/ P.createElement(Kde, {
...K(re, ee, v, A, w?.collectionProps),
style: ne,
ref: t,
@@ -39896,21 +39896,21 @@ function qde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: ML(y, _, C)
})))), E);
}
-var Jde = /*#__PURE__*/ (0, P.createContext)(null), GR = class extends Vy {
+var Jde = /*#__PURE__*/ (0, P.createContext)(null), GR = class extends lb {
static {
this.type = "tableheader";
}
}, Yde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.thead, {
+ }) : /*#__PURE__*/ P.createElement(vI.thead, {
...e,
ref: t
});
-}), KR = /*#__PURE__*/ Rx(GR, (e, t) => {
- let n = (0, P.useContext)(HR).collection, r = Yy({
+}), KR = /*#__PURE__*/ pS(GR, (e, t) => {
+ let n = (0, P.useContext)(HR).collection, r = _b({
items: n.headerRows,
children: (0, P.useCallback)((e) => {
switch (e.type) {
@@ -39918,27 +39918,27 @@ var Jde = /*#__PURE__*/ (0, P.createContext)(null), GR = class extends Vy {
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = PO(), { hoverProps: a, isHovered: o } = yT({
+ }), { rowGroupProps: i } = QO(), { hoverProps: a, isHovered: o } = YT({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = mI({
+ }), s = dI({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
return /*#__PURE__*/ P.createElement(Yde, {
- ...K(kS(e, { global: !0 }), i, a),
+ ...K(KS(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ P.createElement(Vx, {
+}, (e) => /*#__PURE__*/ P.createElement(gS, {
dependencies: e.dependencies,
items: e.columns
}, e.children)), Xde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
+ let { isVirtualized: n } = (0, P.useContext)(TI);
return n ? /*#__PURE__*/ P.createElement("div", {
...e,
ref: t
@@ -39948,40 +39948,40 @@ var Jde = /*#__PURE__*/ (0, P.createContext)(null), GR = class extends Vy {
});
});
function Zde({ item: e }) {
- let t = (0, P.useRef)(null), n = (0, P.useContext)(HR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(EI), { rowProps: a } = goe({
+ let t = (0, P.useRef)(null), n = (0, P.useContext)(HR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(TI), { rowProps: a } = Qae({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Coe(n);
+ }, n, t), { checkboxProps: o } = aoe(n);
return /*#__PURE__*/ P.createElement(Xde, {
...a,
ref: t
- }, /*#__PURE__*/ P.createElement(pI, { values: [[LI, { slots: { selection: o } }], [RI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {
+ }, /*#__PURE__*/ P.createElement(uI, { values: [[LI, { slots: { selection: o } }], [RI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Qde = class extends Vy {
+var Qde = class extends lb {
static {
this.type = "column";
}
}, $de = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.th, {
+ }) : /*#__PURE__*/ P.createElement(vI.th, {
...e,
ref: t
});
-}), qR = /*#__PURE__*/ Lx(Qde, (e, t, n) => {
- let r = wx(t), i = (0, P.useContext)(HR), { isVirtualized: a } = (0, P.useContext)(EI), { columnHeaderProps: o, isPressed: s } = poe({
+}), qR = /*#__PURE__*/ fS(Qde, (e, t, n) => {
+ let r = $x(t), i = (0, P.useContext)(HR), { isVirtualized: a } = (0, P.useContext)(TI), { columnHeaderProps: o, isPressed: s } = Yae({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = hT(), d = (0, P.useContext)(UR), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = GT(), d = (0, P.useContext)(UR), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = yT({ isDisabled: !e.allowsSorting }), h = mI({
+ let { hoverProps: p, isHovered: m } = YT({ isDisabled: !e.allowsSorting }), h = dI({
...e,
id: void 0,
children: n.rendered,
@@ -40007,7 +40007,7 @@ var Qde = class extends Vy {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = kS(e, { global: !0 });
+ let _ = KS(e, { global: !0 });
return delete _.id, /*#__PURE__*/ P.createElement($de, {
...K(_, o, u, p),
...h,
@@ -40020,29 +40020,29 @@ var Qde = class extends Vy {
"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__*/ P.createElement(pI, { values: [[JR, {
+ }, /*#__PURE__*/ P.createElement(uI, { values: [[JR, {
column: n,
triggerRef: r
- }], [EI, wI]] }, h.children));
+ }], [TI, SI]] }, h.children));
}), JR = /*#__PURE__*/ (0, P.createContext)(null), efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let n = (0, P.useContext)(UR);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = SS(Vde(OL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(VR), { column: s, triggerRef: c } = (0, P.useContext)(JR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = hoe({
+ let r = WS(Vde(OL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(VR), { column: s, triggerRef: c } = (0, P.useContext)(JR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Zae({
column: s,
"aria-label": e["aria-label"] || r.format("tableResizer"),
onResizeStart: i,
onResize: a,
onResizeEnd: o,
triggerRef: c
- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = hT(), { hoverProps: _, isHovered: v } = yT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = lS(), S = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = GT(), { hoverProps: _, isHovered: v } = YT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = RS(), S = "both";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = wx(t), [w, T] = (0, P.useState)("");
+ let C = $x(t), [w, T] = (0, P.useState)("");
(0, P.useEffect)(() => {
if (!C.current) return;
let e = window.getComputedStyle(C.current);
T(e.cursor);
}, [C, S]);
- let E = mI({
+ let E = dI({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -40052,8 +40052,8 @@ var Qde = class extends Vy {
isHovered: v,
resizableDirection: S
}
- }), D = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(bI.div, {
+ }), D = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(vI.div, {
ref: C,
role: "presentation",
...K(D, E, u, _),
@@ -40076,24 +40076,24 @@ var Qde = class extends Vy {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), YR = class extends Hy {
+}), YR = class extends ub {
static {
this.type = "tablebody";
}
}, tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.tbody, {
+ }) : /*#__PURE__*/ P.createElement(vI.tbody, {
...e,
ref: t
});
-}), XR = /*#__PURE__*/ Rx(YR, (e, t, n) => {
- let r = (0, P.useContext)(HR), { isVirtualized: i } = (0, P.useContext)(EI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(EI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(kL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), XR = /*#__PURE__*/ pS(YR, (e, t, n) => {
+ let r = (0, P.useContext)(HR), { isVirtualized: i } = (0, P.useContext)(TI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(TI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(kL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = mI({
+ }, p = dI({
...e,
id: void 0,
children: void 0,
@@ -40112,7 +40112,7 @@ var Qde = class extends Vy {
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = PO(), _ = kS(e, { global: !0 });
+ let { rowGroupProps: g } = QO(), _ = KS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(tfe, {
...K(_, p, g),
ref: t,
@@ -40123,12 +40123,12 @@ var Qde = class extends Vy {
renderDropIndicator: jL(s, c)
}), m);
});
-(class extends Hy {
+(class extends ub {
static {
this.type = "tablefooter";
}
});
-var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nfe = class extends Vy {
+var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nfe = class extends lb {
static {
this.type = "item";
}
@@ -40141,30 +40141,30 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
return null;
}
}, QR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.tr, {
+ }) : /*#__PURE__*/ P.createElement(vI.tr, {
...e,
ref: t
});
-}), $R = /*#__PURE__*/ Rx(nfe, (e, t, n) => {
- let r = wx(t), i = (0, P.useContext)(HR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(kL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(EI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = yoe({
+}), $R = /*#__PURE__*/ pS(nfe, (e, t, n) => {
+ let r = $x(t), i = (0, P.useContext)(HR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(kL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(TI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = toe({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = hT(), { isFocusVisible: _, focusProps: v } = hT({ within: !0 }), { hoverProps: y, isHovered: b } = yT({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = GT(), { isFocusVisible: _, focusProps: v } = GT({ within: !0 }), { hoverProps: y, isHovered: b } = YT({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Soe({ key: n.key }, i), S;
+ }), { checkboxProps: x } = ioe({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = XC();
+ let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = Ew();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -40174,7 +40174,7 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
(0, P.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 = mI({
+ 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 = dI({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -40195,7 +40195,7 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
isExpanded: j,
level: n.level + 1
}
- }), ee = kS(e, { global: !0 });
+ }), ee = KS(e, { global: !0 });
return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(QR, {
role: "row",
style: { height: 0 }
@@ -40224,17 +40224,17 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[LI, { slots: {
- [fI]: {},
+ [lI]: {},
selection: x
} }],
[RI, { slots: {
- [fI]: {},
+ [lI]: {},
selection: x
} }],
[AI, { slots: {
- [fI]: {},
+ [lI]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -40251,34 +40251,34 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ P.createElement(Vx, {
+ return /*#__PURE__*/ P.createElement(gS, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), rfe = class extends Vy {
+}), rfe = class extends lb {
static {
this.type = "cell";
}
}, ez = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.td, {
+ }) : /*#__PURE__*/ P.createElement(vI.td, {
...e,
ref: t
});
-}), tz = /*#__PURE__*/ Lx(rfe, (e, t, n) => {
- let r = wx(t), i = (0, P.useContext)(HR), { dragState: a } = (0, P.useContext)(kL), { isVirtualized: o } = (0, P.useContext)(EI);
+}), tz = /*#__PURE__*/ fS(rfe, (e, t, n) => {
+ let r = $x(t), i = (0, P.useContext)(HR), { dragState: a } = (0, P.useContext)(kL), { isVirtualized: o } = (0, P.useContext)(TI);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = doe({
+ let { gridCellProps: s, isPressed: c } = qae({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = hT(), { hoverProps: f, isHovered: p } = yT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(ZR), 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 = mI({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = GT(), { hoverProps: f, isHovered: p } = YT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(ZR), 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 = dI({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -40297,7 +40297,7 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = kS(e, { global: !0 });
+ }), S = KS(e, { global: !0 });
return delete S.id, /*#__PURE__*/ P.createElement(ez, {
...K(S, x, s, d, f),
ref: r,
@@ -40312,10 +40312,10 @@ var ZR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), nf
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ P.createElement(EI.Provider, { value: wI }, x.children));
+ }, /*#__PURE__*/ P.createElement(TI.Provider, { value: SI }, x.children));
});
function ife(e, t) {
- t = wx(t);
+ t = $x(t);
let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(kL), i = (0, P.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;
@@ -40329,33 +40329,33 @@ function ife(e, t) {
});
}
var afe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.tr, {
+ }) : /*#__PURE__*/ P.createElement(vI.tr, {
...e,
ref: t
});
}), ofe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, P.useContext)(EI);
- return n ? /*#__PURE__*/ P.createElement(bI.div, {
+ let { isVirtualized: n } = (0, P.useContext)(TI);
+ return n ? /*#__PURE__*/ P.createElement(vI.div, {
...e,
ref: t
- }) : /*#__PURE__*/ P.createElement(bI.td, {
+ }) : /*#__PURE__*/ P.createElement(vI.td, {
...e,
ref: t
});
});
function sfe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(HR), { visuallyHiddenProps: c } = XC(), l = mI({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(HR), { visuallyHiddenProps: c } = Ew(), l = dI({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
return /*#__PURE__*/ P.createElement(afe, {
- ...kS(e, { global: !0 }),
+ ...KS(e, { global: !0 }),
...l,
role: "row",
ref: t,
@@ -40374,7 +40374,7 @@ function sfe(e, t) {
}
var cfe = /*#__PURE__*/ (0, P.forwardRef)(sfe);
function lfe() {
- let e = (0, P.useContext)(HR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(kL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = XC();
+ let e = (0, P.useContext)(HR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(kL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Ew();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(QR, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -40390,8 +40390,8 @@ function lfe() {
ref: r
})));
}
-Lx(Uy, function(e, t, n) {
- let r = (0, P.useContext)(HR), { isVirtualized: i } = (0, P.useContext)(EI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);
+fS(db, function(e, t, n) {
+ let r = (0, P.useContext)(HR), { isVirtualized: i } = (0, P.useContext)(TI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);
JL((0, P.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
@@ -40402,7 +40402,7 @@ Lx(Uy, function(e, t, n) {
s,
r?.collection
]), u);
- let d = mI({
+ let d = dI({
...c,
id: void 0,
children: n.rendered,
@@ -40425,7 +40425,7 @@ Lx(Uy, function(e, t, n) {
width: 1
}
}))), a && d.children && /*#__PURE__*/ P.createElement(QR, {
- ...K(kS(e, { global: !0 }), f),
+ ...K(KS(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
@@ -40439,7 +40439,7 @@ Lx(Uy, function(e, t, n) {
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
function ufe(e) {
- let [t, n] = VC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = KL({
+ let [t, n] = _w(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = KL({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40488,12 +40488,12 @@ function nz(e, t) {
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
var rz = /*#__PURE__*/ (0, P.createContext)(null), iz = /*#__PURE__*/ (0, P.createContext)(null), ffe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, rz);
+ [e, t] = pI(e, t, rz);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, P.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ P.createElement(Px, { content: n }, (n) => /*#__PURE__*/ P.createElement(pfe, {
+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(lS, { content: n }, (n) => /*#__PURE__*/ P.createElement(pfe, {
props: e,
collection: n,
tabsRef: t
@@ -40504,7 +40504,7 @@ function pfe({ props: e, tabsRef: t, collection: n }) {
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = hT({ within: !0 }), c = (0, P.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = GT({ within: !0 }), c = (0, P.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -40512,12 +40512,12 @@ function pfe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = mI({
+ ]), l = dI({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(bI.div, {
+ }), u = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(vI.div, {
...K(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -40525,20 +40525,20 @@ function pfe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [[rz, e], [iz, i]] }, l.children));
+ }, /*#__PURE__*/ P.createElement(uI, { values: [[rz, e], [iz, i]] }, l.children));
}
var az = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
return (0, P.useContext)(iz) ? /*#__PURE__*/ P.createElement(mfe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ P.createElement(Vx, e);
+ }) : /*#__PURE__*/ P.createElement(gS, e);
});
function mfe({ props: e, forwardedRef: t }) {
- let n = (0, P.useContext)(iz), { CollectionRoot: r } = (0, P.useContext)(EI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = hI(rz), o = wx(t), { tabListProps: s } = Eoe({
+ let n = (0, P.useContext)(iz), { CollectionRoot: r } = (0, P.useContext)(TI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = fI(rz), o = $x(t), { tabListProps: s } = coe({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = mI({
+ }, n, o), c = dI({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -40546,30 +40546,30 @@ function mfe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = kS(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ P.createElement(bI.div, {
+ }), l = KS(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ P.createElement(vI.div, {
...K(l, c, s),
ref: o,
"data-orientation": i || void 0
}, /*#__PURE__*/ P.createElement(PL, null, /*#__PURE__*/ P.createElement(r, {
collection: n.collection,
- persistedKeys: DI(n.selectionManager.focusedKey)
+ persistedKeys: EI(n.selectionManager.focusedKey)
})));
}
-var hfe = /*#__PURE__*/ Lx(class extends Vy {
+var hfe = /*#__PURE__*/ fS(class extends lb {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, P.useContext)(iz), i = wx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = woe({
+ let r = (0, P.useContext)(iz), i = $x(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ooe({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = hT(), { hoverProps: f, isHovered: p } = yT({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = GT(), { hoverProps: f, isHovered: p } = YT({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = mI({
+ }), m = dI({
...e,
id: void 0,
children: n.rendered,
@@ -40582,7 +40582,7 @@ var hfe = /*#__PURE__*/ Lx(class extends Vy {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? bI.a : bI.div, g = kS(e, { global: !0 });
+ }), h = n.props.href ? vI.a : vI.div, g = KS(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {
...K(g, m, a, l, f),
ref: i,
@@ -40593,8 +40593,8 @@ var hfe = /*#__PURE__*/ Lx(class extends Vy {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ P.createElement(FL.Provider, { value: { isSelected: o } }, m.children));
-}), gfe = /*#__PURE__*/ kx(function(e, t) {
- let n = (0, P.useContext)(iz), r = wx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);
+}), gfe = /*#__PURE__*/ iS(function(e, t) {
+ let n = (0, P.useContext)(iz), r = $x(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = eR(r, i);
return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(_fe, {
@@ -40605,7 +40605,7 @@ var hfe = /*#__PURE__*/ Lx(class extends Vy {
});
});
function _fe(e) {
- let t = (0, P.useContext)(iz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Doe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = hT(), d = t.selectedKey === e.id, f = $L(r) && !i, p = mI({
+ let t = (0, P.useContext)(iz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = loe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = GT(), d = t.selectedKey === e.id, f = $L(r) && !i, p = dI({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -40616,10 +40616,10 @@ function _fe(e) {
isExiting: a,
state: t
}
- }), m = kS(o, { global: !0 });
+ }), m = KS(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
- return /*#__PURE__*/ P.createElement(bI.div, {
+ return /*#__PURE__*/ P.createElement(vI.div, {
...h,
ref: r,
"data-focused": l || void 0,
@@ -40628,18 +40628,18 @@ function _fe(e) {
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [[rz, null], [iz, null]] }, /*#__PURE__*/ P.createElement(EI.Provider, { value: wI }, p.children)));
+ }, /*#__PURE__*/ P.createElement(uI, { values: [[rz, null], [iz, null]] }, /*#__PURE__*/ P.createElement(TI.Provider, { value: SI }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
}, yfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = gI(e, t, oz);
- let { hoverProps: n, isHovered: r } = yT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = hT({
+ [e, t] = pI(e, t, oz);
+ let { hoverProps: n, isHovered: r } = YT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = GT({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = mI({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = dI({
...e,
values: {
isHovered: r,
@@ -40650,7 +40650,7 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ P.createElement(bI.textarea, {
+ return /*#__PURE__*/ P.createElement(vI.textarea, {
...K(vfe(e), o, n),
...c,
ref: t,
@@ -40660,18 +40660,18 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), bfe = /*#__PURE__*/ (0, P.createContext)(null), xfe = /*#__PURE__*/ kx(function(e, t) {
- [e, t] = gI(e, t, bfe);
- let { validationBehavior: n } = hI(II) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);
- [e, i] = gI(e, i, SI);
- let [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = oae({
- ...vI(e),
+}), bfe = /*#__PURE__*/ (0, P.createContext)(null), xfe = /*#__PURE__*/ iS(function(e, t) {
+ [e, t] = pI(e, t, bfe);
+ let { validationBehavior: n } = fI(II) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);
+ [e, i] = pI(e, i, bI);
+ let [a, o] = mI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Aie({
+ ...hI(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, P.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = mI({
+ }, [i]), h = dI({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -40680,8 +40680,8 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = kS(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ P.createElement(bI.div, {
+ }), g = KS(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ P.createElement(vI.div, {
...g,
...h,
ref: t,
@@ -40690,8 +40690,8 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [
- [OI, {
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
+ [DI, {
...l,
ref: a
}],
@@ -40714,7 +40714,7 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
} }],
[FI, p]
] }, h.children));
-}), Sfe = class e extends Gy {
+}), Sfe = class e extends pb {
withExpandedKeys(t, n) {
let r = this.clone();
return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;
@@ -40787,8 +40787,8 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
}, Cfe = /*#__PURE__*/ (0, P.createContext)(null), sz = /*#__PURE__*/ (0, P.createContext)(null), wfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- return [e, t] = gI(e, t, Cfe), /*#__PURE__*/ P.createElement(Px, {
- content: /*#__PURE__*/ P.createElement(Vx, e),
+ return [e, t] = pI(e, t, Cfe), /*#__PURE__*/ P.createElement(lS, {
+ content: /*#__PURE__*/ P.createElement(gS, e),
createCollection: () => new Sfe()
}, (n) => /*#__PURE__*/ P.createElement(Tfe, {
props: e,
@@ -40806,14 +40806,14 @@ var oz = /*#__PURE__*/ (0, P.createContext)({}), vfe = (e) => {
}
};
function Tfe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = lS(), a = cT({
+ let { dragAndDropHooks: r } = e, { direction: i } = RS(), a = RT({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, P.useRef)(o), l = (0, P.useRef)(s);
(0, P.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, P.useContext)(EI), [y, b] = VC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.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, P.useContext)(TI), [y, b] = _w(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));
Mfe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
let D = oR({
...e,
@@ -40823,7 +40823,7 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Ooe({
+ }), { gridProps: O } = uoe({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -40845,7 +40845,7 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });
ne.setup(e, D, i);
- let t = new uw({
+ let t = new Bw({
collection: D.collection,
collator: a,
ref: n,
@@ -40872,7 +40872,7 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
}
}, A, n), M = A.isDropTarget({ type: "root" });
}
- let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = hT(), ae = {
+ let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = GT(), ae = {
isEmpty: D.collection.size === 0,
isFocused: ie,
isFocusVisible: F,
@@ -40880,7 +40880,7 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
selectionMode: D.selectionManager.selectionMode,
allowsDragging: !!N,
state: D
- }, oe = mI({
+ }, oe = dI({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -40897,8 +40897,8 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let ce = kS(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement($S, null, /*#__PURE__*/ P.createElement(bI.div, {
+ let ce = KS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(gC, null, /*#__PURE__*/ P.createElement(vI.div, {
...K(ce, oe, O, re, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -40908,7 +40908,7 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": F || void 0,
"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,
"data-allows-dragging": !!N || void 0
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[sz, D],
[kL, {
dragAndDropHooks: r,
@@ -40923,39 +40923,39 @@ function Tfe({ props: e, collection: t, treeRef: n }) {
renderDropIndicator: jL(r, A)
}))), se)), ee);
}
-var Efe = /*#__PURE__*/ Lx(class extends Vy {
+var Efe = /*#__PURE__*/ fS(class extends lb {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, P.useContext)(lz), n = mI({
+ let t = (0, P.useContext)(lz), n = dI({
children: e.children,
values: t
});
- return /*#__PURE__*/ P.createElement(EI.Provider, { value: wI }, n.children);
-}), lz = /*#__PURE__*/ (0, P.createContext)(null), Dfe = /*#__PURE__*/ Rx(class extends Vy {
+ return /*#__PURE__*/ P.createElement(TI.Provider, { value: SI }, n.children);
+}), lz = /*#__PURE__*/ (0, P.createContext)(null), Dfe = /*#__PURE__*/ pS(class extends lb {
static {
this.type = "item";
}
}, (e, t, n) => {
let r = (0, P.useContext)(sz);
- t = wx(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(kL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = vk({
+ t = $x(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(kL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ik({
node: n,
shouldSelectOnPressUp: !!a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = yT({
+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = YT({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = hT(), { isFocusVisible: b, focusProps: x } = hT({ within: !0 }), { checkboxProps: S } = Fae({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = GT(), { isFocusVisible: b, focusProps: x } = GT({ within: !0 }), { checkboxProps: S } = aae({ key: n.key }, r), C = null;
a && i && (C = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = XC();
+ let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = Ew();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -40994,7 +40994,7 @@ var Efe = /*#__PURE__*/ Lx(class extends Vy {
A,
M,
j
- ]), te = mI({
+ ]), te = dI({
...e,
id: void 0,
children: n.rendered,
@@ -41011,7 +41011,7 @@ var Efe = /*#__PURE__*/ Lx(class extends Vy {
(0, P.useEffect)(() => {
a && ne.current;
}, []);
- let N = Yy({
+ let N = _b({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -41021,7 +41021,7 @@ var Efe = /*#__PURE__*/ Lx(class extends Vy {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), re = px(), ie = kS(e, { global: !0 });
+ }), re = Hx(), ie = KS(e, { global: !0 });
return delete ie.id, delete ie.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, w && !w.isHidden && /*#__PURE__*/ P.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -41044,7 +41044,7 @@ var Efe = /*#__PURE__*/ Lx(class extends Vy {
"aria-labelledby": `${re} ${c.id}`,
tabIndex: -1,
ref: D
- }))), /*#__PURE__*/ P.createElement(bI.div, {
+ }))), /*#__PURE__*/ P.createElement(vI.div, {
...K(ie, c, y, g, x, C?.dragProps),
...te,
ref: t,
@@ -41064,17 +41064,17 @@ var Efe = /*#__PURE__*/ Lx(class extends Vy {
}, /*#__PURE__*/ P.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ P.createElement(pI, { values: [
+ }, /*#__PURE__*/ P.createElement(uI, { values: [
[LI, { slots: {
- [fI]: {},
+ [lI]: {},
selection: S
} }],
[RI, { slots: {
- [fI]: {},
+ [lI]: {},
selection: S
} }],
[AI, { slots: {
- [fI]: {},
+ [lI]: {},
chevron: {
...u,
ref: T
@@ -41089,8 +41089,8 @@ var Efe = /*#__PURE__*/ Lx(class extends Vy {
[FL, { isSelected: f.isSelected }]
] }, N))));
});
-Lx(Uy, function(e, t, n) {
- let { isVirtualized: r } = (0, P.useContext)(EI), i = (0, P.useContext)(sz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);
+fS(db, function(e, t, n) {
+ let { isVirtualized: r } = (0, P.useContext)(TI), i = (0, P.useContext)(sz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);
JL((0, P.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
@@ -41100,11 +41100,11 @@ Lx(Uy, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = wx(t);
- let { rowProps: u, gridCellProps: d } = vk({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = $x(t);
+ let { rowProps: u, gridCellProps: d } = Ik({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = mI({
+ }, m = dI({
...c,
id: void 0,
children: n.rendered,
@@ -41126,9 +41126,9 @@ Lx(Uy, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ P.createElement(bI.div, {
+ })), a && m.children && /*#__PURE__*/ P.createElement(vI.div, {
ref: t,
- ...K(kS(e), p),
+ ...K(KS(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ P.createElement("div", {
@@ -41137,7 +41137,7 @@ Lx(Uy, function(e, t, n) {
}, m.children)));
});
function Ofe(e, t) {
- t = wx(t);
+ t = $x(t);
let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(kL), i = (0, P.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;
@@ -41151,7 +41151,7 @@ function Ofe(e, t) {
});
}
function kfe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = XC(), c = mI({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = Ew(), c = dI({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -41160,7 +41160,7 @@ function kfe(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ P.createElement(bI.div, {
+ return /*#__PURE__*/ P.createElement(vI.div, {
...c,
role: "row",
"aria-level": a,
@@ -41175,7 +41175,7 @@ function kfe(e, t) {
}
var Afe = /*#__PURE__*/ (0, P.forwardRef)(kfe);
function jfe() {
- let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(kL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = XC();
+ let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(kL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = Ew();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ P.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -41652,10 +41652,10 @@ var Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
}, P.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));
// src/react/boardui/components/base/input/label.tsx
function Dz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsxs)(kI, {
+ return /* @__PURE__ */ (0, F.jsxs)(OI, {
"data-label": "true",
...a,
- className: DF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: mF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, F.jsx)("span", {
@@ -41675,7 +41675,7 @@ function Oz({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, F.jsx)(xue, {
slot: e ? "errorMessage" : "description",
...n,
- className: DF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: mF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
// src/react/boardui/components/base/input/input.tsx
@@ -41690,13 +41690,13 @@ function Az({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
children: /* @__PURE__ */ (0, F.jsx)(xfe, {
...a,
"data-input-size": e,
- className: DF("group flex h-max w-full flex-col items-start gap-1", r),
+ className: mF("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
Az.displayName = "TextField";
-var jz = OF({
+var jz = hF({
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",
@@ -41715,7 +41715,7 @@ function Mz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
let l = (0, P.useContext)(kz), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, F.jsx)(VI, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => DF(jz.field, d ? jz.fieldWithAddonSize[u] : jz.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 }) => mF(jz.field, d ? jz.fieldWithAddonSize[u] : jz.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, F.jsxs)("div", {
className: jz.content,
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -41726,7 +41726,7 @@ function Mz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
}) : null, /* @__PURE__ */ (0, F.jsx)(Due, {
ref: o,
...c,
- className: DF(jz.input, l.inputClassName, a)
+ className: mF(jz.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, F.jsx)(n, {
className: jz.icon,
@@ -41773,7 +41773,7 @@ var ype = {
collections: "max-w-4xl"
};
function Pz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = ex();
+ let { isFocusVisible: a } = kx();
return /* @__PURE__ */ (0, F.jsx)(xR, {
isOpen: e,
onOpenChange: t,
@@ -41805,9 +41805,9 @@ function Fz({ children: e }) {
function Iz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
"data-note-layout": "",
- className: DF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
+ className: mF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
- className: DF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
+ className: mF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
children: [t ? /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-medium wrap-anywhere",
children: t
@@ -41824,27 +41824,27 @@ function Iz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
switch (e) {
case "info": return /* @__PURE__ */ (0, F.jsx)("div", {
role: "status",
- className: DF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
+ className: mF("@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, F.jsx)("div", {
role: "status",
- className: DF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
+ className: mF("@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, F.jsx)("div", {
role: "note",
- className: DF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
+ className: mF("@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, F.jsx)("div", {
role: "alert",
- className: DF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
+ className: mF("@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, F.jsx)("div", {
role: "note",
- className: DF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
+ className: mF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
children: s
});
}
@@ -42034,7 +42034,7 @@ function eB({ currentHref: e, kind: t }) {
let [n, r] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, F.jsx)(rI, {
+ children: /* @__PURE__ */ (0, F.jsx)(ZF, {
"data-shortcuts-trigger": "",
label: "我的收藏",
icon: qz,
@@ -42060,7 +42060,7 @@ function Tpe({ currentHref: e, kind: t, close: n }) {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = lI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = oI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, P.useLayoutEffect)(() => {
b.current && (x.current = vo(b.current) || null);
}, []), (0, P.useLayoutEffect)(() => {
@@ -42206,7 +42206,7 @@ function Tpe({ currentHref: e, kind: t, close: n }) {
size: "compact",
icon: zz("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, F.jsx)(dI, {
+ actions: /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/",
onClick: n,
@@ -42279,7 +42279,7 @@ function Tpe({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, F.jsx)(dI, {
+ }) : /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/",
onClick: n,
@@ -43236,7 +43236,7 @@ function zme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
return /* @__PURE__ */ (0, F.jsx)("nav", {
ref: r,
"aria-label": t,
- className: DF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
+ className: mF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, F.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(Rme, {
@@ -43253,10 +43253,10 @@ function XB({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}), e] });
if (i) return /* @__PURE__ */ (0, F.jsx)("li", {
"aria-current": "page",
- className: DF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
+ className: mF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
children: o
});
- let s = DF("-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 = mF("-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, F.jsx)("li", {
className: "flex items-center",
children: n ? /* @__PURE__ */ (0, F.jsx)(Ime, {
@@ -43266,20 +43266,20 @@ function XB({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}) : /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
onClick: r,
- className: DF("cursor-pointer", s),
+ className: mF("cursor-pointer", s),
children: o
})
});
}
// src/react/boardui/components/foundations/direction/direction.tsx
function ZB() {
- return lS().direction;
+ return RS().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
var QB = "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", Bme = "w-[266px]", Vme = "flex w-full flex-col gap-1 outline-none", $B = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", eV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
function Hme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = ZB(), l = (0, P.useContext)(EI), u = l === wI && !s.dragAndDropHooks ? nV : l;
+ let c = ZB(), l = (0, P.useContext)(TI), u = l === SI && !s.dragAndDropHooks ? nV : l;
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -43296,7 +43296,7 @@ function Hme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, F.jsx)(EI.Provider, {
+ children: /* @__PURE__ */ (0, F.jsx)(TI.Provider, {
value: u,
children: /* @__PURE__ */ (0, F.jsx)(wfe, {
...s,
@@ -43305,7 +43305,7 @@ function Hme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => DF("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 === nV ? "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) => mF("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 === nV ? "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)
})
})
});
@@ -43320,7 +43320,7 @@ function tV({ 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) => DF("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) => mF("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, F.jsx)(Efe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
let f = n === null ? null : o && r ? r : n ?? (t ? o ? gz : hz : Qfe);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
@@ -43340,14 +43340,14 @@ function tV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
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, F.jsx)(fz, {
"aria-hidden": !0,
- className: DF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
+ className: mF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
}) : /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: DF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
+ className: mF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
}), f && /* @__PURE__ */ (0, F.jsx)(f, {
"aria-hidden": !0,
- className: DF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
+ className: mF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
})]
}),
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -43363,18 +43363,18 @@ function tV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
});
}
var nV = {
- ...wI,
+ ...SI,
CollectionRoot: Ume
};
function Ume({ collection: e, ...t }) {
let n = (0, P.useContext)(sz);
- return n ? /* @__PURE__ */ (0, F.jsx)(iy, {
+ return n ? /* @__PURE__ */ (0, F.jsx)(Cy, {
initial: !1,
children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(Gme, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, F.jsx)(wI.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, F.jsx)(SI.CollectionRoot, {
collection: e,
...t
});
@@ -43412,7 +43412,7 @@ function Wme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
height: "7",
viewBox: `0 0 ${i} 7`,
fill: "none",
- className: DF("absolute start-0", a === "rtl" && "-scale-x-100"),
+ className: mF("absolute start-0", a === "rtl" && "-scale-x-100"),
style: { top: "calc(50% - 6px)" },
children: /* @__PURE__ */ (0, F.jsx)("path", {
d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,
@@ -43439,8 +43439,8 @@ function Wme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
});
}
function Gme({ state: e, children: t }) {
- let n = ty(), r = My(), [i, a] = (0, P.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(By.div, {
+ let n = by(), r = eb(), [i, a] = (0, P.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(cb.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -43504,7 +43504,7 @@ function iV({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = rV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: DF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? DF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : DF("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: mF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? mF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : mF("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, F.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -43532,12 +43532,12 @@ function aV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)(wue, {
ref: r,
...i,
- className: (t) => DF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => mF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(iV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: DF(a.label, "text-text-primary"),
+ className: mF(a.label, "text-text-primary"),
children: t
})] })
});
@@ -44022,9 +44022,9 @@ function $me() {
function nH({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)(se, {
client: H,
- children: /* @__PURE__ */ (0, F.jsx)(one, {
+ children: /* @__PURE__ */ (0, F.jsx)(Vte, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, F.jsx)(uT, {
+ children: /* @__PURE__ */ (0, F.jsx)(BT, {
getContainer: $me,
children: e
})
@@ -44675,10 +44675,12 @@ function mH({ what: e, source: t }) {
var hH = (e) => !!e && [
"running",
"pausing",
- "paused"
+ "paused",
+ "stopping"
].includes(e.status), gH = (e) => e?.status === "failed" && e.outcome === "partial", _H = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", vH = "/?loc=&thumb=0";
function yH(e) {
if (!hH(e)) return "";
+ if (e.status === "stopping") return "正在停止,等待当前步骤退出;已取得的结果会保留";
if (e.status === "paused") return "已暂停,继续后更新预估";
if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";
if (e.stalled) return "等待当前文件响应,剩余时间待更新";
@@ -44719,11 +44721,11 @@ function khe(e) {
function Ahe(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = Ohe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${KF(e.waited_seconds)}` : "";
+ let t = Ohe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${NF(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
function jhe(e) {
- let t = e.total ? `${qF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ let t = e.total ? `${PF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
return Ahe(e) + (t ? ` · ${t}` : "");
}
function Mhe(e) {
@@ -44755,7 +44757,7 @@ function Phe(e, t, n) {
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var DH = OF({
+var DH = hF({
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",
@@ -44773,7 +44775,7 @@ var DH = OF({
}
});
function OH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = DF(DH.base, DH.size[t], DH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+ let c = mF(DH.base, DH.size[t], DH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
n ? /* @__PURE__ */ (0, F.jsx)(n, {
className: DH.icon[t],
"aria-hidden": !0
@@ -44921,7 +44923,7 @@ function jH(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 = ure(n, { transform: [r, E] }, Lhe[e]);
+ l = Hne(n, { transform: [r, E] }, Lhe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45086,7 +45088,7 @@ function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
e !== i && n(NH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, F.jsx)(kI, {
+ children: [/* @__PURE__ */ (0, F.jsx)(OI, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -45164,8 +45166,8 @@ function Bhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})] });
}
// src/react/library-processing/processing-controls.tsx
-function Vhe({ state: e, disabled: t = !1 }) {
- let n = kH(), r = hH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {
+function zH({ state: e, disabled: t = !1 }) {
+ let n = kH(), r = hH(e), i = e.status === "stopping", a = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", o = (e) => {
t || n.busy || n.run(e.action, (t) => V(dH, e, "POST", t), (e) => {
H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
});
@@ -45175,31 +45177,47 @@ function Vhe({ state: e, disabled: t = !1 }) {
"data-processing-controls": "",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(Bhe, {
- value: e.speed_mode || "standard",
- busy: t || !!n.busy,
- animate: e.status !== "paused" && e.status !== "pausing",
- onChange: (t) => a({
- action: "set_speed",
- speed_mode: t,
- ...r ? { job_id: e.job_id } : {}
- })
- }), r ? /* @__PURE__ */ (0, F.jsx)(q, {
- size: "small",
- variant: "secondary",
- iconOnly: !0,
- leadingIcon: e.status === "paused" ? xz : bz,
- "aria-label": i,
- title: i,
- disabled: t || !e.job_id || e.status === "pausing",
- ...Vz(n.busy === "pause" || n.busy === "resume"),
- onClick: () => {
- e.job_id && a({
- action: e.status === "paused" ? "resume" : "pause",
- job_id: e.job_id
- });
- }
- }) : null]
+ children: [
+ /* @__PURE__ */ (0, F.jsx)(Bhe, {
+ value: e.speed_mode || "standard",
+ busy: t || !!n.busy || i,
+ animate: e.status !== "paused" && e.status !== "pausing",
+ onChange: (t) => o({
+ action: "set_speed",
+ speed_mode: t,
+ ...r ? { job_id: e.job_id } : {}
+ })
+ }),
+ r ? /* @__PURE__ */ (0, F.jsx)(q, {
+ size: "small",
+ variant: "secondary",
+ iconOnly: !0,
+ leadingIcon: e.status === "paused" ? xz : bz,
+ "aria-label": a,
+ title: a,
+ disabled: t || !e.job_id || e.status === "pausing" || i,
+ ...Vz(n.busy === "pause" || n.busy === "resume"),
+ onClick: () => {
+ e.job_id && o({
+ action: e.status === "paused" ? "resume" : "pause",
+ job_id: e.job_id
+ });
+ }
+ }) : null,
+ r ? /* @__PURE__ */ (0, F.jsx)(q, {
+ size: "small",
+ variant: "secondary",
+ disabled: t || !e.job_id || i,
+ ...Vz(n.busy === "cancel"),
+ onClick: () => {
+ e.job_id && o({
+ action: "cancel",
+ job_id: e.job_id
+ });
+ },
+ children: i ? "正在停止" : "停止任务"
+ }) : null
+ ]
}), n.error ? /* @__PURE__ */ (0, F.jsx)("p", {
role: "alert",
className: "text-caption-1-regular text-text-error-primary",
@@ -45208,7 +45226,7 @@ function Vhe({ state: e, disabled: t = !1 }) {
});
}
// src/react/library-processing/use-library-processing.ts
-function zH({ toast: e, mode: t, monitor: n }) {
+function BH({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Pt({
queryKey: fH,
queryFn: ({ signal: e }) => bH(e),
@@ -45221,7 +45239,8 @@ function zH({ toast: e, mode: t, monitor: n }) {
let r = !!n && [
"running",
"pausing",
- "paused"
+ "paused",
+ "stopping"
].includes(n) && !hH(c);
r && o(c), (r || t === "notice") && Phe(c, e, r);
}, [
@@ -45235,37 +45254,37 @@ function zH({ toast: e, mode: t, monitor: n }) {
};
}
// src/react/components/card.tsx
-var Hhe = "min-w-0", Uhe = {
+var Vhe = "min-w-0", Hhe = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Whe = {
+}, Uhe = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Ghe = {
+}, Whe = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Khe = {
+}, Ghe = {
none: "",
default: "p-5"
-}, qhe = "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", Jhe = "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 BH(e = {}) {
+}, Khe = "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", qhe = "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 VH(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 [
- Hhe,
- Uhe[t],
- Whe[s],
- Khe[n],
- a ? Ghe[a] : "",
- r ? qhe : "",
- i ? Jhe : "",
+ Vhe,
+ Hhe[t],
+ Uhe[s],
+ Ghe[n],
+ a ? Whe[a] : "",
+ r ? Khe : "",
+ i ? qhe : "",
o ?? ""
].filter(Boolean).join(" ");
}
// src/react/components/loading-dots.tsx
-function VH({ label: e }) {
+function HH({ label: e }) {
return /* @__PURE__ */ (0, F.jsxs)("p", {
role: "status",
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
@@ -45284,21 +45303,21 @@ function VH({ label: e }) {
});
}
// src/react/components/progress.tsx
-var HH = 100, Yhe = .4;
-function UH({ 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 * HH;
+var UH = 100, Jhe = .4;
+function WH({ 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 * UH;
return /* @__PURE__ */ (0, F.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${HH} 1`,
+ viewBox: `0 0 ${UH} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, F.jsx)("rect", {
- width: HH,
+ width: UH,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -45309,7 +45328,7 @@ function UH({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, F.jsx)("rect", {
x: o(e),
- width: Yhe,
+ width: Jhe,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -45317,26 +45336,26 @@ function UH({ label: e, value: t, max: n = 100, stops: r = [] }) {
});
}
// src/react/components/task-progress.tsx
-function WH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function GH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : BH({
+ className: r ? "flex flex-col gap-1.5" : VH({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(UH, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(WH, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, F.jsx)(VH, { label: e })
+ })] }) : /* @__PURE__ */ (0, F.jsx)(HH, { label: e })
});
}
// src/react/library-processing/processing-line.tsx
-function GH(e) {
+function KH(e) {
let [t, n] = (0, P.useState)({
snapshot: e,
seconds: 0
@@ -45357,12 +45376,12 @@ function GH(e) {
waited_seconds: r + a
} : e);
}
-function Xhe({ state: e }) {
- return GH(e);
+function Yhe({ state: e }) {
+ return KH(e);
}
-function Zhe({ state: e }) {
- let t = GH(e);
- return /* @__PURE__ */ (0, F.jsx)(WH, {
+function Xhe({ state: e }) {
+ let t = KH(e);
+ return /* @__PURE__ */ (0, F.jsx)(GH, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -45370,7 +45389,7 @@ function Zhe({ state: e }) {
});
}
// src/react/components/collapse-region.tsx
-function KH({ open: e, children: t, ...n }) {
+function qH({ open: e, children: t, ...n }) {
let r = (0, P.useRef)(null), i = (0, P.useRef)(!1);
return (0, P.useLayoutEffect)(() => {
let t = r.current;
@@ -45381,7 +45400,7 @@ function KH({ open: e, children: t, ...n }) {
children: t
});
}
-function qH(e) {
+function JH(e) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
...e,
"aria-hidden": !0,
@@ -45396,21 +45415,21 @@ function qH(e) {
});
}
// src/react/boardui/components/application/settings/settings-rows.tsx
-function JH({ className: e, children: t }) {
+function YH({ className: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: DF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: mF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function YH({ className: e, children: t }) {
+function XH({ className: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
- className: DF("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: mF("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function Qhe({ label: e, description: t, children: n }) {
+function Zhe({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: DF("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: mF("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, F.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, F.jsx)("p", {
@@ -45424,7 +45443,7 @@ function Qhe({ label: e, description: t, children: n }) {
});
}
// src/react/settings/section.tsx
-function $he({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function Qhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, F.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -45432,12 +45451,12 @@ function $he({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, F.jsx)(YH, { children: o })
+ children: /* @__PURE__ */ (0, F.jsx)(XH, { children: o })
}), /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, F.jsx)(YH, { children: o }), /* @__PURE__ */ (0, F.jsx)(JH, { children: a })] });
+ }) : /* @__PURE__ */ (0, F.jsx)(XH, { children: o }), /* @__PURE__ */ (0, F.jsx)(YH, { children: a })] });
return i ? /* @__PURE__ */ (0, F.jsx)("form", {
id: n,
"aria-label": e,
@@ -45452,13 +45471,13 @@ function $he({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function ege({ children: e }) {
+function $he({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function tge({ divided: e = !1, children: t }) {
+function ege({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",
children: t
@@ -45467,7 +45486,7 @@ function tge({ divided: e = !1, children: t }) {
children: t
});
}
-function nge({ label: e, html: t }) {
+function tge({ label: e, html: t }) {
let [n] = (0, P.useState)(t);
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "contents",
@@ -45477,7 +45496,7 @@ function nge({ label: e, html: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-function rge({ status: e, children: t }) {
+function nge({ status: e, children: t }) {
return /* @__PURE__ */ (0, F.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, F.jsx)("div", {
@@ -45486,27 +45505,27 @@ function rge({ status: e, children: t }) {
}) : null, t]
});
}
-function XH({ role: e, children: t }) {
+function ZH({ role: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function ZH({ children: e }) {
+function QH({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function QH({ children: e }) {
+function $H({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function ige({ href: e, children: t, leadingIcon: n }) {
+function rge({ href: e, children: t, leadingIcon: n }) {
return /* @__PURE__ */ (0, F.jsx)(OH, {
href: e,
target: "_blank",
@@ -45521,13 +45540,13 @@ function ige({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function age({ children: e }) {
+function ige({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function oge({ term: e, children: t }) {
+function age({ term: e, children: t }) {
return /* @__PURE__ */ (0, F.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, F.jsx)("dt", {
@@ -45539,7 +45558,7 @@ function oge({ term: e, children: t }) {
})]
});
}
-function $H({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
+function eU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(!1), [d, f] = (0, P.useState)(n ?? t);
return (0, P.useLayoutEffect)(() => {
n !== void 0 && n !== d && c.current && l.current && (bo(c.current, l.current, n), f(n));
@@ -45570,13 +45589,13 @@ function $H({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
id: s,
inert: !d,
children: /* @__PURE__ */ (0, F.jsx)("div", {
- className: DF("flex flex-col gap-2 pt-3", o),
+ className: mF("flex flex-col gap-2 pt-3", o),
children: r
})
})]
});
}
-function sge({ name: e }) {
+function oge({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -45586,34 +45605,34 @@ function sge({ name: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function eU({ mark: e }) {
+function tU({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, F.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, F.jsx)(sge, { name: e });
+ }) : /* @__PURE__ */ (0, F.jsx)(oge, { name: e });
}
// src/react/components/source-label.tsx
-var tU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, cge = Object.fromEntries(Object.entries(Zo).map(([e, t]) => [e, function({ className: e }) {
+var nU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, sge = Object.fromEntries(Object.entries(Zo).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, F.jsx)(eU, { mark: t })
+ children: /* @__PURE__ */ (0, F.jsx)(tU, { mark: t })
});
}]));
-function lge({ className: e }) {
+function cge({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, F.jsx)(eU, { mark: "database" })
+ children: /* @__PURE__ */ (0, F.jsx)(tU, { mark: "database" })
});
}
-var nU = (e) => cge[tU(e)] ?? lge;
-function uge({ site: e, label: t }) {
+var rU = (e) => sge[nU(e)] ?? cge;
+function lge({ site: e, label: t }) {
let [n, r] = (0, P.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;
return /* @__PURE__ */ (0, F.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n || !i ? /* @__PURE__ */ (0, F.jsx)(eU, { mark: "globe" }) : /* @__PURE__ */ (0, F.jsx)("img", {
+ children: [n || !i ? /* @__PURE__ */ (0, F.jsx)(tU, { mark: "globe" }) : /* @__PURE__ */ (0, F.jsx)("img", {
src: i,
alt: "",
className: "size-(--icon-inline) shrink-0 object-contain",
@@ -45621,23 +45640,23 @@ function uge({ site: e, label: t }) {
}), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]
});
}
-function rU({ source: e, label: t }) {
- let n = tU(e);
+function iU({ source: e, label: t }) {
+ let n = nU(e);
return /* @__PURE__ */ (0, F.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(eU, { mark: Zo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(tU, { mark: Zo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {
className: "min-w-0 truncate",
children: t
})]
});
}
// src/react/library-processing/processing-traffic.tsx
-var iU = (e) => jn(e).replace(/\s/g, ""), aU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : iU(e), dge = (e, t) => {
- if (e === t) return iU(t);
+var aU = (e) => jn(e).replace(/\s/g, ""), oU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : aU(e), uge = (e, t) => {
+ if (e === t) return aU(t);
let [n, r] = jn(e).split(" "), [i, a] = jn(t).split(" ");
- return r === a ? `${n}-${i}${a}` : `${iU(e)}-${iU(t)}`;
-}, oU = (e, t, n) => e === void 0 ? dge(t, n) : `${e > 0 ? "约 " : ""}${iU(e)}`;
-function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
+ return r === a ? `${n}-${i}${a}` : `${aU(e)}-${aU(t)}`;
+}, sU = (e, t, n) => e === void 0 ? uge(t, n) : `${e > 0 ? "约 " : ""}${aU(e)}`;
+function cU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
let i = oV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;
if (!e) return null;
let l = (e) => e.toLocaleString("zh-CN");
@@ -45682,18 +45701,18 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-title-3-semibold text-text-primary",
- children: oU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
+ children: sU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
}),
/* @__PURE__ */ (0, F.jsxs)("p", { children: [
e.unknown_route_estimated_bytes ? "已确认代理" : "代理",
" ",
- oU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
+ sU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
] }),
t ? null : /* @__PURE__ */ (0, F.jsxs)("p", { children: [
"已用 ",
- /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.partial ? "约 " : "", iU(e.used_bytes)] }),
+ /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.partial ? "约 " : "", aU(e.used_bytes)] }),
" · 代理 ",
- iU(e.metered_used_bytes)
+ aU(e.metered_used_bytes)
] })
]
}), e.disk ? /* @__PURE__ */ (0, F.jsxs)("section", {
@@ -45709,18 +45728,18 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
}),
/* @__PURE__ */ (0, F.jsxs)("p", {
className: "text-title-3-semibold text-text-primary",
- children: ["约 ", iU(e.disk.estimated_bytes)]
+ children: ["约 ", aU(e.disk.estimated_bytes)]
}),
- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, F.jsxs)("p", { children: ["抽帧临时文件约 ", aU(e.disk.temporary_bytes)] }) : null,
+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, F.jsxs)("p", { children: ["抽帧临时文件约 ", oU(e.disk.temporary_bytes)] }) : null,
e.disk.volumes.map((e) => /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, F.jsxs)("p", { children: [
e.path,
" 剩余 ",
- e.free_bytes == null ? "未取得" : iU(e.free_bytes)
+ e.free_bytes == null ? "未取得" : aU(e.free_bytes)
] }), e.can_fit === !1 ? /* @__PURE__ */ (0, F.jsxs)("p", {
role: "status",
- children: ["空间不足,还差 ", iU(e.shortfall_bytes || 0)]
+ children: ["空间不足,还差 ", aU(e.shortfall_bytes || 0)]
}) : null]
}, e.path)),
e.disk.cache_unknown ? /* @__PURE__ */ (0, F.jsx)("p", {
@@ -45755,12 +45774,12 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 items-start justify-between gap-2",
- children: [e.root ? /* @__PURE__ */ (0, F.jsx)(rU, {
+ children: [e.root ? /* @__PURE__ */ (0, F.jsx)(iU, {
source: e.location,
label: e.label
}) : /* @__PURE__ */ (0, F.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(eU, { mark: "globe" }), e.label]
+ children: [/* @__PURE__ */ (0, F.jsx)(tU, { mark: "globe" }), e.label]
}), /* @__PURE__ */ (0, F.jsx)("span", {
className: "shrink-0",
children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"
@@ -45782,7 +45801,7 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
"待补资料 ",
l(e.workload.pending_jav_titles),
" 部 · 平均约 ",
- aU(e.workload.metadata_average_bytes || 0),
+ oU(e.workload.metadata_average_bytes || 0),
"/部"
]
}) : null,
@@ -45792,8 +45811,8 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
"已用",
e.unobserved.length ? "约" : "",
" ",
- iU(e.used_bytes)
- ] }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["预计 ", oU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
+ aU(e.used_bytes)
+ ] }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["预计 ", sU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
})
]
}, e.key))
@@ -45804,15 +45823,15 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
});
}
// src/react/library-processing/library-processing-notice.tsx
-var cU = "peach.library-processing.collapsed";
-function lU(e) {
+var lU = "peach.library-processing.collapsed";
+function uU(e) {
try {
- return !e || sessionStorage.getItem(cU) !== e;
+ return !e || sessionStorage.getItem(lU) !== e;
} catch {
return !0;
}
}
-function fge({ value: e, max: t }) {
+function dge({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, F.jsxs)("svg", {
role: "progressbar",
@@ -45842,14 +45861,14 @@ function fge({ value: e, max: t }) {
})]
});
}
-function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
- let [i, a] = (0, P.useState)(() => lU(e?.job_id)), o = (0, P.useId)(), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(null), u = !t && gH(e), d = e?.status === "failed" && !u, f = hH(e);
+function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
+ let [i, a] = (0, P.useState)(() => uU(e?.job_id)), o = (0, P.useId)(), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(null), u = !t && gH(e), d = e?.status === "failed" && !u, f = hH(e);
(0, P.useEffect)(() => {
- a(lU(e?.job_id)), c(!1);
+ a(uU(e?.job_id)), c(!1);
}, [e?.job_id]);
let p = () => {
try {
- i && e?.job_id ? sessionStorage.setItem(cU, e.job_id) : sessionStorage.removeItem(cU);
+ i && e?.job_id ? sessionStorage.setItem(lU, e.job_id) : sessionStorage.removeItem(lU);
} catch {}
i && c(!1), a(!i);
};
@@ -45863,7 +45882,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
return i.observe(e), () => {
t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");
};
- }, [n]), !t && !f && !d && !u) return null;
+ }, [n]), e?.archived && !t || !t && !f && !d && !u) return null;
let m = t ? null : pH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
return /* @__PURE__ */ (0, F.jsxs)("aside", {
ref: l,
@@ -45871,7 +45890,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"data-processing-tone": d ? "error" : h ? "warning" : "neutral",
"aria-label": "扫描任务",
role: d ? "alert" : "status",
- className: DF("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: mF("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, F.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
@@ -45879,7 +45898,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- f && e?.total ? /* @__PURE__ */ (0, F.jsx)(fge, {
+ f && e?.total ? /* @__PURE__ */ (0, F.jsx)(dge, {
value: e.checked || 0,
max: e.total
}) : d || h ? /* @__PURE__ */ (0, F.jsx)(Yfe, {
@@ -45904,7 +45923,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: qH,
+ leadingIcon: JH,
"data-processing-toggle": "",
"data-collapse-upward": "",
"aria-label": i ? "收起任务详情" : "展开任务详情",
@@ -45922,7 +45941,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)(sU, {
+ /* @__PURE__ */ (0, F.jsx)(cU, {
traffic: e?.traffic,
detailsOpen: s,
onDetailsChange: c
@@ -45933,14 +45952,14 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)(KH, {
+ /* @__PURE__ */ (0, F.jsx)(qH, {
id: o,
open: i,
"data-processing-body": "",
children: /* @__PURE__ */ (0, F.jsx)("div", {
className: "pt-3",
children: /* @__PURE__ */ (0, F.jsxs)("div", {
- className: DF("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: mF("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, F.jsx)("ol", {
"aria-label": "处理步骤",
@@ -45948,16 +45967,16 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
children: e.steps.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
"data-processing-step": e.status,
"aria-current": e.status === "current" ? "step" : void 0,
- className: DF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
+ className: mF("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, F.jsx)(Hfe, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}) : /* @__PURE__ */ (0, F.jsx)(Ufe, {
"aria-hidden": !0,
- className: DF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
+ className: mF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, F.jsx)(ZC, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, F.jsx)(Dw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -45970,7 +45989,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null,
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Xhe, { state: e }))
+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Yhe, { state: e }))
}),
u ? /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
@@ -46004,7 +46023,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
trailingIcon: dz,
children: "查看全部内容"
}) : null,
- f ? /* @__PURE__ */ (0, F.jsx)(Vhe, {
+ f ? /* @__PURE__ */ (0, F.jsx)(zH, {
state: e,
disabled: !!t
}) : null
@@ -46013,67 +46032,67 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
]
});
}
-function pge(e) {
- let { job: t } = zH(e);
- return /* @__PURE__ */ (0, F.jsx)(uU, {
+function fge(e) {
+ let { job: t } = BH(e);
+ return /* @__PURE__ */ (0, F.jsx)(dU, {
state: t.data,
problem: t.isError ? t.data ? SH : Wn(t.error) : ""
});
}
// src/react/library-processing/processing-notice-visibility.ts
-var dU = "peach.library-processing.visibility", fU = /* @__PURE__ */ new Set(), pU = "";
-function mge() {
+var fU = "peach.library-processing.visibility", pU = /* @__PURE__ */ new Set(), mU = "";
+function pge() {
try {
- return sessionStorage.getItem(dU) || "";
+ return sessionStorage.getItem(fU) || "";
} catch {
- return pU;
+ return mU;
}
}
-function hge(e) {
- return fU.add(e), () => {
- fU.delete(e);
+function mge(e) {
+ return pU.add(e), () => {
+ pU.delete(e);
};
}
-function mU(e, t) {
- pU = `${t ? "shown" : "hidden"}:${e}`;
+function hU(e, t) {
+ mU = `${t ? "shown" : "hidden"}:${e}`;
try {
- sessionStorage.setItem(dU, pU);
+ sessionStorage.setItem(fU, mU);
} catch {}
- fU.forEach((e) => e());
+ pU.forEach((e) => e());
}
-function hU(e) {
- let t = (0, P.useSyncExternalStore)(hge, mge, () => "");
+function gU(e) {
+ let t = (0, P.useSyncExternalStore)(mge, pge, () => "");
return {
hidden: t === `hidden:${e}`,
requested: t === `shown:${e}`
};
}
// src/react/library-processing/library-processing-dock.tsx
-var gU = "peach-library-processing";
-function gge({ toast: e }) {
- let { job: t, settled: n } = zH({
+var _U = "peach-library-processing";
+function hge({ toast: e }) {
+ let { job: t, settled: n } = BH({
toast: e,
mode: "notice"
- }), r = (0, P.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = hU(a), c = t.isError ? i ? SH : Wn(t.error) : "";
+ }), r = (0, P.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = gU(a), c = t.isError ? i ? SH : Wn(t.error) : "";
return (0, P.useEffect)(() => {
let e = hH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || EH(i));
- o || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && aH.dismiss(gU), r.current = !1) : (aH.custom(() => /* @__PURE__ */ (0, F.jsx)("div", {
+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && aH.dismiss(_U), r.current = !1) : (aH.custom(() => /* @__PURE__ */ (0, F.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, F.jsx)(uU, {
+ children: /* @__PURE__ */ (0, F.jsx)(dU, {
state: i,
problem: c,
measure: !0,
- onHide: () => mU(a, !1)
+ onHide: () => hU(a, !1)
})
}), {
- id: gU,
+ id: _U,
toasterId: "processing",
duration: Infinity,
dismissible: !1,
closeButton: !1,
className: "processing-task-toast",
onDismiss: () => {
- mU(a, !1), r.current = !1;
+ hU(a, !1), r.current = !1;
}
}), r.current = !0);
}, [
@@ -46084,19 +46103,19 @@ function gge({ toast: e }) {
o,
s
]), (0, P.useEffect)(() => () => {
- r.current && aH.dismiss(gU), r.current = !1;
+ r.current && aH.dismiss(_U), r.current = !1;
}, []), null;
}
// src/react/network-banner.tsx
-var _ge = ["network-status"], vge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function yge(e) {
+var gge = ["network-status"], _ge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function vge(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function bge() {
+function yge() {
let e = Pt({
- queryKey: _ge,
+ queryKey: gge,
queryFn: ({ signal: e }) => B("/api/network-status", e),
- refetchInterval: (e) => yge(e.state.data),
+ refetchInterval: (e) => vge(e.state.data),
retry: !1
}), t = document.querySelector("[data-network-banner]");
return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {
@@ -46107,22 +46126,22 @@ function bge() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, F.jsx)("p", { children: vge })] }), /* @__PURE__ */ (0, F.jsx)("a", {
+ }), /* @__PURE__ */ (0, F.jsx)("p", { children: _ge })] }), /* @__PURE__ */ (0, F.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
}), t);
}
// src/react/client-updates.tsx
-var xge = 12e4, Sge = 15e3, _U = () => document.visibilityState !== "hidden", vU = /* @__PURE__ */ new Set([
+var bge = 12e4, xge = 15e3, vU = () => document.visibilityState !== "hidden", yU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), yU = "/settings/maintenance#releaseUpdates";
-function Cge() {
+]), bU = "/settings/maintenance#releaseUpdates";
+function Sge() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
return typeof e?.version == "string" && typeof e?.build_id == "string" ? {
@@ -46133,23 +46152,23 @@ function Cge() {
return null;
}
}
-function bU() {
- let e = (0, P.useRef)(Cge()), [t, n] = (0, P.useState)(null);
+function xU() {
+ let e = (0, P.useRef)(Sge()), [t, n] = (0, P.useState)(null);
return (0, P.useEffect)(() => {
let t = !1, r, i, a = async () => {
- if (t || !_U()) return;
+ if (t || !vU()) return;
let o = new AbortController();
i = o;
- let s = setTimeout(() => o.abort(), Sge);
+ let s = setTimeout(() => o.abort(), xge);
o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });
try {
let r = await B("/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 && _U() && (r = setTimeout(a, xge)));
+ clearTimeout(s), i === o && (i = void 0, !t && vU() && (r = setTimeout(a, bge)));
}
}, o = () => {
- clearTimeout(r), i?.abort(), i = void 0, _U() && a();
+ clearTimeout(r), i?.abort(), i = void 0, vU() && 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);
@@ -46159,12 +46178,12 @@ function bU() {
refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)
};
}
-function wge({ navigate: e }) {
- let { snapshot: t, refresh: n } = bU(), [r, i] = (0, P.useState)(""), a = document.querySelector("[data-network-banner]");
+function Cge({ navigate: e }) {
+ let { snapshot: t, refresh: n } = xU(), [r, i] = (0, P.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" : vU.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" : yU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
if (!l) return null;
- let u = (s.state === "ready" || vU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
+ let u = (s.state === "ready" || yU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
l,
c.version,
c.build_id
@@ -46196,9 +46215,9 @@ function wge({ navigate: e }) {
}) : /* @__PURE__ */ (0, F.jsx)(OH, {
variant: "secondary",
size: "small",
- href: yU,
+ href: bU,
onClick: (t) => {
- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(yU));
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(bU));
},
"data-copy-key": `clientUpdates.${l}.action`,
children: l === "preparing" ? "查看进度" : "查看更新"
@@ -46213,8 +46232,8 @@ function wge({ navigate: e }) {
}, d), a);
}
// src/react/router/pages/settings.tsx
-function Tge() {
- let e = (0, P.useContext)(TU), { pathname: t } = RB();
+function wge() {
+ let e = (0, P.useContext)(EU), { pathname: t } = RB();
return (0, P.useEffect)(() => {
e?.openSettings?.(fV(t));
}, [e, t]), (0, P.useEffect)(() => () => {
@@ -46224,9 +46243,9 @@ function Tge() {
}, [e]), null;
}
// src/react/router/pages/overlay.tsx
-var xU = () => cu, Ege = () => lu;
-function Dge() {
- let e = (0, P.useContext)(TU), t = (0, P.useSyncExternalStore)(yu, Ege), n = (0, P.useSyncExternalStore)(yu, xU);
+var SU = () => cu, Tge = () => lu;
+function Ege() {
+ let e = (0, P.useContext)(EU), t = (0, P.useSyncExternalStore)(yu, Tge), n = (0, P.useSyncExternalStore)(yu, SU);
return (0, P.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -46241,8 +46260,8 @@ function Dge() {
e
]), null;
}
-function SU(e, t = !1) {
- let n = (0, P.useSyncExternalStore)(yu, xU), r = (0, P.useRef)(void 0);
+function CU(e, t = !1) {
+ let n = (0, P.useSyncExternalStore)(yu, SU), r = (0, P.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = ZV.navigation;
r.current = cu === 0 || $V() ? "boot" : e && !t ? null : "history";
@@ -46261,11 +46280,11 @@ function SU(e, t = !1) {
}));
}, [n]);
}
-function Oge() {
- let e = (0, P.useContext)(TU), t = (0, P.useRef)(e);
+function Dge() {
+ let e = (0, P.useContext)(EU), t = (0, P.useRef)(e);
return (0, P.useLayoutEffect)(() => {
t.current = e;
- }, [e]), SU((t) => {
+ }, [e]), CU((t) => {
let n = ZV.navigation.location, { pathname: r, search: i } = dV(n.pathname) && mV(n.state) || n, a = _V(r, i);
e && a && (CV(), t || qme(ZV.navigation.location.state), e.openOverlay(a));
}, !0), (0, P.useEffect)(() => () => {
@@ -46274,8 +46293,8 @@ function Oge() {
});
}, []), null;
}
-function kge({ path: e }) {
- wU();
+function Oge({ path: e }) {
+ TU();
let { location: t, seq: n, action: r } = ZV.navigation, i = dV(t.pathname) ? mV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -46287,24 +46306,24 @@ function kge({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, F.jsx)(Oge, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, F.jsx)(Dge, {}, `${e} ${o.current.seq}`);
}
-function Age() {
- let e = (0, P.useContext)(TU);
- return SU(() => {
+function kge() {
+ let e = (0, P.useContext)(EU);
+ return CU(() => {
e?.follow?.ground();
}), null;
}
-function jge() {
- return /* @__PURE__ */ (0, F.jsx)(Age, {}, wU());
+function Age() {
+ return /* @__PURE__ */ (0, F.jsx)(kge, {}, TU());
}
// src/react/router/router.tsx
-var CU = (0, P.createContext)(0), wU = () => (0, P.useContext)(CU), TU = (0, P.createContext)(null);
-function Mge({ children: e }) {
+var wU = (0, P.createContext)(0), TU = () => (0, P.useContext)(wU), EU = (0, P.createContext)(null);
+function jge({ children: e }) {
let [t, n] = (0, P.useState)(() => ZV.navigation);
return (0, P.useLayoutEffect)(() => (n(ZV.navigation), ZV.listen((e) => {
(0, Lt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, F.jsx)(CU.Provider, {
+ })), []), /* @__PURE__ */ (0, F.jsx)(wU.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, F.jsx)(Fme, {
location: t.location,
@@ -46314,34 +46333,34 @@ function Mge({ children: e }) {
})
});
}
-function Nge({ target: e }) {
+function Mge({ target: e }) {
let t = bme();
return (0, P.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function Pge(e, t, n) {
+function Nge(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 Fge() {
- let e = (0, P.useContext)(TU), [t, n] = (0, P.useState)(RV), r = (0, P.useRef)(null);
+function Pge() {
+ let e = (0, P.useContext)(EU), [t, n] = (0, P.useState)(RV), r = (0, P.useRef)(null);
(0, P.useLayoutEffect)(() => (n(RV()), Yme((e, t) => {
t ? (0, Lt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, P.useMemo)(() => (t) => {
- e && r.current && Pge(t, e, r.current);
+ e && r.current && Nge(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Nge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Ige, {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Mge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Fge, {
entry: t,
- children: /* @__PURE__ */ (0, F.jsx)(Lge, {
+ children: /* @__PURE__ */ (0, F.jsx)(Ige, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var Ige = class extends P.Component {
+var Fge = class extends P.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -46352,48 +46371,48 @@ var Ige = class extends P.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, Lge = (0, P.memo)(function({ entry: e, actions: t, go: n }) {
- return q6(e.path) ? (0, Lt.createPortal)(Hje(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, Ige = (0, P.memo)(function({ entry: e, actions: t, go: n }) {
+ return J6(e.path) ? (0, Lt.createPortal)(Uje(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function Rge({ children: e }) {
+function Lge({ children: e }) {
let t = RB();
- wU();
+ TU();
let n = eH(), r = dV(t.pathname) && !$V() ? mV(t.state) : null;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)(qB, {
location: n ?? t,
children: [
- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
element: t.element
}, e)),
- Object.entries(Rje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ Object.entries(zje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
element: t.element
}, e)),
- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
element: t.element
}, e)),
- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
element: t.element
}, e)),
- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
element: t.element
}, e)),
- K6.map((e) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ q6.map((e) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
- element: B6["/"].element
+ element: V6["/"].element
}, e)),
- Object.entries(zje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
+ Object.entries(Bje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
element: t.element
}, e)),
hV.map((e) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(jge, {}) : B6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(Age, {}) : V6["/"].element
}, e)),
uV.map((e) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
@@ -46409,7 +46428,7 @@ function Rge({ children: e }) {
location: r ?? t,
children: [hV.map((e) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
- element: /* @__PURE__ */ (0, F.jsx)(kge, { path: e })
+ element: /* @__PURE__ */ (0, F.jsx)(Oge, { path: e })
}, e)), /* @__PURE__ */ (0, F.jsx)(KB, {
path: "*",
element: null
@@ -46417,31 +46436,31 @@ function Rge({ children: e }) {
}),
/* @__PURE__ */ (0, F.jsxs)(qB, { children: [uV.map((e) => /* @__PURE__ */ (0, F.jsx)(KB, {
path: e,
- element: /* @__PURE__ */ (0, F.jsx)(Tge, {})
+ element: /* @__PURE__ */ (0, F.jsx)(wge, {})
}, e)), /* @__PURE__ */ (0, F.jsx)(KB, {
path: "*",
element: null
})] })
] });
}
-function zge({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, F.jsxs)(nH, { children: [n, /* @__PURE__ */ (0, F.jsx)(TU.Provider, {
+function Rge({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, F.jsxs)(nH, { children: [n, /* @__PURE__ */ (0, F.jsx)(EU.Provider, {
value: t,
- children: /* @__PURE__ */ (0, F.jsxs)(Mge, { children: [
- /* @__PURE__ */ (0, F.jsx)(Fge, {}),
- /* @__PURE__ */ (0, F.jsx)(Dge, {}),
- r && t ? /* @__PURE__ */ (0, F.jsx)(gge, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, F.jsx)(bge, {}) : null,
- r && t ? /* @__PURE__ */ (0, F.jsx)(wge, { navigate: t.navigate }) : null,
- /* @__PURE__ */ (0, F.jsx)(Rge, { children: e })
+ children: /* @__PURE__ */ (0, F.jsxs)(jge, { children: [
+ /* @__PURE__ */ (0, F.jsx)(Pge, {}),
+ /* @__PURE__ */ (0, F.jsx)(Ege, {}),
+ r && t ? /* @__PURE__ */ (0, F.jsx)(hge, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, F.jsx)(yge, {}) : null,
+ r && t ? /* @__PURE__ */ (0, F.jsx)(Cge, { navigate: t.navigate }) : null,
+ /* @__PURE__ */ (0, F.jsx)(Lge, { children: e })
] })
})] });
}
-var Bge = { onCaughtError: (e) => {
+var zge = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Vge(e, t, n) {
+function Bge(e, t, n) {
(0, P.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -46455,7 +46474,7 @@ function Vge(e, t, n) {
n
]);
}
-function Hge(e, t) {
+function Vge(e, t) {
let n = (0, P.useRef)(!1);
return (0, P.useEffect)(() => {
if (!e) return;
@@ -46468,33 +46487,33 @@ function Hge(e, t) {
}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
}
// src/react/boardui/components/base/select/select.tsx
-var EU = (0, P.createContext)("md");
-function DU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var DU = (0, P.createContext)("md");
+function OU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, P.useRef)(null), u = (0, P.useRef)(null), [d, f] = (0, P.useState)(!1);
- Vge(d, () => f(!1), [l, u]);
- let p = Hge(d, l);
+ Bge(d, () => f(!1), [l, u]);
+ let p = Vge(d, l);
return /* @__PURE__ */ (0, F.jsx)(Sde, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: DF("group flex flex-col", e),
+ className: mF("group flex flex-col", e),
children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(jI, {
ref: l,
- className: DF("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: mF("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, F.jsx)(Tde, {
- className: DF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: mF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, F.jsx)(Lme, { className: DF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, F.jsx)(Lme, { className: mF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, F.jsx)(iR, {
ref: u,
isNonModal: !0,
offset: 4,
- className: DF(Bme, QB, "p-2", n),
+ className: mF(Bme, QB, "p-2", n),
children: /* @__PURE__ */ (0, F.jsx)(Wue, {
items: a,
- className: DF(Vme, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, F.jsx)(EU.Provider, {
+ className: mF(Vme, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, F.jsx)(DU.Provider, {
value: r,
children: i
})
@@ -46502,23 +46521,23 @@ function DU({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function OU({ className: e, children: t, ...n }) {
- let r = (0, P.useContext)(EU);
+function kU({ className: e, children: t, ...n }) {
+ let r = (0, P.useContext)(DU);
return /* @__PURE__ */ (0, F.jsx)(que, {
...n,
- className: (t) => DF($B, 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) => mF($B, 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/catalog-folders/catalog-folders.ts
-var kU = {
+var AU = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function AU(e, t = "", n = "") {
+function jU(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -46530,14 +46549,14 @@ function AU(e, t = "", n = "") {
queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)
};
}
-function jU(e, t) {
+function MU(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 Uge({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, P.useContext)(TU), a = kH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {
+function Hge({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, P.useContext)(EU), a = kH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -46600,14 +46619,14 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, F.jsx)(Dz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, F.jsx)(DU, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Dz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, F.jsx)(OU, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(kU).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(OU, {
+ children: Object.entries(AU).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(kU, {
id: e,
children: t
}, e))
@@ -46671,7 +46690,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {
}) : null,
m.conflicts.length ? /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "warning",
- extra: /* @__PURE__ */ (0, F.jsx)($H, {
+ extra: /* @__PURE__ */ (0, F.jsx)(eU, {
summary: "查看归属冲突",
children: /* @__PURE__ */ (0, F.jsx)("ul", {
className: "mt-2 flex flex-col gap-2",
@@ -46735,7 +46754,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function Wge(e, t) {
+function Uge(e, t) {
(0, P.useLayoutEffect)(() => {
if (!e) return;
let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {
@@ -46758,34 +46777,34 @@ function Wge(e, t) {
}, [e, t]);
}
// src/react/catalog-folders/catalog-folders-page.tsx
-function MU() {
- return LB() ? /* @__PURE__ */ (0, F.jsx)(Gge, {}) : null;
+function NU() {
+ return LB() ? /* @__PURE__ */ (0, F.jsx)(Wge, {}) : null;
}
-function Gge() {
- let e = RB(), t = (0, P.useContext)(TU);
+function Wge() {
+ let e = RB(), t = (0, P.useContext)(EU);
if (!fn(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, F.jsx)($F, {
+ return /* @__PURE__ */ (0, F.jsx)(KF, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
icon: hz,
- onClick: () => t?.navigate(jU(e, r ? {
+ onClick: () => t?.navigate(MU(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function Kge({ children: e, enabled: t }) {
- return LB() ? /* @__PURE__ */ (0, F.jsx)(qge, {
+function Gge({ children: e, enabled: t }) {
+ return LB() ? /* @__PURE__ */ (0, F.jsx)(Kge, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e });
}
-function qge({ children: e, enabled: t }) {
+function Kge({ children: e, enabled: t }) {
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = RB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "entity-folder-workspace",
@@ -46805,7 +46824,7 @@ function qge({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, F.jsx)(NU, {
+ n && i ? /* @__PURE__ */ (0, F.jsx)(PU, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -46813,14 +46832,14 @@ function qge({ children: e, enabled: t }) {
]
});
}
-function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = RB(), i = (0, P.useContext)(TU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function PU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = RB(), i = (0, P.useContext)(EU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- Wge(o, e);
+ Uge(o, e);
let c = a.get("folder") || "", l = Pt({
- ...AU(s, c),
+ ...jU(s, c),
enabled: o
}), [u, d] = (0, P.useState)(!1), [f, p] = (0, P.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");
if ((0, P.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {
@@ -46834,11 +46853,11 @@ function NU({ 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(jU(r, {
+ d(!1), i.navigate(MU(r, {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(Yge, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(Jge, {
scope: s,
selected: c,
current: _,
@@ -46855,7 +46874,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, F.jsx)($F, {
+ children: /* @__PURE__ */ (0, F.jsx)(KF, {
"aria-label": "打开文件夹目录",
icon: dpe,
size: "small",
@@ -46879,7 +46898,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, F.jsx)($F, {
+ _?.selected ? /* @__PURE__ */ (0, F.jsx)(KF, {
"aria-label": "设置目录用途",
icon: npe,
size: "small",
@@ -46914,11 +46933,11 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, F.jsx)(aV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate(jU(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(MU(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${kU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${AU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, F.jsx)("div", {
@@ -46928,7 +46947,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-children",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))
}) : null,
- _?.children.length ? /* @__PURE__ */ (0, F.jsx)(Jge, {
+ _?.children.length ? /* @__PURE__ */ (0, F.jsx)(qge, {
nodes: _.children,
go: g
}, c) : null
@@ -46953,7 +46972,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Uge, {
+ f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Hge, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -46961,7 +46980,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function Jge({ nodes: e, go: t }) {
+function qge({ nodes: e, go: t }) {
let [n, r] = (0, P.useState)(!1), i = (0, P.useId)(), a = n ? e : e.slice(0, 12);
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-2",
@@ -46989,15 +47008,15 @@ function Jge({ nodes: e, go: t }) {
}) : null]
});
}
-function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Pt(AU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({
- ...AU(e, "", u),
+function Jge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+ let a = Pt(jU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({
+ ...jU(e, "", u),
enabled: !!u.trim()
}), f = oV();
(0, P.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 = Mt({ queries: p.map((t) => AU(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = Mt({ queries: p.map((t) => jU(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);
@@ -47103,7 +47122,7 @@ function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
size: "compact",
icon: hz,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, F.jsx)(dI, {
+ actions: /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -47116,35 +47135,35 @@ function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/components/segmented.tsx
-function Xge(e) {
- let t = nI(jH("selection"));
+function Yge(e) {
+ let t = YF(jH("selection"));
return /* @__PURE__ */ (0, F.jsx)(az, {
...e,
ref: t
});
}
-function PU(e) {
- let t = nI(jH("selection"));
+function FU(e) {
+ let t = YF(jH("selection"));
return /* @__PURE__ */ (0, F.jsx)(wR, {
...e,
ref: t
});
}
-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", Zge = "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)";
+var IU = "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", LU = "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", Xge = "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", RU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", zU = "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)";
// src/react/catalog-grid/catalog-view-toggle.tsx
-function zU() {
- let e = cM();
+function BU() {
+ let e = PM();
return /* @__PURE__ */ (0, F.jsxs)(wR, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: sce,
+ onChange: MM,
"data-entity-layout": "",
- className: LU,
+ className: RU,
children: [/* @__PURE__ */ (0, F.jsx)(TR, {
value: "cards",
"aria-label": "卡片",
- className: RU,
+ className: zU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: "卡片",
@@ -47157,7 +47176,7 @@ function zU() {
}), /* @__PURE__ */ (0, F.jsx)(TR, {
value: "list",
"aria-label": "列表",
- className: RU,
+ className: zU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: "列表",
@@ -47171,8 +47190,8 @@ function zU() {
});
}
// src/react/components/icon-swap.tsx
-function BU({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = ex();
+function VU({ a: e, b: t, state: n, className: r }) {
+ let { isFocusVisible: i } = kx();
return /* @__PURE__ */ (0, F.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -47188,114 +47207,114 @@ function BU({ a: e, b: t, state: n, className: r }) {
})]
});
}
-function VU({ className: e }) {
- return /* @__PURE__ */ (0, F.jsx)(BU, {
+function HU({ className: e }) {
+ return /* @__PURE__ */ (0, F.jsx)(VU, {
a: Ffe,
b: Pfe,
className: e
});
}
// src/react/follow-feed/follow-marks.ts
-var HU = (e) => typeof e == "string" ? e : "", UU = (e) => e.aliases;
-function WU(e, t = "") {
+var UU = (e) => typeof e == "string" ? e : "", WU = (e) => e.aliases;
+function GU(e, t = "") {
let n = ki(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function GU(e, t = "") {
+function KU(e, t = "") {
let n = z(Hr(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 KU = (e) => HU(e.title).trim() || "未命名内容", qU = (e, t) => Vr(e, UU(t));
-function JU(e) {
+var qU = (e) => UU(e.title).trim() || "未命名内容", JU = (e, t) => Vr(e, WU(t));
+function YU(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 = HU(n.entity_name);
+ let n = t[0], r = UU(n.entity_name);
return Ut("creator", r, n.entity_id), r;
}
-function YU(e, t) {
+function XU(e, t) {
let { src: n, fallback: r } = Ur(e), i = Hr(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;
let a = r ? ` data-fallbacks="${z(r)}"` : "";
return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;
}
-function XU(e, t, n) {
- let r = UU(n), i = e.credit, a = i?.poster;
+function ZU(e, t, n) {
+ let r = WU(n), i = e.credit, a = i?.poster;
if (!a) {
let n = Vr(t, r);
return {
- author: n || HU(e.author) || HU(e.source_label) || "创作者未取得",
- avatar: YU(t, n),
+ author: n || UU(e.author) || UU(e.source_label) || "创作者未取得",
+ avatar: XU(t, n),
credited: "",
- entityName: JU(t)
+ entityName: YU(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 && Vr(c, r) || a;
return {
author: l,
- avatar: YU(c, l),
+ avatar: XU(c, l),
credited: i.credited || "",
- entityName: JU(c)
+ entityName: YU(c)
};
}
-function ZU(e, t = e.primary) {
+function QU(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 = HU(e.primary.version);
+ let i = UU(e.primary.version);
i && n.push(r("version", z(i)));
- let a = HU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = UU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function QU(e, t = e.primary) {
+function $U(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]) => WU(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => GU(e, t) || `<span>${z(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function $U(e, t) {
- let n = HU(e.media_error);
+function eW(e, t) {
+ let n = UU(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var Qge = 864e5, $ge = (e, t) => {
+var Zge = 864e5, Qge = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > Qge;
+ return Number.isFinite(n) && n - t > Zge;
};
-function eW(e, t) {
- let n = HU(e.published_at);
+function tW(e, t) {
+ let n = UU(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = ir(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: $ge(n, t) ? " · 晚于现在" : ""
+ suffix: Qge(n, t) ? " · 晚于现在" : ""
};
}
-function tW(e, t = Date.now()) {
- let n = eW(e, t);
+function nW(e, t = Date.now()) {
+ let n = tW(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function e_e(e, t = Date.now()) {
- let n = eW(e, t);
+function $ge(e, t = Date.now()) {
+ let n = tW(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 nW = /* @__PURE__ */ new Set(), rW = [], iW = null;
-function aW() {
- if (iW = null, !rW.length) return;
- let e = rW.splice(0, 200);
+var rW = /* @__PURE__ */ new Set(), iW = [], aW = null;
+function oW() {
+ if (aW = null, !iW.length) return;
+ let e = iW.splice(0, 200);
on("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), rW.length && (iW = setTimeout(aW, 800));
+ }).catch(() => {}), iW.length && (aW = setTimeout(oW, 800));
}
-function t_e(e, t, n, r) {
+function e_e(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- nW.has(i) || (nW.add(i), rW.push(t === null ? {
+ rW.has(i) || (rW.add(i), iW.push(t === null ? {
item: e,
width: n,
height: r
@@ -47304,25 +47323,25 @@ function t_e(e, t, n, r) {
width: n,
height: r,
media: t
- }), iW ||= setTimeout(aW, 800));
+ }), aW ||= setTimeout(oW, 800));
}
// src/react/entity-filter/entity-filter.ts
-var n_e = (e) => e === "videos", oW = () => /* @__PURE__ */ (0, F.jsx)("span", {
+var t_e = (e) => e === "videos", sW = () => /* @__PURE__ */ (0, F.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), r_e = zz("shuffle"), i_e = zz("arrow-up"), a_e = zz("arrow-down");
-function sW(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = n_e(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), n_e = zz("shuffle"), r_e = zz("arrow-up"), i_e = zz("arrow-down");
+function a_e(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = t_e(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, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = lI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = lI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = lI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
+ })) : i, m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = oI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = oI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = oI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, P.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
}, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(fW, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, F.jsx)(iI, {
+ }), /* @__PURE__ */ (0, F.jsx)($F, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -47357,13 +47376,13 @@ function sW(e) {
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, F.jsx)(oW, {}) : null] }) : null,
+ }), d ? /* @__PURE__ */ (0, F.jsx)(sW, {}) : null] }) : null,
T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, F.jsx)(oW, {})] }) : null,
+ }), /* @__PURE__ */ (0, F.jsx)(sW, {})] }) : null,
/* @__PURE__ */ (0, F.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -47384,11 +47403,11 @@ function sW(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, F.jsx)(oW, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, F.jsx)(sW, {}) : null]
}), /* @__PURE__ */ (0, F.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(aI, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(tI, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -47454,10 +47473,10 @@ function uW({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: WU(n) }
+ dangerouslySetInnerHTML: { __html: GU(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(oW, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(aI, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(sW, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(tI, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -47588,14 +47607,14 @@ function hW({ name: e, label: t, value: n, options: r, onChange: i }) {
value: n,
onChange: i,
"data-entity-layout": "",
- className: LU,
+ className: RU,
children: r.map(([e, t, n]) => {
let r = zz(n);
return /* @__PURE__ */ (0, F.jsx)(TR, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: RU,
+ className: zU,
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: t,
className: "contents",
@@ -47606,17 +47625,17 @@ function hW({ name: e, label: t, value: n, options: r, onChange: i }) {
});
}
function gW({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, F.jsx)(rI, {
+ return /* @__PURE__ */ (0, F.jsx)(ZF, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: r_e,
+ icon: n_e,
onPress: e
});
}
function _W({ head: e, actions: t }) {
- let n = cM();
+ let n = PM();
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -47627,8 +47646,8 @@ function _W({ head: e, actions: t }) {
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, F.jsx)(zU, {}),
- /* @__PURE__ */ (0, F.jsx)(MU, {}),
+ /* @__PURE__ */ (0, F.jsx)(BU, {}),
+ /* @__PURE__ */ (0, F.jsx)(NU, {}),
/* @__PURE__ */ (0, F.jsx)(vW, {
sorts: e.sorts,
onSort: t.setSort
@@ -47644,9 +47663,9 @@ function vW({ 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, F.jsx)(BU, {
- a: i_e,
- b: a_e,
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, F.jsx)(VU, {
+ a: r_e,
+ b: i_e,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -47757,7 +47776,7 @@ function TW(e) {
});
}
function EW(e) {
- let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = lI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+ let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = oI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, P.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
@@ -47778,7 +47797,7 @@ function EW(e) {
e.sorts
]), (0, P.useLayoutEffect)(() => {
Ms(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, F.jsx)(iI, {
+ }, [f]), /* @__PURE__ */ (0, F.jsx)($F, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -47832,7 +47851,7 @@ function EW(e) {
});
}
function DW({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, F.jsxs)(aI, {
+ return /* @__PURE__ */ (0, F.jsxs)(tI, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -47934,7 +47953,7 @@ function AW({ kind: e }) {
}, t)) });
}
function jW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = cM(), [o, s] = (0, P.useState)(!1);
+ let a = PM(), [o, s] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {
"data-catalog-summary": "",
children: [/* @__PURE__ */ (0, F.jsx)(MW, { count: e }), /* @__PURE__ */ (0, F.jsx)(eB, { currentHref: i.currentHref })]
@@ -47954,8 +47973,8 @@ function jW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, F.jsx)(zU, {}),
- /* @__PURE__ */ (0, F.jsx)(MU, {}),
+ /* @__PURE__ */ (0, F.jsx)(BU, {}),
+ /* @__PURE__ */ (0, F.jsx)(NU, {}),
/* @__PURE__ */ (0, F.jsx)(vW, {
sorts: r,
onSort: i.setSort
@@ -48250,7 +48269,7 @@ function mG({ item: e, actions: t }) {
}) : null] });
}
function hG(e, t, n) {
- return t === "short" ? cG : xA(n);
+ return t === "short" ? cG : BA(n);
}
function gG(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = uo(e), s = i[0] || "", c = Ya(e);
@@ -53036,7 +53055,7 @@ function fK(e, t, n = dK, r = !1) {
x: o.current.width / 2 - (e.x + e.width / 2) * i,
y: o.current.height / 2 - (e.y + e.height / 2) * i
};
- !t || v() ? _(a, !0, n) : p.current = cre(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = Bne(0, 1, {
duration: .42,
ease: [
.22,
@@ -53177,14 +53196,14 @@ function hK(e, t, n) {
}
// src/react/video-wall/wall-controls.tsx
function gK({ 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 = My(), x = hK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+ let b = eb(), x = hK(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) {
y(tn(e));
}
};
- return /* @__PURE__ */ (0, F.jsxs)(By.div, {
+ return /* @__PURE__ */ (0, F.jsxs)(cb.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -53380,14 +53399,14 @@ function bK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? BM(e.part_label) : "",
+ e.part_label ? bN(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
pic: /* @__PURE__ */ (0, F.jsx)(RW, { artwork: ao(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, F.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, F.jsx)("span", { children: [
e.edition_label,
- e.part_label ? BM(e.part_label) : "",
+ e.part_label ? bN(e.part_label) : "",
kn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -53452,20 +53471,20 @@ function EK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
kind: "parts",
seedId: w.part_group.seed_id
} : null, ee = Pt({
- queryKey: yM(M || {
+ queryKey: $M(M || {
kind: "parts",
seedId: 0
}),
enabled: !!M,
- queryFn: ({ signal: e }) => OM(M, {
+ queryFn: ({ signal: e }) => cN(M, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === jM(te, O || w?.id || null)) || w, N = fK(e.length, t && !!e.length, m?.camera || {
+ }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === dN(te, O || w?.id || null)) || w, N = fK(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), re = My(), [ie, ae] = (0, P.useState)(!!m);
+ }, !!w), re = eb(), [ie, ae] = (0, P.useState)(!!m);
(0, P.useEffect)(() => {
if (!e.length || ie || re) return;
let t = setTimeout(() => ae(!0), 1100);
@@ -53570,7 +53589,7 @@ function EK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && fe(!1);
}
}, Ve = () => {
- let e = MM(te || null, se || 0);
+ let e = fN(te || null, se || 0);
e && (k(e.id), Be(e));
};
(0, P.useEffect)(() => {
@@ -53721,7 +53740,7 @@ function EK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Xe.code ? /* @__PURE__ */ (0, F.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,
/* @__PURE__ */ (0, F.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),
- te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? BM(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? bN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -53838,18 +53857,18 @@ function EK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, F.jsxs)(PU, {
+ /* @__PURE__ */ (0, F.jsxs)(FU, {
"aria-label": "播放墙图片",
value: Te,
onChange: Ee,
- className: FU,
+ className: IU,
children: [/* @__PURE__ */ (0, F.jsx)(TR, {
value: "cover",
- className: IU,
+ className: LU,
children: "封面"
}), /* @__PURE__ */ (0, F.jsx)(TR, {
value: "thumbnail",
- className: IU,
+ className: LU,
children: "缩略图"
})]
}),
@@ -53921,7 +53940,7 @@ function EK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
}, t.key);
let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + N.view.camera.x / N.view.camera.scale) + Math.max(0, t.y + N.view.camera.y / N.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, F.jsx)(By.article, {
+ return /* @__PURE__ */ (0, F.jsx)(cb.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -54001,7 +54020,7 @@ function EK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },
"aria-label": "观看进度"
}) : null,
- /* @__PURE__ */ (0, F.jsx)(By.span, {
+ /* @__PURE__ */ (0, F.jsx)(cb.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: re ? 0 : .24 }
@@ -54182,7 +54201,7 @@ function MK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}
})
}),
- s ? /* @__PURE__ */ (0, F.jsx)(sU, {
+ s ? /* @__PURE__ */ (0, F.jsx)(cU, {
traffic: s,
initial: !0
}) : null,
@@ -54309,7 +54328,7 @@ function NK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
type: "button",
disabled: i,
title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: DF($B, eV, "text-body-2-medium"),
+ className: mF($B, eV, "text-body-2-medium"),
onClick: () => m(r),
children: /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -54349,19 +54368,19 @@ function IK({ assetIds: e, onComplete: t, className: n }) {
a(e.job_id || null), H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
}
}), u = r.data;
- if ((0, P.useEffect)(() => {
+ (0, P.useEffect)(() => {
u && i && u.job_id === i && !hH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
}, [
u,
i,
t
- ]), hH(u)) return null;
- let d = l.isPending || hH(u), f = l.error ? Wn(l.error) : r.error ? SH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
+ ]);
+ let d = l.isPending || hH(u), f = l.error ? Wn(l.error) : r.error ? SH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${hH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
return /* @__PURE__ */ (0, F.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
- className: DF("@container", n),
+ className: mF("@container", n),
children: /* @__PURE__ */ (0, F.jsxs)(Iz, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, F.jsx)("div", {
@@ -54666,7 +54685,7 @@ function iq(e) {
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
var l_e = /* @__PURE__ */ o(((e) => {
- var t = A(), n = jx();
+ var t = A(), n = oS();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -56500,11 +56519,11 @@ function RJ(e, t) {
// src/react/boardui/components/base/table/table.tsx
function zJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: DF("w-full overflow-x-auto", n),
+ className: mF("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, F.jsx)(Gde, {
ref: r,
...i,
- className: DF("bui-table", e === "sm" && "bui-table-sm", t)
+ className: mF("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
@@ -56661,7 +56680,7 @@ function Aye(e) {
return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (GJ() ? kye : "") + `<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 qJ(e, t) {
- return sM() === "list" ? Aye(e) : Ls(e, {
+ return jM() === "list" ? Aye(e) : Ls(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
@@ -56694,7 +56713,7 @@ function JJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
}
// src/react/components/select.tsx
function YJ({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, F.jsx)(DU, {
+ if (e == null) return /* @__PURE__ */ (0, F.jsx)(OU, {
...r,
size: n,
renderValue: t
@@ -56704,7 +56723,7 @@ function YJ({ 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, F.jsx)(DU, {
+ return /* @__PURE__ */ (0, F.jsx)(OU, {
...r,
size: n,
renderValue: a
@@ -56764,10 +56783,10 @@ function ZJ({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, F.jsx)(OU, {
+ children: [/* @__PURE__ */ (0, F.jsx)(kU, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(OU, {
+ }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(kU, {
id: e.id,
children: e.label
}, e.id))]
@@ -56775,7 +56794,7 @@ function ZJ({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: VU,
+ leadingIcon: HU,
"data-icon-state": i?.desc ? "b" : "a",
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
@@ -56812,7 +56831,7 @@ function QJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
pageSize: Number(e)
});
},
- children: o.map((e) => /* @__PURE__ */ (0, F.jsx)(OU, {
+ children: o.map((e) => /* @__PURE__ */ (0, F.jsx)(kU, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
@@ -56960,8 +56979,8 @@ function rY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
}
// src/react/catalog-grid/catalog-table-controls.tsx
function Pye({ item: e, actions: t }) {
- let { rating: n } = e, r = kH(), i = (0, P.useRef)(0), a = gM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- pM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
+ let { rating: n } = e, r = kH(), i = (0, P.useRef)(0), a = XM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ qM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -57009,7 +57028,7 @@ function aY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
- className: DF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
+ className: mF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, F.jsx)(q, {
variant: "ghost",
size: "small",
@@ -57063,7 +57082,7 @@ function oY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
onOpenChange: u,
placement: "bottom end",
offset: 4,
- className: DF(QB, "w-max overscroll-contain"),
+ className: mF(QB, "w-max overscroll-contain"),
children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(MH, {
"aria-label": e,
"data-selection-placement": t ?? "bottom",
@@ -57178,7 +57197,7 @@ var Fye = zq({
}
], dY = /* @__PURE__ */ new Map();
function Lye(e) {
- let t = Nye(), n = iG(), r = lM(e.filters || {}, !1), [i] = (0, P.useState)(() => {
+ let t = Nye(), n = iG(), r = FM(e.filters || {}, !1), [i] = (0, P.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, P.useState)(() => dY.get(i) || {
@@ -57586,7 +57605,7 @@ function Rye({ item: e, props: t, disabled: n }) {
children: [p?.name ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-list-library": "",
title: `媒体库:${p.name}`,
- children: [/* @__PURE__ */ (0, F.jsx)(eU, { mark: p.icon }), p.name]
+ children: [/* @__PURE__ */ (0, F.jsx)(tU, { mark: p.icon }), p.name]
}) : null, u]
})]
})
@@ -57595,9 +57614,9 @@ function Rye({ item: e, props: t, disabled: n }) {
}
// src/react/catalog-grid/catalog-grid-page.tsx
function fY(e) {
- let t = cM();
+ let t = PM();
if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Bye, { ...e });
- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${lM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(Lye, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Vye, { ...e }, n);
}
function zye({ name: e }) {
@@ -57644,7 +57663,7 @@ function Bye(e) {
});
}
function Vye(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? mce(e) : uM(e), [s] = (0, P.useState)(() => e.wall ? gce(o.queryKey) : void 0), c = s || (i && e.initial ? {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? HM(e) : VM(e), [s] = (0, P.useState)(() => e.wall ? WM(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -57665,7 +57684,7 @@ function Vye(e) {
(0, P.useEffect)(() => {
l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));
}, [l.isPending]);
- let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => vce(l.data?.pages || [], {
+ let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => Rse(l.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -57728,7 +57747,7 @@ function Vye(e) {
/* @__PURE__ */ (0, F.jsx)(FK, { assetIds: v }),
(() => {
if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(EK, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${lM(e.filters || {}, !!e.excludeVertical)}`,
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
hasMore: !!l.hasNextPage,
@@ -57768,7 +57787,7 @@ function Vye(e) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: xce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(pY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Uye, {
+ children: Vse(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(pY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Uye, {
cut: t.strip,
props: e,
onOpen: T
@@ -57864,7 +57883,7 @@ function Hye(e, t, n, r, i) {
let r = new AbortController();
f.current.push(r);
let i = n - 1;
- B(`/api/items?${bce(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ B(`/api/items?${Bse(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -57876,9 +57895,9 @@ function Hye(e, t, n, r, i) {
}, [t]), (0, P.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = yce(n.length - t, m, p);
+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = zse(n.length - t, m, p);
if (!h.length) return;
- let g = dM(s.items, d.current, e.groupCollapse !== !1);
+ let g = GM(s.items, d.current, e.groupCollapse !== !1);
if (l.current = s.more ? l.current + 18 : 0, !g.length) return;
let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);
o((e) => [...e, {
@@ -57931,7 +57950,7 @@ function Wye({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, P.useRef)(/* @__PURE__ */ new Map()), a = (0, P.useRef)(t);
a.current = t;
let o = po(e, n.tagLabel), s = (0, P.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => fM(e, t.javImage)).slice(0, 9);
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => KM(e, t.javImage)).slice(0, 9);
return i.current = new Map(n.map((e) => [String(e.id), hY(e, t, !0).html])), n.map((e) => String(e.id));
}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = hY(e, t, !1);
return /* @__PURE__ */ (0, F.jsx)(PG, {
@@ -58461,7 +58480,7 @@ function Hxe(e, t, n) {
})]);
}
async function Uxe(e, t, n) {
- let r = new URLSearchParams({ limit: String(nA().value.feedLimit) });
+ let r = new URLSearchParams({ limit: String(xA().value.feedLimit) });
e && r.set("entity", String(e));
let i = await on(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
return n && o.length && await Hxe(s, Bxe, Vxe), {
@@ -58767,7 +58786,7 @@ function aZ(e, t) {
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
// src/react/boardui/components/base/badges/chip.tsx
-var oZ = OF({
+var oZ = hF({
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",
@@ -58789,7 +58808,7 @@ var oZ = OF({
function sZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
ref: r,
- className: DF(oZ.base, oZ.variant[e], oZ.color[t], n),
+ className: mF(oZ.base, oZ.variant[e], oZ.color[t], n),
...i
});
}
@@ -58813,7 +58832,7 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
...o,
"data-index-cell": "",
onClick: a,
- className: BH({
+ className: VH({
radius: "plain",
padding: "none",
interactive: !0,
@@ -59643,7 +59662,7 @@ function MZ({ name: e, actions: t, children: n, ...r }) {
}
var NZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: GU(e) }
+ dangerouslySetInnerHTML: { __html: KU(e) }
});
function RSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, P.useState)(!1), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);
@@ -59669,7 +59688,7 @@ function RSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
});
}
function zSe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Zi(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) => t_e(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? $i(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ta({
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Zi(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) => e_e(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? $i(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ta({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -59685,7 +59704,7 @@ function zSe(e) {
w.current = C.onPointerLeave;
let T = (0, P.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = XU(u, n, i), D = KU(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = $U(u, i), j = QU(t, u), M = u.status === "saved", ee = (e) => {
+ }, []), E = ZU(u, n, i), D = qU(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = eW(u, i), j = $U(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));
}, te = (e, t) => {
e.stopPropagation(), t();
@@ -59742,7 +59761,7 @@ function zSe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: GU(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: KU(u.provider, u.provider_label) }
}), j ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: j }
@@ -59846,7 +59865,7 @@ function zSe(e) {
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: ZU(t, u) + z(D) }
+ dangerouslySetInnerHTML: { __html: QU(t, u) + z(D) }
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-follow-byline": "",
@@ -59864,8 +59883,8 @@ function zSe(e) {
}),
/* @__PURE__ */ (0, F.jsx)("time", {
dateTime: u.published_at || "",
- title: tW(u),
- children: e_e(u)
+ title: nW(u),
+ children: $ge(u)
}),
E.credited ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-credit": "",
@@ -60074,7 +60093,7 @@ function qSe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, qU(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, JU(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -60204,7 +60223,7 @@ function HZ({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, F.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, F.jsx)(dI, {
+ children: [/* @__PURE__ */ (0, F.jsx)(cI, {
variant: "secondary",
leadingIcon: VSe,
"data-follow-manage": "",
@@ -60294,7 +60313,7 @@ function XSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
(0, P.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => qU(e.authorSources.get(t) || [], n);
+ let o = (t) => JU(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, F.jsx)("div", {
@@ -60302,9 +60321,9 @@ function XSe({ 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 = JU(a), c = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = YU(a), c = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: YU(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: XU(a, o(n)) }
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-name": "",
children: o(n)
@@ -60348,12 +60367,12 @@ function ZSe({ rows: e, pressed: t, props: n, onPick: r }) {
}) : null;
}
function QSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = lI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = lI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+ let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = oI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = oI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, P.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, F.jsx)(iI, {
+ return /* @__PURE__ */ (0, F.jsx)($F, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -60438,10 +60457,10 @@ function QSe({ 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: GU(t, n) }
+ dangerouslySetInnerHTML: { __html: KU(t, n) }
}, t)),
_.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(aI, {
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(tI, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${ca(e.groups, n)}`,
@@ -60502,7 +60521,7 @@ function QSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let n = ra(e, t.sort, t.dir);
n && a(n);
},
- children: [n, r ? /* @__PURE__ */ (0, F.jsx)(BU, {
+ children: [n, r ? /* @__PURE__ */ (0, F.jsx)(VU, {
a: USe,
b: WSe,
state: t.dir === "asc" ? "a" : "b",
@@ -60623,7 +60642,7 @@ function rCe({ data: e, filtered: t, clear: n, checkAction: r }) {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, F.jsx)(dI, {
+ }) : a ? r : /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -60705,7 +60724,7 @@ function GZ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function aCe(e) {
+function KZ(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = IW(a, () => i.listSkeletonHtml(r));
return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(LW, {
message: tn(t.error),
@@ -60718,7 +60737,7 @@ function aCe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, F.jsx)(oCe, {
+ a || !n ? null : /* @__PURE__ */ (0, F.jsx)(aCe, {
...e,
data: n
}),
@@ -60732,7 +60751,7 @@ function aCe(e) {
]
});
}
-function oCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+function aCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
let u = GZ({
view: e,
revision: 0,
@@ -60764,7 +60783,7 @@ function oCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: u.status,
onSave: u.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, F.jsx)(sCe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(oCe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
@@ -60777,7 +60796,7 @@ function oCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function sCe({ searched: e, clear: t, actions: n, sources: r }) {
+function oCe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-empty": "",
className: "contents",
@@ -60791,7 +60810,7 @@ function sCe({ searched: e, clear: t, actions: n, sources: r }) {
}) : r.length ? /* @__PURE__ */ (0, F.jsx)(ISe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, F.jsx)(dI, {
+ }) : /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -60800,7 +60819,7 @@ function sCe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function KZ(e) {
+function qZ(e) {
return {
x0: 0,
y0: 0,
@@ -60808,7 +60827,7 @@ function KZ(e) {
y1: e.height
};
}
-function qZ(e) {
+function JZ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -60816,40 +60835,40 @@ function qZ(e) {
y1: Math.round(e.y1)
};
}
-function JZ(e) {
+function YZ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function YZ(e, t) {
- if (!JZ(e)) return {
+function XZ(e, t) {
+ if (!YZ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return KZ(e);
+ if (t == null || !(t > 0)) return qZ(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 qZ({
+ return JZ({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function cCe(e, t) {
- if (!JZ(e) || !(t > 0)) return KZ(e);
+function sCe(e, t) {
+ if (!YZ(e) || !(t > 0)) return qZ(e);
let n = Math.min(e.width, e.height * t);
- return qZ({
+ return JZ({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function lCe(e, t, n) {
- if (!JZ(t) || !(n > 0)) return KZ(t);
- let r = XZ(e, t), i = YZ({
+function cCe(e, t, n) {
+ if (!YZ(t) || !(n > 0)) return qZ(t);
+ let r = ZZ(e, t), i = XZ({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -60860,8 +60879,8 @@ function lCe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function XZ(e, t, n = null, r = "width") {
- if (!JZ(t)) return {
+function ZZ(e, t, n = null, r = "width") {
+ if (!YZ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -60870,43 +60889,43 @@ function XZ(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 qZ({
+ return JZ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function ZZ(e, t, n, r) {
+function QZ(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 qZ({
+ return JZ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function QZ(e, t, n, r = null) {
- if (!JZ(n) || !(t > 0)) return e;
+function $Z(e, t, n, r = null) {
+ if (!YZ(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 XZ({
+ return ZZ({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function uCe(e, t, n, r, i = null) {
+function lCe(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 XZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return ZZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function dCe(e, t) {
- return JZ(t) ? {
+function uCe(e, t) {
+ return YZ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -60918,8 +60937,8 @@ function dCe(e, t) {
height: 0
};
}
-function fCe(e, t) {
- if (!JZ(t)) return {
+function dCe(e, t) {
+ if (!YZ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -60929,7 +60948,7 @@ function fCe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function pCe(e, t) {
+function fCe(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}%`,
@@ -60938,15 +60957,15 @@ function pCe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function $Z(e, t, n) {
+function eQ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function mCe(e, t) {
+function pCe(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 hCe = .02, eQ = 1.08;
-function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var mCe = .02, tQ = 1.08;
+function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, P.useRef)(null), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);
(0, P.useEffect)(() => {
u(!1);
@@ -60965,8 +60984,8 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: $Z(e, n.clientWidth, r.width),
- dy: $Z(t, n.clientHeight, r.height)
+ dx: eQ(e, n.clientWidth, r.width),
+ dy: eQ(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -60983,22 +61002,22 @@ function tQ({ 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(ZZ(n.box, o.dx, o.dy, r)) : i(uCe(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(QZ(n.box, o.dx, o.dy, r)) : i(lCe(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) * hCe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * mCe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(ZZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QZ(n, e.key === "-" ? 1 / eQ : eQ, r, t)));
+ o[e.key] ? (e.preventDefault(), i(QZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($Z(n, e.key === "-" ? 1 / tQ : tQ, r, t)));
}
- let v = n && r ? dCe(XZ(n, r, t), r) : null, y = v ? mCe(v, d) : !1, b = v ? {
+ let v = n && r ? uCe(ZZ(n, r, t), r) : null, y = v ? pCe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -61017,7 +61036,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- JZ({
+ YZ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -61056,7 +61075,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(QZ(n, e.deltaY > 0 ? eQ : 1 / eQ, r, t));
+ n && r && i($Z(n, e.deltaY > 0 ? tQ : 1 / tQ, 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, F.jsx)("span", {
@@ -61078,13 +61097,13 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var gCe = "/api/avatar-choices", nQ = "/api/avatar-pick", _Ce = "/api/avatar-code-cover", rQ = "/api/avatar-frame", vCe = "/avatar-choice", iQ = (e, t) => [
+var hCe = "/api/avatar-choices", rQ = "/api/avatar-pick", gCe = "/api/avatar-code-cover", iQ = "/api/avatar-frame", _Ce = "/avatar-choice", aQ = (e, t) => [
"avatar-choices",
e,
t
-], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${vCe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", yCe = (e, t, n) => B(gCe + aQ(e, t), n), bCe = (e) => V(_Ce, { code: e });
-async function xCe(e, t, n) {
- let r = await V(rQ, {
+], oQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, sQ = (e, t, n, r = "") => `${_Ce}${oQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), cQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", vCe = (e, t, n) => B(hCe + oQ(e, t), n), yCe = (e) => V(gCe, { code: e });
+async function bCe(e, t, n) {
+ let r = await V(iQ, {
kind: e,
id: t,
ref: n.ref
@@ -61097,12 +61116,12 @@ async function xCe(e, t, n) {
bases: r.bases
};
}
-var SCe = (e, t, n) => V(rQ, {
+var xCe = (e, t, n) => V(iQ, {
kind: e,
id: t,
url: n
-}), CCe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function cQ(e, t) {
+}), SCe = (e, t, n) => lQ(`${iQ}${oQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function lQ(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -61111,17 +61130,17 @@ async function cQ(e, t) {
if (n.ok) return r;
throw new Hn(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function lQ(e, t, n) {
+function uQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? lCe(e.focus, t, n) : YZ(t, n);
+ return e.focus && r ? cCe(e.focus, t, n) : XZ(t, n);
}
-var wCe = (e) => e.crop && JZ({
+var CCe = (e) => e.crop && YZ({
width: e.width,
height: e.height
});
-async function TCe(e, t, n) {
+async function wCe(e, t, n) {
if (!("file" in n)) {
- await V(nQ, {
+ await V(rQ, {
kind: e,
id: t,
...n
@@ -61134,19 +61153,19 @@ async function TCe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await lQ(`${rQ}${oQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var uQ = 2;
-function ECe(e, t) {
+var dQ = 2;
+function TCe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, uQ).join("」「")}」`}${n.length > uQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, dQ).join("」「")}」`}${n.length > dQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var DCe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function OCe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${DCe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var ECe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function DCe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${ECe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var dQ = (e) => e.cast > 1, kCe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, ACe = {
+var fQ = (e) => e.cast > 1, OCe = (e) => fQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, kCe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -61156,7 +61175,7 @@ var dQ = (e) => e.cast > 1, kCe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function jCe(e) {
+function ACe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -61167,19 +61186,19 @@ function jCe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var MCe = (e) => `${ACe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), NCe = 8, PCe = 3 / 4;
-async function FCe(e, t, n) {
+var jCe = (e) => `${kCe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), MCe = 8, NCe = 3 / 4;
+async function PCe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await xCe(e, t, n.choice) };
- case "code": return { choice: await bCe(n.code) };
- case "url": return { choice: await SCe(e, t, n.url) };
+ case "choice": return { choice: await bCe(e, t, n.choice) };
+ case "code": return { choice: await yCe(n.code) };
+ case "url": return { choice: await xCe(e, t, n.url) };
case "file": return {
- choice: await CCe(e, t, n.file),
+ choice: await SCe(e, t, n.file),
file: n.file
};
}
}
-function ICe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function FCe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -61199,7 +61218,7 @@ function ICe({ kind: e, entityId: t, name: n, onPicked: r }) {
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, F.jsx)(LCe, {
+ children: /* @__PURE__ */ (0, F.jsx)(ICe, {
kind: e,
entityId: t,
name: n,
@@ -61208,24 +61227,24 @@ function ICe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function LCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, P.useRef)(null), o = oV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = iQ(e, t), m = (0, P.useRef)(!1), h = Pt({
+function ICe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, P.useRef)(null), o = oV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = aQ(e, t), m = (0, P.useRef)(!1), h = Pt({
queryKey: p,
- queryFn: ({ signal: n }) => yCe(e, t, n),
+ queryFn: ({ signal: n }) => vCe(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, P.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: iQ(e, t) });
+ m.current && H.removeQueries({ queryKey: aQ(e, t) });
}, [e, t]);
let g = Ft({
- mutationFn: (n) => TCe(e, t, n),
+ mutationFn: (n) => wCe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = Ft({
- mutationFn: (n) => FCe(e, t, n),
+ mutationFn: (n) => PCe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -61246,7 +61265,7 @@ function LCe({ 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 ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : OCe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : DCe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
@@ -61267,7 +61286,7 @@ function LCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? kCe(d.choice) : ECe(n, x)
+ children: d ? OCe(d.choice) : TCe(n, x)
}),
T ? /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "neutral",
@@ -61288,14 +61307,14 @@ function LCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)($F, {
+ /* @__PURE__ */ (0, F.jsx)(KF, {
icon: pz,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, F.jsx)(zCe, {
+ }), d ? /* @__PURE__ */ (0, F.jsx)(RCe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -61315,7 +61334,7 @@ function LCe({ 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: NCe }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: MCe }, (e, t) => /* @__PURE__ */ (0, F.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",
@@ -61328,7 +61347,7 @@ function LCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: MCe(n),
+ title: jCe(n),
...Vz(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
@@ -61338,8 +61357,8 @@ function LCe({ 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, F.jsx)(RCe, {
- src: oQ(e, t, n.ref, sQ(n, n.ref)),
+ /* @__PURE__ */ (0, F.jsx)(LCe, {
+ src: sQ(e, t, n.ref, cQ(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -61354,7 +61373,7 @@ function LCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- dQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {
+ fQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, F.jsxs)(sZ, {
variant: "caption",
@@ -61441,7 +61460,7 @@ function LCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function RCe({ src: e, choice: t }) {
+function LCe({ src: e, choice: t }) {
let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1), [a, o] = (0, P.useState)(!1);
(0, P.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -61449,7 +61468,7 @@ function RCe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = wCe(t) ? pCe(lQ(t, s, PCe), s) : null, l = r || a ? !0 : void 0;
+ }, c = CCe(t) ? fCe(uQ(t, s, NCe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -61475,23 +61494,23 @@ function RCe({ src: e, choice: t }) {
})]
});
}
-function zCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = oV();
+function RCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = cQ(n, s), m = sQ(e, t, s, p), h = oV();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? fCe(d, l) : null;
+ let _ = d && l ? dCe(d, l) : null;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.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, F.jsx)(tQ, {
+ children: [m ? /* @__PURE__ */ (0, F.jsx)(nQ, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), JZ(e) && f(s === n.ref ? lQ(n, e, 1) : YZ(e, 1));
+ u(e), YZ(e) && f(s === n.ref ? uQ(n, e, 1) : XZ(e, 1));
},
onBox: f
}) : null, o.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {
@@ -61505,7 +61524,7 @@ function zCe({ 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: jCe(e)
+ children: ACe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -61553,9 +61572,9 @@ function zCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
})] });
}
// src/react/components/source-picture.tsx
-var fQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
-function pQ({ item: e, image: t, thumbnail: n = !1 }) {
- let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.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 ? fQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";
+var pQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
+function mQ({ item: e, image: t, thumbnail: n = !1 }) {
+ let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.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 ? pQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";
if ((0, P.useLayoutEffect)(() => {
let e = l.current;
e?.complete && e.naturalWidth > 0 && o({
@@ -61636,7 +61655,7 @@ function pQ({ item: e, image: t, thumbnail: n = !1 }) {
] });
}
// src/react/components/source-avatar.tsx
-function mQ({ code: e, person: t, detail: n = !1 }) {
+function hQ({ code: e, person: t, detail: n = !1 }) {
let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(n || typeof IntersectionObserver > "u");
(0, P.useEffect)(() => {
if (!r.current || i) return;
@@ -61650,7 +61669,7 @@ function mQ({ code: e, person: t, detail: n = !1 }) {
"data-source-initial": "",
children: Fn(t.name)
}), i && t.source_actor_id ? /* @__PURE__ */ (0, F.jsx)("img", {
- src: fQ(e, `actor:${t.source_actor_id}`),
+ src: pQ(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -61660,8 +61679,8 @@ function mQ({ code: e, person: t, detail: n = !1 }) {
}) : o;
}
// src/react/feed-new/feed-new-row.tsx
-function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, P.useContext)(TU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";
+function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, P.useContext)(EU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";
(0, P.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -61693,7 +61712,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(mQ, {
+ }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -61702,7 +61721,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}), e, `${l.length}:${t}`))] }) : null;
}
// src/react/entity-hero/glyph.tsx
-function gQ({ name: e }) {
+function _Q({ name: e }) {
let { wide: t, viewBox: n } = rn(e);
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: n,
@@ -61712,20 +61731,20 @@ function gQ({ name: e }) {
});
}
// src/react/entity-hero/hero-pop.tsx
-function _Q(e, t) {
+function vQ(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 vQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function yQ(e, t, n, r) {
+var yQ = (e) => !!e?.isConnected && e.matches(":popover-open");
+function bQ(e, t, n, r) {
let i = (0, P.useRef)(r);
i.current = r, (0, P.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && vQ(n.current) ? _Q(t.current, n.current) : i.current();
+ t.current && yQ(n.current) ? vQ(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -61739,17 +61758,17 @@ function yQ(e, t, n, r) {
n
]);
}
-function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = (0, P.useRef)(!1), d = (0, P.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, vQ(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, yQ(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !vQ(s.current) && (s.current.showPopover(), _Q(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !yQ(s.current) && (s.current.showPopover(), vQ(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 yQ(c, o, s, f), (0, P.useEffect)(() => {
+ return bQ(c, o, s, f), (0, P.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -61775,7 +61794,7 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && vQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && yQ(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -61793,16 +61812,16 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function BCe({ following: e, busy: t, onToggle: n, tip: r }) {
+function zCe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(!1), u = () => {
- vQ(o.current) && o.current.hidePopover(), c(!1);
+ yQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !vQ(o.current) && (o.current.showPopover(), _Q(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !yQ(o.current) && (o.current.showPopover(), vQ(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return yQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {
- i.current && vQ(o.current) && _Q(i.current, o.current);
+ return bQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {
+ i.current && yQ(o.current) && vQ(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, F.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -61811,7 +61830,7 @@ function BCe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }),
+ /* @__PURE__ */ (0, F.jsx)(_Q, { name: "rss" }),
/* @__PURE__ */ (0, F.jsx)("input", {
ref: a,
type: "checkbox",
@@ -61845,7 +61864,7 @@ function BCe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function VCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function BCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
@@ -61856,7 +61875,7 @@ function VCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: "chevron-down" })
}), /* @__PURE__ */ (0, F.jsx)(iR, {
placement: "bottom start",
offset: 8,
@@ -61879,7 +61898,7 @@ function VCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, F.jsx)(zue, { "data-namepick-rule": "" }),
@@ -61888,18 +61907,18 @@ function VCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var HCe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", UCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function WCe(e) {
+var VCe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", HCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function UCe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function SQ(e) {
+function CQ(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -61911,13 +61930,13 @@ function SQ(e) {
linked: !1
} : null;
}
-function CQ(e, t) {
+function wQ(e, t) {
let n = Dn(e, "performer"), r = wn(t);
return r && [e.label, n].map(wn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var wQ = (e) => ({ site: bn(e) });
-function GCe(e, t) {
- let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var TQ = (e) => ({ site: bn(e) });
+function WCe(e, t) {
+ let n = CQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -61927,7 +61946,7 @@ function GCe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${CQ(e, n)} · ${t}`
+ title: `${wQ(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -61935,11 +61954,11 @@ function GCe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (xQ(t) && e.link_kind !== "social") return {
+ if (SQ(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: CQ(e, n),
- mark: wQ(e)
+ title: wQ(e, n),
+ mark: TQ(e)
};
if (e.link_kind === "social") {
let t = Cn(r);
@@ -61947,7 +61966,7 @@ function GCe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : wQ(e)
+ mark: t ? { brand: t } : TQ(e)
};
}
return {
@@ -61955,12 +61974,12 @@ function GCe(e, t) {
url: r,
title: e.label || "",
text: Dn(e, t, i),
- mark: wQ(e)
+ mark: TQ(e)
};
});
- return [...r, ...KCe(a)];
+ return [...r, ...GCe(a)];
}
-function KCe(e) {
+function GCe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -61968,8 +61987,8 @@ function KCe(e) {
sources: t.map((e) => e.label)
}];
}
-var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function qCe(e) {
+var EQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function KCe(e) {
return [
[
"legal_name",
@@ -62025,7 +62044,7 @@ function qCe(e) {
}]
}] : []);
}
-function JCe(e) {
+function qCe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -62082,14 +62101,14 @@ function JCe(e) {
tags: e.tags
}), t;
}
-function EQ(e, t = 4) {
+function DQ(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function YCe(e) {
+function JCe(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 ? {
@@ -62099,7 +62118,7 @@ function YCe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function XCe(e) {
+function YCe(e) {
return Xa({
id: e.id,
hasImage: e.has_image,
@@ -62110,8 +62129,8 @@ function XCe(e) {
standIn: e.avatar_stand_in
});
}
-function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = xQ(e), c = HCe(e), l = s ? JCe(n.profile) : c ? qCe(n.company_profile) : [], u = GCe(n, e), d = TQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);
+function XCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = SQ(e), c = VCe(e), l = s ? qCe(n.profile) : c ? KCe(n.company_profile) : [], u = WCe(n, e), d = EQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, P.useEffect)(() => {
@@ -62124,7 +62143,7 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, F.jsx)(QCe, {
+ children: [/* @__PURE__ */ (0, F.jsx)(ZCe, {
kind: e,
name: t,
helpers: o,
@@ -62132,7 +62151,7 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, F.jsx)(ICe, {
+ children: /* @__PURE__ */ (0, F.jsx)(FCe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -62147,9 +62166,9 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, F.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(VCe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(BCe, {
current: n.canonical_name,
- choices: WCe(n),
+ choices: UCe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
@@ -62161,7 +62180,7 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)($Ce, {
+ /* @__PURE__ */ (0, F.jsx)(QCe, {
kind: e,
entity: n,
actions: a
@@ -62182,14 +62201,14 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, F.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(awe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(iwe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(owe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(awe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(nwe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(twe, {
follow: n.follow,
entity: n,
actions: a
@@ -62198,11 +62217,11 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, F.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(rwe, {
+ children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(nwe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, F.jsx)(iwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, F.jsx)(rwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -62221,7 +62240,7 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${XCe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${YCe(e)}` }
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -62229,14 +62248,14 @@ function ZCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {
+ }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function QCe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function ZCe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, P.useState)(() => `${n.portraitImg()}<span>${z(Fn(t))}</span>`);
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -62245,8 +62264,8 @@ function QCe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function $Ce({ kind: e, entity: t, actions: n }) {
- let r = SQ(t), i = (e, t) => (r) => {
+function QCe({ kind: e, entity: t, actions: n }) {
+ let r = CQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, F.jsx)("a", {
href: hn("agency", r.name, r.id),
@@ -62255,44 +62274,44 @@ function $Ce({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = YCe(t.name_groups);
+ let e = JCe(t.name_groups);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }),
+ /* @__PURE__ */ (0, F.jsx)(OQ, { entity: t }),
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(twe, {
+ t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(ewe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, F.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, F.jsx)(_Q, { name: "id-card" }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", {
- lang: PF(e),
+ lang: xF(e),
children: e
}, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(bQ, {
+ e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(xQ, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(OQ, {
+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(kQ, {
label: e.label,
names: e.names
}, t)) })
@@ -62314,61 +62333,61 @@ function $Ce({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, F.jsx)(OQ, { entity: t }) : null,
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {
href: hn("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, F.jsx)(ewe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, F.jsx)($Ce, { aliases: s }) : null
]
});
}
-function ewe({ aliases: e }) {
- let { shown: t, rest: n } = EQ(e, 3);
+function $Ce({ aliases: e }) {
+ let { shown: t, rest: n } = DQ(e, 3);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, F.jsx)(_Q, { name: "id-card" }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, F.jsx)(bQ, {
+ n ? /* @__PURE__ */ (0, F.jsx)(xQ, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(OQ, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(kQ, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function twe({ follow: e, actions: t }) {
+function ewe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -62377,7 +62396,7 @@ function twe({ follow: e, actions: t }) {
})]
});
}
-function nwe({ follow: e, entity: t, actions: n }) {
+function twe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, P.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -62411,37 +62430,37 @@ function nwe({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function DQ({ entity: e }) {
+function OQ({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function OQ({ label: e, names: t }) {
+function kQ({ label: e, names: t }) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, F.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
"data-pop-name": "",
- lang: PF(e.name),
+ lang: xF(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, F.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function rwe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {
+function nwe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function iwe({ tags: e }) {
- let { shown: t, rest: n } = EQ(e);
+function rwe({ tags: e }) {
+ let { shown: t, rest: n } = DQ(e);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, F.jsx)(bQ, {
+ }, e)), n ? /* @__PURE__ */ (0, F.jsx)(xQ, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -62457,10 +62476,10 @@ function iwe({ tags: e }) {
})
}) : null] });
}
-function kQ({ mark: e }) {
+function AQ({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, F.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: e.brand })
+ children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: e.brand })
});
let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, F.jsx)("span", {
@@ -62468,7 +62487,7 @@ function kQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function awe({ link: e }) {
+function iwe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, F.jsx)("a", {
"data-link": "icon",
@@ -62477,19 +62496,19 @@ function awe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark })
+ children: /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, F.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, F.jsx)(AQ, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(AQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -62501,7 +62520,7 @@ function awe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark }),
+ /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -62516,7 +62535,7 @@ function awe({ link: e }) {
});
}
}
-function owe({ entity: e, actions: t, helpers: n }) {
+function awe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, P.useState)(!!e.feed?.following), [a, o] = (0, P.useState)(!1), s = (0, P.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -62534,33 +62553,33 @@ function owe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-entry-marks": "",
- children: [TQ(e).map((e, t) => /* @__PURE__ */ (0, F.jsxs)("a", {
+ children: [EQ(e).map((e, t) => /* @__PURE__ */ (0, F.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, F.jsx)(gQ, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, F.jsx)(_Q, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(BCe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(zCe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: UCe(r)
+ tip: HCe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var swe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function cwe(e, t, n) {
+var owe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function swe(e, t, n) {
let [r, i] = (0, P.useState)(() => Qi(e));
r.author !== e && i(Qi(e));
let [a, o] = (0, P.useState)({
@@ -62639,7 +62658,7 @@ function cwe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: Fi,
- seed: swe()
+ seed: owe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -62669,7 +62688,7 @@ function cwe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function lwe(e) {
+function cwe(e) {
let { kind: t, name: n } = e, r = Pt(HX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
@@ -62693,12 +62712,12 @@ function lwe(e) {
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(fwe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(dwe, {
...e,
entity: r.data
});
}
-function AQ(e) {
+function jQ(e) {
let [t, n] = (0, P.useState)({
key: e,
n: 1
@@ -62710,22 +62729,22 @@ function AQ(e) {
};
return n(r), r.n;
}
-var uwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function dwe(e, t) {
+var lwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function uwe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function fwe(e) {
+function dwe(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 = It(UX(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 || WX(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
} : FX, [y, b] = (0, P.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, P.useState)(x);
S !== x && (C(x), b("videos"));
- let w = l && y === "people" && u.length ? "people" : v.media, T = cwe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = swe(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, P.useState)(0), k = VX(e), A = Pt(k), j = AQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.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, P.useState)(0), k = VX(e), A = Pt(k), j = jQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
(0, P.useLayoutEffect)(() => {
s.javContext(M);
}, [s, M]);
@@ -62738,7 +62757,7 @@ function fwe(e) {
}, ne = (0, P.useCallback)((e, r, a) => BX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = It({
...UX(t, n, ie, ae),
enabled: w === "photos"
- }), se = oe.data?.pages[0], ce = AQ(JSON.stringify(LX(t, n, ie, ae))), le = (0, P.useMemo)(() => {
+ }), se = oe.data?.pages[0], ce = jQ(JSON.stringify(LX(t, n, ie, ae))), le = (0, P.useMemo)(() => {
let e = oe.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
@@ -62938,7 +62957,7 @@ function fwe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = uwe(), a = await H.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);
+ let r = lwe(), a = await H.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);
he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({
...e,
[ie]: r
@@ -63015,7 +63034,7 @@ function fwe(e) {
Pe = !A.data;
let e = RX(i.tag).length;
Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : dwe(se, WX(se).length) : Pe = oe.isPending;
+ } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : uwe(se, WX(se).length) : Pe = oe.isPending;
let Fe = (0, P.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -63032,7 +63051,7 @@ function fwe(e) {
u
]);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(ZCe, {
+ /* @__PURE__ */ (0, F.jsx)(XCe, {
kind: t,
name: n,
entity: r,
@@ -63042,7 +63061,7 @@ function fwe(e) {
actions: be,
helpers: xe
}, D),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(sW, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(a_e, {
kind: t,
name: n,
view: w,
@@ -63059,9 +63078,9 @@ function fwe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Kge, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Gge, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(aCe, {
+ children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(KZ, {
view: T.view,
media: T.media,
result: T.result,
@@ -63080,7 +63099,7 @@ function fwe(e) {
onRetry: () => {
A.refetch();
}
- }) : je ? /* @__PURE__ */ (0, F.jsx)(pwe, {
+ }) : je ? /* @__PURE__ */ (0, F.jsx)(fwe, {
filtered: Ae,
onShowAll: Me,
onOnline: g ? () => Se.setView("online") : void 0
@@ -63116,7 +63135,7 @@ function fwe(e) {
}), c.body)
] });
}
-function pwe({ filtered: e, onShowAll: t, onOnline: n }) {
+function fwe({ filtered: e, onShowAll: t, onOnline: n }) {
return e ? /* @__PURE__ */ (0, F.jsx)(Lz, {
icon: zz("search"),
title: "没有符合条件的视频",
@@ -63133,7 +63152,7 @@ function pwe({ filtered: e, onShowAll: t, onOnline: n }) {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, F.jsx)(dI, {
+ }) : /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -63142,20 +63161,20 @@ function pwe({ filtered: e, onShowAll: t, onOnline: n }) {
});
}
// src/react/diagnostics/diagnostics.ts
-var jQ = ["diagnostics"], MQ = (e) => B("/api/diagnostics", e);
-async function mwe(e) {
+var MQ = ["diagnostics"], NQ = (e) => B("/api/diagnostics", e);
+async function pwe(e) {
await H.fetchQuery({
- queryKey: jQ,
- queryFn: () => MQ(e),
+ queryKey: MQ,
+ queryFn: () => NQ(e),
staleTime: 1e4
});
}
// src/react/feed-new/feed-new-page.tsx
-function hwe({ host: e, revision: t, helpers: n, actions: r }) {
+function mwe({ host: e, revision: t, helpers: n, actions: r }) {
let i = Pt(MX(null, n.feedRowHtml)), a = (0, P.useRef)(t);
return (0, P.useEffect)(() => {
a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: jX(null) }));
- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {
+ }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
@@ -63164,8 +63183,8 @@ function hwe({ host: e, revision: t, helpers: n, actions: r }) {
}), e);
}
// src/react/index/index-search.tsx
-var gwe = zz("search");
-function NQ({ label: e, value: t, onQuery: n }) {
+var hwe = zz("search");
+function PQ({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, P.useState)(t), a = (0, P.useRef)(!1), o = (0, P.useRef)(void 0);
(0, P.useEffect)(() => {
clearTimeout(o.current), i(t);
@@ -63190,7 +63209,7 @@ function NQ({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, F.jsx)(Mz, {
type: "search",
- leadingIcon: gwe,
+ leadingIcon: hwe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -63202,7 +63221,7 @@ function NQ({ label: e, value: t, onQuery: n }) {
});
}
// src/react/index/tag-pagination.ts
-function PQ(e) {
+function FQ(e) {
let [t, n] = (0, P.useState)({
filter: e,
pageIndex: 0,
@@ -63219,7 +63238,7 @@ function PQ(e) {
}), [e])
};
}
-function FQ(e, t, n) {
+function IQ(e, t, n) {
let { pageIndex: r, pageSize: i } = t;
(0, P.useEffect)(() => {
if (e === void 0) return;
@@ -63236,16 +63255,16 @@ function FQ(e, t, n) {
]);
}
// src/react/components/board-tabs.tsx
-function IQ({ value: e }) {
+function LQ({ value: e }) {
return /* @__PURE__ */ (0, F.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 _we = "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 LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, P.useRef)(null), o = nI(a);
+var gwe = "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 RQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, P.useRef)(null), o = YF(a);
return (0, P.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -63254,7 +63273,7 @@ function LQ({ 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, F.jsx)(AF, {
+ }, [t]), /* @__PURE__ */ (0, F.jsx)(_F, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -63278,7 +63297,7 @@ function LQ({ 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: _we,
+ className: gwe,
onClick: () => {
i || r(e.value);
},
@@ -63288,11 +63307,11 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
});
}
// src/react/index/index-tags.tsx
-var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {
+var zQ = () => /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
-}), zQ = zz("pencil"), BQ = (e, t) => ({
+}), BQ = zz("pencil"), VQ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -63301,7 +63320,7 @@ var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function vwe({ tag: e, actions: t }) {
+function _we({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -63316,7 +63335,7 @@ function vwe({ tag: e, actions: t }) {
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, F.jsx)(RQ, {}),
+ /* @__PURE__ */ (0, F.jsx)(zQ, {}),
/* @__PURE__ */ (0, F.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -63327,32 +63346,32 @@ function vwe({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)($z, { item: BQ(e, t.online) }),
+ t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)($z, { item: VQ(e, t.online) }),
t.edit ? /* @__PURE__ */ (0, F.jsx)(Qz, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})
+ children: /* @__PURE__ */ (0, F.jsx)(BQ, {})
}) : null
]
});
}
-function VQ({ groups: e, actions: t }) {
+function HQ({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, F.jsxs)("section", {
"data-alpha-group": r,
- className: BH({
+ className: VH({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, F.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, F.jsx)(IQ, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, F.jsx)(LQ, { value: n.length })]
}), /* @__PURE__ */ (0, F.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(vwe, {
+ children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(_we, {
tag: e,
actions: t
}, e.k))
@@ -63360,8 +63379,8 @@ function VQ({ groups: e, actions: t }) {
}, e))
});
}
-var ywe = "\xA0";
-function HQ({ tags: e, actions: t }) {
+var vwe = "\xA0";
+function UQ({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -63379,7 +63398,7 @@ function HQ({ tags: e, actions: t }) {
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, F.jsx)("span", {
className: "min-w-0 truncate",
- children: e.label + ywe
+ children: e.label + vwe
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -63388,16 +63407,16 @@ function HQ({ tags: e, actions: t }) {
}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-tag-actions": "",
className: "inline-flex flex-none items-center gap-1",
- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)($z, { item: BQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(Qz, {
+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)($z, { item: VQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(Qz, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})
+ children: /* @__PURE__ */ (0, F.jsx)(BQ, {})
}) : null]
}) : null]
}, e.k))
});
}
-var bwe = [[
+var ywe = [[
"cloud",
"标签云",
"tags"
@@ -63406,34 +63425,34 @@ var bwe = [[
"字母表",
"text-aa"
]];
-function UQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = nI();
- return /* @__PURE__ */ (0, F.jsx)(iI, {
+function WQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
+ let d = YF();
+ return /* @__PURE__ */ (0, F.jsx)($F, {
label: "标签筛选",
topLabel: "标签类型",
top: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [l ? /* @__PURE__ */ (0, F.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, F.jsx)(aI, {
+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(tI, {
"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, F.jsx)(aI, {
+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, F.jsx)(tI, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !!l.blocked,
onPress: l.onBlocked,
children: "已屏蔽内容"
}) : null]
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(aI, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(tI, {
"data-tag-pill": "",
"data-tag-cat": e === "all" ? "all" : iZ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, F.jsx)(RQ, {}), r]
+ children: [/* @__PURE__ */ (0, F.jsx)(zQ, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -63459,14 +63478,14 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${LU}`,
- children: bwe.map(([e, t, n]) => {
+ className: `ml-auto ${RU}`,
+ children: ywe.map(([e, t, n]) => {
let r = zz(n);
return /* @__PURE__ */ (0, F.jsx)(TR, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: RU,
+ className: zU,
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: t,
className: "contents",
@@ -63478,8 +63497,8 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function xwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, F.jsxs)(Sk, {
+function bwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, F.jsxs)(Bk, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
@@ -63515,20 +63534,20 @@ function xwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
});
}
// src/react/toaster.tsx
-var WQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {
+var GQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), GQ = null, KQ = { "--floating-radius": "var(--radius-2xl)" };
-function qQ() {
- let e = GQ;
- GQ = null, e?.root.unmount();
-}
-var JQ = (e, t) => {
- if (GQ?.host === e) return;
- qQ();
+}), KQ = null, qQ = { "--floating-radius": "var(--radius-2xl)" };
+function JQ() {
+ let e = KQ;
+ KQ = null, e?.root.unmount();
+}
+var YQ = (e, t) => {
+ if (KQ?.host === e) return;
+ JQ();
let n = (0, Rt.createRoot)(e);
- GQ = {
+ KQ = {
host: e,
root: n
}, n.render(/* @__PURE__ */ (0, F.jsxs)(nH, { children: [/* @__PURE__ */ (0, F.jsx)(uH, {
@@ -63537,7 +63556,7 @@ var JQ = (e, t) => {
closeButton: !0,
gap: 8,
style: {
- ...KQ,
+ ...qQ,
"--width": "min(560px, calc(100vw - 48px))"
},
offset: {
@@ -63552,8 +63571,8 @@ var JQ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: WQ(t.success, !0),
- error: WQ(t.error, !1)
+ success: GQ(t.success, !0),
+ error: GQ(t.error, !1)
}
}), /* @__PURE__ */ (0, F.jsx)(uH, {
id: "processing",
@@ -63561,7 +63580,7 @@ var JQ = (e, t) => {
gap: 8,
expand: !0,
style: {
- ...KQ,
+ ...qQ,
"--width": "min(400px, calc(100vw - 32px))"
},
offset: {
@@ -63576,13 +63595,13 @@ var JQ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, Swe = 6e3, YQ = (e, t) => {
+}, xwe = 6e3, XQ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
let n = t.alert ? aH.error : aH.success, r = t.action;
n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : Swe,
+ duration: t.timeout > 0 ? t.timeout : xwe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -63590,7 +63609,7 @@ var JQ = (e, t) => {
}
} : void 0
});
-}, XQ = (e) => e.id ?? e.entity_id, ZQ = {
+}, ZQ = (e) => e.id ?? e.entity_id, QQ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -63598,26 +63617,26 @@ var JQ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, QQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
-async function $Q(e, t, n) {
+}, $Q = (e, t) => V("/api/tag-management/preview", e, "POST", t);
+async function e$(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 Vc({
- title: ZQ[e.operation],
+ title: QQ[e.operation],
body: i,
- confirmLabel: ZQ[e.operation],
+ confirmLabel: QQ[e.operation],
onConfirm: () => V("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), YQ(`tag-management-${Date.now()}`, {
- html: `已${ZQ[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), XQ(`tag-management-${Date.now()}`, {
+ html: `已${QQ[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, P.useRef)({
operation: e,
selected: t,
@@ -63626,24 +63645,24 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
scope: i
}), o = (0, P.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? XQ(t[0]) : 0
+ target_id: t[0] ? ZQ(t[0]) : 0
}), [s, c] = (0, P.useState)(null);
return (0, P.useEffect)(() => {
let e = new AbortController(), t = a.current, n = zc({
- title: ZQ[t.operation],
+ title: QQ[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(XQ),
+ ids: t.selected.map(ZQ),
...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 QQ(n, e.signal)
+ plan: await $Q(n, e.signal)
};
}
});
@@ -63654,14 +63673,14 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await $Q(r.command, r.plan, e.signal) && t.done();
+ await e$(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Cwe, {
+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Swe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -63670,8 +63689,8 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function Cwe({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? XQ(t[0]) : 0);
+function Swe({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? ZQ(t[0]) : 0);
return (0, P.useEffect)(() => {
r({
name: i,
@@ -63695,17 +63714,17 @@ function Cwe({ operation: e, selected: t, dialog: n, update: r }) {
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(XQ(t)) === String(e));
- n && s(XQ(n));
+ let n = t.find((t) => String(ZQ(t)) === String(e));
+ n && s(ZQ(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(OU, {
- id: String(XQ(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(kU, {
+ id: String(ZQ(e)),
children: e.k
- }, XQ(e)))
+ }, ZQ(e)))
});
}
// src/react/index/tag-manager.tsx
-function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = (0, P.useRef)(null), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(t), [p, m] = (0, P.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, P.useState)(!1), [b, x] = (0, P.useState)(!1), S = JSON.stringify([
o,
_,
@@ -63713,7 +63732,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
g,
v,
b
- ]), { pagination: C, onChange: w } = PQ(S), T = new URLSearchParams({
+ ]), { pagination: C, onChange: w } = FQ(S), T = new URLSearchParams({
limit: String(C.pageSize),
offset: String(C.pageIndex * C.pageSize),
q: _,
@@ -63730,7 +63749,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
],
queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)
});
- FQ(E.data?.total, C, w);
+ IQ(E.data?.total, C, w);
let [D, O] = (0, P.useState)(/* @__PURE__ */ new Map());
(0, P.useEffect)(() => {
O(/* @__PURE__ */ new Map());
@@ -63744,11 +63763,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
...e,
scope: o
} : e;
- return $Q(n, await QQ(n, t), t);
+ return e$(n, await $Q(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, oe = ie.map(XQ), se = {
+ }, oe = ie.map(ZQ), se = {
online: s,
favorites: s,
picked: k,
@@ -63769,13 +63788,13 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: [
e === void 0 ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mb-4 flex",
- children: /* @__PURE__ */ (0, F.jsx)(NQ, {
+ children: /* @__PURE__ */ (0, F.jsx)(PQ, {
label: "过滤标签",
value: l,
onQuery: u
})
}) : null,
- /* @__PURE__ */ (0, F.jsx)(UQ, {
+ /* @__PURE__ */ (0, F.jsx)(WQ, {
categories: ne,
category: h,
online: s,
@@ -63803,7 +63822,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
} } : {}
},
actions: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)(oI, {
+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)(rI, {
busy: M.busy === "repair",
onPress: () => ae({
operation: "repair",
@@ -63811,11 +63830,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
children: "整理重复标签"
}) : null,
- te.length ? /* @__PURE__ */ (0, F.jsx)(oI, {
+ te.length ? /* @__PURE__ */ (0, F.jsx)(rI, {
onPress: () => O((e) => new Map([...e, ...te.map((e) => [e.k, e])])),
children: "选择本页"
}) : null,
- k.size ? /* @__PURE__ */ (0, F.jsx)(oI, {
+ k.size ? /* @__PURE__ */ (0, F.jsx)(rI, {
onPress: () => O(/* @__PURE__ */ new Map()),
children: "清空选择"
}) : null
@@ -63832,10 +63851,10 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: "立即重试"
}),
children: "无法读取标签"
- }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {
+ }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {
groups: re,
actions: se
- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {
+ }) : /* @__PURE__ */ (0, F.jsx)(UQ, {
tags: N,
actions: se
}) : /* @__PURE__ */ (0, F.jsx)(Iz, {
@@ -63858,7 +63877,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, F.jsxs)(Sk, {
+ /* @__PURE__ */ (0, F.jsxs)(Bk, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -63899,7 +63918,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, F.jsx)(e$, {
+ A ? /* @__PURE__ */ (0, F.jsx)(t$, {
operation: A,
selected: ie,
scope: o,
@@ -63910,7 +63929,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var wwe = [{
+var Cwe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -63918,7 +63937,7 @@ var wwe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], Twe = [{
+}], wwe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -63926,7 +63945,7 @@ var wwe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], Ewe = [
+}], Twe = [
{
value: "performers",
label: "艺人",
@@ -63942,7 +63961,7 @@ var wwe = [{
label: "在线",
symbol: "rss"
}
-], Dwe = {
+], Ewe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -63962,20 +63981,20 @@ var wwe = [{
"layout-grid"
]]
};
-function Owe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, F.jsx)(PU, {
+function Dwe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, F.jsx)(FU, {
"aria-label": `${qX[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none ${FU}`,
- children: Dwe[QX(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none ${IU}`,
+ children: Ewe[QX(e) ? "company" : "people"].map(([e, t, n]) => {
let r = zz(n);
return /* @__PURE__ */ (0, F.jsx)(TR, {
value: e,
"aria-label": t,
- className: Zge,
+ className: Xge,
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: t,
className: "contents",
@@ -63985,7 +64004,7 @@ function Owe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function kwe(e) {
+function Owe(e) {
let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => $X({
kind: e.kind,
q: e.q,
@@ -64011,7 +64030,7 @@ function kwe(e) {
...t
};
x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });
- }, { pagination: C, onChange: w } = PQ(JSON.stringify(r)), T = rZ(eZ(r), C.pageSize), E = It({
+ }, { pagination: C, onChange: w } = FQ(JSON.stringify(r)), T = rZ(eZ(r), C.pageSize), E = It({
queryKey: f === "tags" && (C.pageIndex || C.pageSize !== 100) ? [
...T.queryKey,
"page",
@@ -64027,7 +64046,7 @@ function kwe(e) {
enabled: !(t && f === "tags"),
placeholderData: b ? ke : void 0
}), D = sSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;
- FQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);
+ IQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);
let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : cSe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;
ee && !E.isPlaceholderData && (M.current = {
key: j,
@@ -64051,8 +64070,8 @@ function kwe(e) {
v
]), ae = (t) => {
o(t), e.savePreference({ layout: t });
- }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(LQ, {
- tabs: Twe,
+ }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(RQ, {
+ tabs: wwe,
value: m,
label: "词表",
onChange: (e) => {
@@ -64062,8 +64081,8 @@ function kwe(e) {
view: e === "online" ? "alphabet" : h
});
}
- }) : QX(f) ? /* @__PURE__ */ (0, F.jsx)(LQ, {
- tabs: wwe,
+ }) : QX(f) ? /* @__PURE__ */ (0, F.jsx)(RQ, {
+ tabs: Cwe,
value: f,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -64092,7 +64111,7 @@ function kwe(e) {
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: E.isPending || E.isError ? "" : A
}) : null,
- ZX(f) ? /* @__PURE__ */ (0, F.jsx)(Owe, {
+ ZX(f) ? /* @__PURE__ */ (0, F.jsx)(Dwe, {
kind: f,
layout: a,
onChange: ae
@@ -64111,7 +64130,7 @@ function kwe(e) {
e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, F.jsx)(NQ, {
+ /* @__PURE__ */ (0, F.jsx)(PQ, {
label: `过滤${_}`,
value: p,
onQuery: (e) => {
@@ -64120,8 +64139,8 @@ function kwe(e) {
})
]
}),
- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(LQ, {
- tabs: Ewe,
+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(RQ, {
+ tabs: Twe,
value: y ? "online" : f,
label: "人物名册",
onChange: (t) => {
@@ -64133,7 +64152,7 @@ function kwe(e) {
}
}) : null,
oe,
- t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(t$, {
+ t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(n$, {
scope: m,
search: p,
category: g,
@@ -64156,7 +64175,7 @@ function kwe(e) {
children: t
}, e))
}) : null,
- f === "tags" ? /* @__PURE__ */ (0, F.jsx)(UQ, {
+ f === "tags" ? /* @__PURE__ */ (0, F.jsx)(WQ, {
categories: ce,
category: g,
online: v,
@@ -64194,7 +64213,7 @@ function kwe(e) {
}),
children: tn(E.error)
});
- if (!D.length) return /* @__PURE__ */ (0, F.jsx)(jwe, {
+ if (!D.length) return /* @__PURE__ */ (0, F.jsx)(Awe, {
kind: f,
filtered: !!p || g !== "all",
online: v || y,
@@ -64219,10 +64238,10 @@ function kwe(e) {
picked: s,
press: se
};
- return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {
+ return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {
groups: ie,
actions: t
- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {
+ }) : /* @__PURE__ */ (0, F.jsx)(UQ, {
tags: re,
actions: t
});
@@ -64255,7 +64274,7 @@ function kwe(e) {
}) : null, "载入更多"]
})
}) : null,
- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(xwe, {
+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(bwe, {
count: s.size,
match: l,
onMatch: u,
@@ -64269,14 +64288,14 @@ function kwe(e) {
]
});
}
-var Awe = {
+var kwe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function jwe({ kind: e, filtered: t, online: n, onClear: r }) {
+function Awe({ kind: e, filtered: t, online: n, onClear: r }) {
if (t) return /* @__PURE__ */ (0, F.jsx)(Lz, {
icon: zz("search"),
title: "没有符合条件的内容",
@@ -64287,7 +64306,7 @@ function jwe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Awe[e], a = /* @__PURE__ */ (0, F.jsx)(dI, {
+ let i = n && e === "performers" ? "创作者" : kwe[e], a = /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
@@ -64296,7 +64315,7 @@ function jwe({ kind: e, filtered: t, online: n, onClear: r }) {
return /* @__PURE__ */ (0, F.jsx)(Lz, {
icon: zz(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
- actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(dI, {
+ actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -64304,15 +64323,15 @@ function jwe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var n$ = {
+var r$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, Mwe = (e) => n$[e.junk_kind || "other"] || n$.other;
-function Nwe(e) {
+}, jwe = (e) => r$[e.junk_kind || "other"] || r$.other;
+function Mwe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -64323,40 +64342,40 @@ function Nwe(e) {
glyph: "check"
};
}
-var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Pwe = (e, t) => [
+var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Nwe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function Fwe({ kind: e, view: t }) {
+function Pwe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function Iwe(e, t) {
- let n = await B(`/api/ads?${Fwe(e)}`, t);
+async function Fwe(e, t) {
+ let n = await B(`/api/ads?${Pwe(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function i$({ name: e }) {
+function a$({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-var a$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function Lwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = Mwe(e), m = String(e.name || ""), h = Nwe(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]") || a$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function Iwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = jwe(e), m = String(e.name || ""), h = Mwe(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]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), a$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), o$(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) => {
@@ -64395,7 +64414,7 @@ function Lwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-art": "thumb",
@@ -64407,7 +64426,7 @@ function Lwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, F.jsx)(i$, { name: "check" })
+ children: /* @__PURE__ */ (0, F.jsx)(a$, { name: "check" })
})
]
}),
@@ -64444,7 +64463,7 @@ function Lwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: bs("正在定位") }
- }) : /* @__PURE__ */ (0, F.jsx)(i$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {
+ }) : /* @__PURE__ */ (0, F.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -64456,7 +64475,7 @@ function Lwe({ 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, F.jsx)(i$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -64468,7 +64487,7 @@ function Lwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -64483,7 +64502,7 @@ function Lwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var Rwe = (0, P.memo)(Lwe), o$ = [
+var Lwe = (0, P.memo)(Iwe), s$ = [
[
"",
"全部",
@@ -64519,40 +64538,40 @@ var Rwe = (0, P.memo)(Lwe), o$ = [
"其它",
"hard-drive"
]
-], zwe = (e) => o$.find(([t]) => t === e)?.[0] ?? "";
-function s$(e) {
+], Rwe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";
+function c$(e) {
let t = new URLSearchParams(e);
return {
- kind: zwe(t.get("type")),
+ kind: Rwe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function c$(e = "", t = "pending") {
+function l$(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 l$(e) {
+function u$(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: c$("", "pending")
+ href: l$("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: c$("", "dismissed")
+ href: l$("", "dismissed")
};
}
-var u$ = (e) => e === "dismissed" ? "已排除" : "待判断", d$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function Bwe({ kind: e, view: t }) {
- let n = o$.map(([n, r, i]) => `<a href="${c$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${d$(i)}${z(r)}</a>`).join(""), r = l$(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${gs(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\"" : ""}>${d$(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function zwe({ kind: e, view: t }) {
+ let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${z(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">${gs(d$(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\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
// src/react/components/collection-summary.tsx
-function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, F.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
@@ -64578,31 +64597,31 @@ function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function p$({ name: e }) {
+function m$({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function m$({ scope: e, count: t }) {
+function h$({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function Vwe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = oV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = lI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? o$.map(([e]) => r$(t, e)).join(",") : ""}`), l = l$(s), u = (e) => {
+function Bwe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = oV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = oI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(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") || c$()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || l$()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, F.jsx)(f$, {
- label: u$(s),
+ children: /* @__PURE__ */ (0, F.jsx)(p$, {
+ label: d$(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -64622,17 +64641,17 @@ function Vwe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- o$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {
- href: c$(e, s),
+ s$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {
+ href: l$(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, F.jsx)(p$, { name: r }),
+ /* @__PURE__ */ (0, F.jsx)(m$, { name: r }),
n,
- /* @__PURE__ */ (0, F.jsx)(m$, {
+ /* @__PURE__ */ (0, F.jsx)(h$, {
scope: e,
- count: t ? r$(t, e) : 0
+ count: t ? i$(t, e) : 0
})
]
}, e || "all")),
@@ -64646,9 +64665,9 @@ function Vwe({ 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, F.jsx)(p$, { name: l.glyph }),
+ /* @__PURE__ */ (0, F.jsx)(m$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, F.jsx)(m$, {
+ /* @__PURE__ */ (0, F.jsx)(h$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -64660,33 +64679,33 @@ function Vwe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var Hwe = zz("check"), Uwe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Wwe(e) {
+var Vwe = zz("check"), Hwe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Uwe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Pt({
- queryKey: Pwe(t, e.revision),
- queryFn: ({ signal: e }) => Iwe(t, e),
- placeholderData: (e, n) => n && Uwe(n.queryKey, t) ? e : void 0
+ queryKey: Nwe(t, e.revision),
+ queryFn: ({ signal: e }) => Fwe(t, e),
+ placeholderData: (e, n) => n && Hwe(n.queryKey, t) ? e : void 0
});
(0, P.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = Gwe(e.countRow), i = n.isPending;
+ let r = Wwe(e.countRow), i = n.isPending;
(0, P.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, P.useLayoutEffect)(() => {
r && n.data && Ms(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Vwe, {
+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Bwe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(Kwe, {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(Gwe, {
props: e,
data: n.data,
pending: i,
@@ -64694,7 +64713,7 @@ function Wwe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Gwe(e) {
+function Wwe(e) {
let [t, n] = (0, P.useState)(null);
return (0, P.useLayoutEffect)(() => {
if (!e) return;
@@ -64704,7 +64723,7 @@ function Gwe(e) {
};
}, [e]), t;
}
-function Kwe({ props: e, data: t, pending: n, error: r, retry: i }) {
+function Gwe({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = IW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
@@ -64720,9 +64739,9 @@ function Kwe({ props: e, data: t, pending: n, error: r, retry: i }) {
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, F.jsx)(Lz, {
- icon: Hwe,
+ icon: Vwe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, F.jsx)(dI, {
+ actions: t ? /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -64735,7 +64754,7 @@ function Kwe({ 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, F.jsx)(Rwe, {
+ children: u.map((t) => /* @__PURE__ */ (0, F.jsx)(Lwe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -64744,7 +64763,7 @@ function Kwe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(qwe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(Kwe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, F.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -64754,7 +64773,7 @@ function Kwe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function qwe({ onMore: e }) {
+function Kwe({ onMore: e }) {
let t = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
let n = t.current;
@@ -64771,18 +64790,18 @@ function qwe({ onMore: e }) {
});
}
// src/react/wants/wants.ts
-var h$ = "/api/wants", g$ = ["wants"], Jwe = (e) => [
+var g$ = "/api/wants", _$ = ["wants"], qwe = (e) => [
"wants",
"follow",
e
-], Ywe = [
+], Jwe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], _$ = (e) => B(h$, e);
-function Xwe(e, t) {
- H.setQueryData(g$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], v$ = (e) => B(g$, e);
+function Ywe(e, t) {
+ H.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -64790,37 +64809,37 @@ function Xwe(e, t) {
} : n)
} : n);
}
-var Zwe = (e, t) => B(`${h$}?follow=${encodeURIComponent(e)}`, t), v$ = (e, t) => V(h$, {
+var Xwe = (e, t) => B(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => V(g$, {
action: "add",
...e
-}, "POST", t), y$ = (e, t) => V(h$, {
+}, "POST", t), b$ = (e, t) => V(g$, {
action: "remove",
ids: e
-}, "POST", t), Qwe = (e, t) => V(h$, {
+}, "POST", t), Zwe = (e, t) => V(g$, {
action: "reset",
ids: e
-}, "POST", t), b$ = () => H.invalidateQueries({ queryKey: g$ }), $we = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function eTe(e) {
+}, "POST", t), x$ = () => H.invalidateQueries({ queryKey: _$ }), Qwe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function $we(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-navigation.ts
-var x$ = [
+var S$ = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], S$ = (e) => x$.some(([t]) => t === e) ? e : "library", tTe = (e) => S$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function nTe(e) {
+], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", eTe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function tTe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
// src/react/jav/jav.ts
-var C$ = (e, t = "taste", n = "desc") => [
+var w$ = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function w$(e, t, n = {}) {
+function T$(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -64829,7 +64848,7 @@ function w$(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"), B(`/api/jav/discoveries?${r}`, t);
}
-function rTe(e, t, n) {
+function nTe(e, t, n) {
let r = io({
...e,
is_jav: !0
@@ -64838,82 +64857,82 @@ function rTe(e, t, n) {
let i = z(Ka(e));
return no(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 iTe(e, t) {
+async function rTe(e, t) {
e === "wants" ? await H.ensureQueryData({
- queryKey: g$,
- queryFn: () => _$(t),
+ queryKey: _$,
+ queryFn: () => v$(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await H.ensureQueryData({
- queryKey: C$("external"),
- queryFn: () => w$("external", t),
+ queryKey: w$("external"),
+ queryFn: () => T$("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
// src/react/components/fieldset-layout.ts
-var T$ = BH({
+var E$ = VH({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), E$ = {
+}), D$ = {
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"
-}, D$ = {
+}, O$ = {
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 O$(e) {
- return `${T$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function k$(e) {
+ return `${E$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/management.ts
-var k$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", A$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", aTe = "aria-disabled=\"true\"", N$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, P$ = (e, t, n) => `<div class="${E$[n]}"><div class="flex flex-col gap-2">
+var A$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", iTe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[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 oTe() {
- return N$(`<section aria-label="扫描与采集" class="${O$("stack")}" data-cleanup-task data-cleanup-processing>
- ${P$("扫描与采集", k$, "stack")}
- <footer class="${D$.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>${as("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${cs({
+function aTe() {
+ return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${F$("扫描与采集", A$, "stack")}
+ <footer class="${O$.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>${as("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${cs({
label: "同步媒体库",
- attrs: M$
+ attrs: N$
})}${cs({
glyph: "chevron-down",
- attrs: `${M$} aria-label="更多同步方式"`
+ attrs: `${N$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function sTe() {
- return N$(`<section aria-label="媒体修复" class="${O$("split")}" data-cleanup-task data-cleanup-processing>
- ${P$("媒体修复", A$, "split")}
- <footer class="${D$.split}">${us(j$, {
+function oTe() {
+ return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>
+ ${F$("媒体修复", j$, "split")}
+ <footer class="${O$.split}">${us(M$, {
className: "w-48",
- attrs: aTe
+ attrs: iTe
})}${cs({
label: "开始修复",
- attrs: M$
+ attrs: N$
})}</footer>
</section>`);
}
-function F$() {
+function I$() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = T$, n = E$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${D$.stack}">${cs({
+ ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${cs({
label: e,
- attrs: M$
+ attrs: N$
})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;
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">
- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><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">${as(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${j$}</strong><span class="text-caption-1-regular">${j$}</span></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><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">${as(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div>
<div class="flex flex-col gap-4 max-cleanup-tight:gap-3">
- <div id="libraryProcessing">${oTe()}</div><div id="mediaRepair">${sTe()}</div>
+ <div id="libraryProcessing">${aTe()}</div><div id="mediaRepair">${oTe()}</div>
<section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${us(j$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => cs({
+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${us(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => cs({
variant: "secondary",
- label: j$,
- attrs: M$
+ label: M$,
+ attrs: N$
})).join("")}</div></div></div>${i("预览")}</section>
</div>
<section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[
@@ -64921,57 +64940,57 @@ function F$() {
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${j$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${j$}</div></div>${i("检查死链")}</div></section>
+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var cTe = BH({
+var sTe = VH({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), lTe = "border-t border-border-button-default p-4 first:border-t-0";
-function I$({ id: e, gap: t = "none", children: n }) {
+}), cTe = "border-t border-border-button-default p-4 first:border-t-0";
+function L$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, F.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function L$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, F.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: O$(e),
+ className: k$(e),
children: [/* @__PURE__ */ (0, F.jsx)("div", {
- className: E$[e],
+ className: D$[e],
children: a
}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {
- className: D$[e],
+ className: O$[e],
children: i
}) : null]
});
}
// src/react/components/status-label.tsx
-var uTe = {
+var lTe = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function R$({ tone: e = "neutral", ...t }) {
+function z$({ tone: e = "neutral", ...t }) {
return /* @__PURE__ */ (0, F.jsx)(sZ, {
"data-status-tone": e,
variant: "caption",
- color: uTe[e],
+ color: lTe[e],
...t
});
}
// src/react/components/path-line.tsx
-function dTe({ className: e }) {
+function uTe({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -64984,8 +65003,8 @@ function dTe({ className: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-folder-open" })
});
}
-var fTe = "打开文件管理器失败,请重试";
-function z$({ path: e, prefix: t, className: n, onRevealed: r }) {
+var dTe = "打开文件管理器失败,请重试";
+function B$({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(!0);
(0, P.useEffect)(() => () => {
c.current = !1;
@@ -64996,7 +65015,7 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof Hn ? e.message : fTe);
+ c.current && s(e instanceof Hn ? e.message : dTe);
} finally {
c.current && a(!1);
}
@@ -65007,10 +65026,10 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, F.jsxs)("p", {
- className: DF("min-w-0 break-all", n),
+ className: mF("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, F.jsx)($F, {
- icon: dTe,
+ }), /* @__PURE__ */ (0, F.jsx)(KF, {
+ icon: uTe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -65023,39 +65042,67 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {
}) : null]
});
}
+// src/react/library-processing/issue-export.ts
+async function fTe(e, t) {
+ if (!e.job_id) throw Error("请先选择有问题记录的任务");
+ let n = [], r = 1, i = "";
+ for (let a = 0; a < r; a += 200) {
+ let o = new URLSearchParams({
+ job_id: e.job_id,
+ offset: String(a),
+ limit: "200"
+ });
+ i && o.set("revision", i);
+ let s = await B(`/api/library-processing/issues?${o}`, t);
+ if (t.throwIfAborted(), s.job_id !== e.job_id || s.offset !== a || i && (s.revision !== i || s.total !== r)) throw Error("问题记录已变化,请重新导出");
+ if (a === 0 && (r = s.total, i = s.revision), s.rows.length !== Math.min(200, r - a)) throw Error("问题记录不完整,请重新导出");
+ n.push(...s.rows);
+ }
+ return JSON.stringify({
+ job_id: e.job_id,
+ revision: i,
+ exported_at: (/* @__PURE__ */ new Date()).toISOString(),
+ total: n.length,
+ rows: n
+ }, null, 2);
+}
+function pTe(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 pTe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", mTe = (e) => {
+var mTe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", hTe = (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(",")}。`;
-}, hTe = (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} 部视频预览。` : "") + mTe(e);
-function gTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Mhe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = khe(e.notes || {}), c = !!t || e.status === "failed", l = !t && gH(e), u = c && !!a?.log, d = pH(e), f = oV();
+}, gTe = (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} 部视频预览。` : "") + hTe(e);
+function _Te({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Mhe(e), o = kH(), s = kH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = khe(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && gH(e), f = u && !!a?.log, p = pH(e), m = oV();
return /* @__PURE__ */ (0, F.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- d ? /* @__PURE__ */ (0, F.jsx)(Fhe, {
+ p ? /* @__PURE__ */ (0, F.jsx)(Fhe, {
state: e,
- slow: d
+ slow: p
}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "warning",
title: "处理较慢",
- children: pTe
+ children: mTe
}) : null,
- c ? /* @__PURE__ */ (0, F.jsxs)(Iz, {
- tone: l ? "warning" : "error",
+ u ? /* @__PURE__ */ (0, F.jsxs)(Iz, {
+ tone: d ? "warning" : "error",
className: "gap-0 p-3",
- title: l ? "处理已结束,部分项目需处理" : "处理未完成",
+ title: d ? "处理已结束,部分项目需处理" : "处理未完成",
action: /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [l ? /* @__PURE__ */ (0, F.jsx)(OH, {
+ children: [d ? /* @__PURE__ */ (0, F.jsx)(OH, {
href: vH,
size: "small",
trailingIcon: dz,
children: "查看全部内容"
- }) : null, o ? /* @__PURE__ */ (0, F.jsx)(q, {
+ }) : null, c ? /* @__PURE__ */ (0, F.jsx)(q, {
variant: "secondary",
size: "small",
"aria-label": "立即重试未完成项",
@@ -65065,13 +65112,13 @@ function gTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}),
extra: a ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-3 border-t border-current/20 pt-3",
- children: /* @__PURE__ */ (0, F.jsxs)($H, {
+ children: /* @__PURE__ */ (0, F.jsxs)(eU, {
summary: a.label,
contentClassName: "gap-0",
children: [/* @__PURE__ */ (0, F.jsx)("div", {
className: "relative",
children: /* @__PURE__ */ (0, F.jsx)("ul", {
- ref: f,
+ ref: m,
className: "max-h-96 overflow-y-auto pr-3",
children: a.items.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
className: "flex flex-col gap-1 border-b border-current/15 py-2 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",
@@ -65097,7 +65144,7 @@ function gTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, F.jsx)(z$, {
+ children: /* @__PURE__ */ (0, F.jsx)(B$, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -65106,32 +65153,68 @@ function gTe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null]
})
}) : null,
- children: [t || e.error || "处理未完成,请重试", l ? `\n${_H}` : null]
+ children: [t || e.error || "处理未完成,请重试", d ? `\n${_H}` : null]
}) : null,
n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "success",
title: "处理完成",
- children: hTe(n)
+ children: gTe(n)
+ }) : null,
+ n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Iz, {
+ tone: "neutral",
+ title: "任务已停止",
+ children: "已取得的资料和预览已保留,不会自动继续这趟任务。"
}) : null,
- !hH(e) && s ? /* @__PURE__ */ (0, F.jsx)(Iz, {
+ e.archived ? /* @__PURE__ */ (0, F.jsx)(Iz, {
+ tone: "neutral",
+ children: "上一趟的问题提示已归档,历史记录仍保留。"
+ }) : null,
+ !hH(e) && (e.issue_count || e.status === "failed") ? /* @__PURE__ */ (0, F.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [e.issue_count ? /* @__PURE__ */ (0, F.jsx)(q, {
+ variant: "secondary",
+ size: "small",
+ ...Vz(!!o.busy),
+ onClick: () => void o.run("export", (t) => fTe(e, t), (t) => {
+ pTe(e.job_id, t), i("已导出问题清单");
+ }),
+ children: "导出完整问题清单"
+ }) : null, e.archived ? null : /* @__PURE__ */ (0, F.jsx)(q, {
+ variant: "secondary",
+ size: "small",
+ ...Vz(!!s.busy),
+ onClick: () => void s.run("archive", (t) => V(dH, {
+ action: "archive",
+ job_id: e.job_id
+ }, "POST", t), (e) => {
+ H.setQueryData(fH, e), i("已归档问题提示");
+ }),
+ children: "归档提示"
+ })]
+ }) : null,
+ o.error || s.error ? /* @__PURE__ */ (0, F.jsx)(Iz, {
+ tone: "warning",
+ children: o.error || s.error
+ }) : null,
+ !hH(e) && l ? /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "neutral",
className: "gap-0 p-3",
- extra: e.issues_log && !u ? /* @__PURE__ */ (0, F.jsx)("div", {
+ extra: e.issues_log && !f ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, F.jsx)(z$, {
+ children: /* @__PURE__ */ (0, F.jsx)(B$, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
onRevealed: i
})
}) : null,
- children: s
+ children: l
}) : null
]
});
}
-function B$(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = zH(e), o = Ft({
+function V$(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = BH(e), o = Ft({
mutationFn: (e) => V(dH, e),
onSuccess: (e) => {
a(), H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
@@ -65140,12 +65223,12 @@ function B$(e) {
(0, P.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = hU(c), u = o.error ? Wn(o.error) : r.isError ? r.data ? SH : Wn(r.error) : "", d = o.isPending || hH(s), f = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = gU(c), u = o.error ? Wn(o.error) : r.isError ? r.data ? SH : Wn(r.error) : "", d = o.isPending || hH(s), f = async (e) => {
d || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, F.jsx)(L$, {
+ children: [/* @__PURE__ */ (0, F.jsx)(R$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
@@ -65174,30 +65257,66 @@ function B$(e) {
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(I$, { children: "扫描与采集" }), l && (hH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, F.jsx)(q, {
+ children: [/* @__PURE__ */ (0, F.jsx)(L$, { children: "扫描与采集" }), l && (hH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, F.jsx)(q, {
variant: "secondary",
size: "small",
- onClick: () => mU(c, !0),
+ onClick: () => hU(c, !0),
children: "显示进度浮窗"
}) : null]
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: k$
+ children: A$
+ }),
+ /* @__PURE__ */ (0, F.jsxs)("div", {
+ className: "mt-2 flex flex-wrap items-center justify-between gap-3 border-t border-border-button-default pt-4",
+ "data-new-assets": "",
+ children: [/* @__PURE__ */ (0, F.jsxs)("div", {
+ className: "flex min-w-0 flex-1 basis-52 flex-col gap-1",
+ children: [/* @__PURE__ */ (0, F.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, F.jsx)("span", {
+ className: "text-body-medium text-text-primary",
+ children: "新入库待处理"
+ }), /* @__PURE__ */ (0, F.jsx)(sZ, {
+ variant: "caption",
+ color: s.new_asset_count ? "blue" : "neutral",
+ children: /* @__PURE__ */ (0, F.jsxs)("span", {
+ className: "tabular-nums",
+ children: [(s.new_asset_count || 0).toLocaleString(), " 部"]
+ })
+ })]
+ }), /* @__PURE__ */ (0, F.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: d && s.new_asset_count ? "当前任务结束后,可单独处理这批新影片。" : s.new_asset_count ? "单独补全这些影片的资料和预览。" : "扫描发现的新影片会显示在这里。"
+ })]
+ }), /* @__PURE__ */ (0, F.jsx)(q, {
+ variant: "secondary",
+ size: "medium",
+ trailingIcon: dz,
+ className: "shrink-0 max-[520px]:w-full",
+ disabled: d || !s.new_asset_count,
+ onClick: () => void f({
+ stage: "collect",
+ scope: "new"
+ }).catch(() => {}),
+ children: "仅处理新入库"
+ })]
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, F.jsx)(R$, { children: "已暂停" })
- }) : hH(s) ? /* @__PURE__ */ (0, F.jsx)(Zhe, { state: s }) : null,
+ children: /* @__PURE__ */ (0, F.jsx)(z$, { children: "已暂停" })
+ }) : hH(s) ? /* @__PURE__ */ (0, F.jsx)(Xhe, { state: s }) : null,
hH(s) ? /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
children: yH(s)
}) : null,
- hH(s) ? /* @__PURE__ */ (0, F.jsx)(sU, { traffic: s.traffic }) : null
+ hH(s) ? /* @__PURE__ */ (0, F.jsx)(cU, { traffic: s.traffic }) : null,
+ hH(s) ? /* @__PURE__ */ (0, F.jsx)(zH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, F.jsx)(gTe, {
+ }), /* @__PURE__ */ (0, F.jsx)(_Te, {
state: s,
problem: u,
settled: i,
@@ -65212,32 +65331,32 @@ function B$(e) {
});
}
// src/react/playlists/playlists.ts
-var _Te = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => B(_Te, e);
-async function vTe(e) {
+var vTe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(vTe, e);
+async function yTe(e) {
await H.fetchQuery({
- queryKey: H$,
- queryFn: () => U$(e),
+ queryKey: U$,
+ queryFn: () => W$(e),
staleTime: 0
});
}
-var yTe = () => H.invalidateQueries({
- queryKey: H$,
+var bTe = () => H.invalidateQueries({
+ queryKey: U$,
exact: !0
-}), bTe = (e) => e.current_asset_id || e.preview_asset_id || null, xTe = (e) => `/poster?id=${e}&c=4`, STe = (e) => V(V$, {
+}), xTe = (e) => e.current_asset_id || e.preview_asset_id || null, STe = (e) => `/poster?id=${e}&c=4`, CTe = (e) => V(H$, {
action: "create",
name: e,
asset_ids: []
-}), CTe = (e, t) => V(V$, {
+}), wTe = (e, t) => V(H$, {
action: "rename",
id: e,
name: t
-}), wTe = (e) => V(V$, {
+}), TTe = (e) => V(H$, {
action: "delete",
id: e
-}), TTe = (e) => B(`${V$}?id=${e}`).catch(() => null);
-function ETe(e) {
+}), ETe = (e) => B(`${H$}?id=${e}`).catch(() => null);
+function DTe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(V$, {
+ return V(H$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -65246,13 +65365,9 @@ function ETe(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => B(W$, e), DTe = "/api/scraping", OTe = "/api/scraping/settings", kTe = "/api/scraping/check", q$ = "/api/scraping/cover", ATe = "/api/scraping/amane-bridge", jTe = "/api/scraping/amane-bridge/check", MTe = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], NTe = 262144, Z$ = (e) => B(DTe, e), Q$ = (e) => B(q$, e), $$ = (e) => B(ATe, e);
-async function PTe(e) {
+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), OTe = "/api/scraping", kTe = "/api/scraping/settings", ATe = "/api/scraping/check", J$ = "/api/scraping/cover", jTe = "/api/scraping/amane-bridge", MTe = "/api/scraping/amane-bridge/check", NTe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], PTe = 262144, Q$ = (e) => B(OTe, e), $$ = (e) => B(J$, e), e1 = (e) => B(jTe, e);
+async function FTe(e) {
await Promise.all([
- H.fetchQuery({
- queryKey: J$,
- queryFn: () => Z$(e)
- }),
H.fetchQuery({
queryKey: Y$,
queryFn: () => Q$(e)
@@ -65262,36 +65377,40 @@ async function PTe(e) {
queryFn: () => $$(e)
}),
H.fetchQuery({
- queryKey: G$,
- queryFn: () => K$(e)
+ queryKey: Z$,
+ queryFn: () => e1(e)
+ }),
+ H.fetchQuery({
+ queryKey: K$,
+ queryFn: () => q$(e)
})
]);
}
-function FTe(e, t) {
+function ITe(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 e1 = /* @__PURE__ */ new Set([
+var t1 = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), t1 = /* @__PURE__ */ new Set([
+]), n1 = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), n1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function ITe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function LTe({ 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 || n1(t).includes(n1(e)));
+ }, d = t.filter((t) => !e || r1(t).includes(r1(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -65312,8 +65431,8 @@ function ITe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !t1.has(e.kind)),
- right: e.filter((e) => t1.has(e.kind)),
+ left: e.filter((e) => !n1.has(e.kind)),
+ right: e.filter((e) => n1.has(e.kind)),
empty: !1,
options: l
};
@@ -65363,7 +65482,7 @@ function ITe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !t1.has(e.kind)).map(h), _ = m.filter((e) => t1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, 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);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -65373,16 +65492,16 @@ function ITe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function LTe(e, t, n = Math.random) {
+function RTe(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) => n1(t) === n1(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var RTe = () => ({
+var zTe = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -65401,7 +65520,7 @@ var RTe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), r1 = (e) => ITe({
+}), i1 = (e) => LTe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -65410,18 +65529,18 @@ var RTe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), zTe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), i1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
+}), BTe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
-function BTe(e) {
+function VTe(e) {
let t = (0, P.useRef)(e);
t.current = e;
let n = (0, P.useRef)(null);
- n.current ??= RTe();
+ n.current ??= zTe();
let r = n.current, i = (0, P.useRef)(null), [, a] = (0, P.useReducer)((e) => e + 1, 0), o = (0, P.useRef)(null);
- o.current ??= VTe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= HTe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, P.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 = () => {
@@ -65436,7 +65555,7 @@ function BTe(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 = r1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(UTe, {
+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(WTe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -65449,7 +65568,7 @@ function BTe(e) {
children: [
/* @__PURE__ */ (0, F.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, F.jsx)("a", {
href: e.href,
- onMouseDown: a1,
+ onMouseDown: o1,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -65468,7 +65587,7 @@ function BTe(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, F.jsx)(HTe, {
+ c.tabs ? /* @__PURE__ */ (0, F.jsx)(UTe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -65495,7 +65614,7 @@ function BTe(e) {
]
});
}
-function VTe(e, t, n, r) {
+function HTe(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 () => {
@@ -65506,7 +65625,7 @@ function VTe(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) => n1(e) !== n1(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -65553,9 +65672,9 @@ function VTe(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 ? [] : LTe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : RTe(t.pool, o()), t.active = -1;
let a = n();
- a && (zTe(r1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (BTe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -65567,7 +65686,7 @@ function VTe(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() ? r1(t).options : [], y = (e) => {
+ }, v = () => p() ? i1(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) => {
@@ -65576,7 +65695,7 @@ function VTe(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" && e1.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" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -65622,13 +65741,13 @@ function VTe(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => n1(t) !== n1(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function HTe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function UTe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, P.useRef)(null);
(0, P.useLayoutEffect)(() => {
r(i.current);
@@ -65642,9 +65761,9 @@ function HTe({ tabs: e, kind: t, onPick: n, wire: r }) {
"data-pill-variant": "gray",
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, F.jsx)(IQ, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, F.jsx)(LQ, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, F.jsxs)(AF, {
+ return /* @__PURE__ */ (0, F.jsxs)(_F, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -65653,8 +65772,8 @@ function HTe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var a1 = (e) => e.preventDefault();
-function UTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var o1 = (e) => e.preventDefault();
+function WTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -65666,33 +65785,33 @@ function UTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: a1,
+ onMouseDown: o1,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, F.jsx)(i1, { name: "chevron-right" })
+ /* @__PURE__ */ (0, F.jsx)(a1, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, F.jsx)(i1, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, F.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: a1,
+ onMouseDown: o1,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, F.jsx)(i1, { name: "x" })
+ children: /* @__PURE__ */ (0, F.jsx)(a1, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -65706,8 +65825,8 @@ function UTe({ 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: a1,
- children: [/* @__PURE__ */ (0, F.jsx)(o1, {
+ onMouseDown: o1,
+ children: [/* @__PURE__ */ (0, F.jsx)(s1, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, F.jsxs)("span", {
@@ -65732,9 +65851,9 @@ function UTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: a1,
+ onMouseDown: o1,
children: [
- /* @__PURE__ */ (0, F.jsx)(s1, {
+ /* @__PURE__ */ (0, F.jsx)(c1, {
item: s,
kind: c
}),
@@ -65757,11 +65876,11 @@ function UTe({ 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: a1,
+ onMouseDown: o1,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, F.jsx)(o1, {
+ children: /* @__PURE__ */ (0, F.jsx)(s1, {
card: e,
helpers: n
})
@@ -65775,7 +65894,7 @@ function UTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(s1, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(c1, {
item: s,
kind: c
}) : null,
@@ -65788,13 +65907,13 @@ function UTe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function o1({ card: e, helpers: t }) {
+function s1({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function s1({ item: e, kind: t }) {
+function c1({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, F.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -65813,24 +65932,24 @@ function s1({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var c1 = ["configuration"], l1 = (e) => B(qY, e);
-async function WTe(e) {
+var l1 = ["configuration"], u1 = (e) => B(qY, e);
+async function GTe(e) {
await H.fetchQuery({
- queryKey: c1,
- queryFn: () => l1(e)
+ queryKey: l1,
+ queryFn: () => u1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var u1 = (e) => e.map(([e, t, n]) => n ? [
+var d1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(l);
return f.current = l, (0, P.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = jc(t, n, u1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = jc(t, n, d1(r), i, {
attr: a,
className: o,
text: s
@@ -65848,13 +65967,13 @@ function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function f1({ 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 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 }) {
let d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(-1), m = (0, P.useRef)(l);
return m.current = l, (0, P.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = Jo(u1(n), r, { label: t });
+ e.innerHTML = Jo(d1(n), r, { label: t });
let i = Yo(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -65867,7 +65986,7 @@ function f1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function GTe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function KTe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)({
onStep: a,
onSettle: o
@@ -65901,7 +66020,7 @@ function GTe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var KTe = [
+var qTe = [
[
"strength",
"强度",
@@ -65928,8 +66047,8 @@ var KTe = [
100
]
];
-function qTe({ host: e, spot: t, index: n, glow: r }) {
- let i = Voe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = oV(), [l, u] = (0, P.useState)("all");
+function JTe({ host: e, spot: t, index: n, glow: r }) {
+ let i = Coe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = oV(), [l, u] = (0, P.useState)("all");
(0, P.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -65942,7 +66061,7 @@ function qTe({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = Jk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Bo(), o.current?.focus();
+ r[t].color = fA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Bo(), o.current?.focus();
};
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-glow-stop": t,
@@ -65967,7 +66086,7 @@ function qTe({ host: e, spot: t, index: n, glow: r }) {
children: d
})]
}),
- /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-down" })
+ /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "popmenu",
@@ -65979,7 +66098,7 @@ function qTe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: Woe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Eoe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -65993,7 +66112,7 @@ function qTe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: Goe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Doe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -66010,8 +66129,8 @@ function qTe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function JTe({ host: e }) {
- let t = e.store.value.homeGlow, n = Vk(t.preset);
+function YTe({ host: e }) {
+ let t = e.store.value.homeGlow, n = aA(t.preset);
return /* @__PURE__ */ (0, F.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -66030,10 +66149,10 @@ function JTe({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, F.jsx)("b", {
"data-glow-preset-name": "",
- children: Hoe(t.preset)
+ children: woe(t.preset)
})]
}),
- /* @__PURE__ */ (0, F.jsx)(RA, {
+ /* @__PURE__ */ (0, F.jsx)(rj, {
store: e.store,
label: "光晕配色"
}),
@@ -66044,7 +66163,7 @@ function JTe({ host: e }) {
}),
/* @__PURE__ */ (0, F.jsx)("div", {
"data-glow-fields": "",
- children: KTe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(GTe, {
+ children: qTe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(KTe, {
field: r,
label: i,
max: a,
@@ -66065,7 +66184,7 @@ function JTe({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = Xk(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = mA(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -66084,7 +66203,7 @@ function JTe({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, F.jsx)("div", {
"data-glow-stops": "",
- children: Rk.map((n, r) => /* @__PURE__ */ (0, F.jsx)(qTe, {
+ children: nA.map((n, r) => /* @__PURE__ */ (0, F.jsx)(JTe, {
host: e,
spot: n,
index: r,
@@ -66096,7 +66215,7 @@ function JTe({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var YTe = {
+var XTe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -66143,22 +66262,22 @@ var YTe = {
optional: !0,
fallback: 60
}
-}, p1 = (e) => `peach.number.${e}`;
-function m1(e, t) {
+}, m1 = (e) => `peach.number.${e}`;
+function h1(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = YTe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);
- d.current ||= Dk(Number(localStorage.getItem(p1(e))), o, s, n && n > 0 ? n : l);
+function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = XTe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);
+ d.current ||= Gk(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, P.useState)(n ?? 0), [m, h] = (0, P.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, P.useState)(""), v = (0, P.useRef)(null), y = (0, P.useRef)(i);
y.current = i, (0, P.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(p1(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(m1(e), String(d.current)), y.current(d.current)));
}, x = (0, P.useRef)(b);
x.current = b, (0, P.useEffect)(() => {
let e = v.current;
@@ -66168,7 +66287,7 @@ function h1({ 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(p1(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(m1(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, F.jsxs)("div", {
"data-number-setting": "",
@@ -66205,7 +66324,7 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, F.jsxs)("span", {
"aria-hidden": "true",
- children: [c, m1(Number(m), c) ? ` · ${m1(Number(m), c)}` : ""]
+ children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, F.jsx)("small", {
id: `${e}-error`,
@@ -66218,13 +66337,13 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function g1(e) {
+function _1(e) {
let { mutate: t } = aX();
return (0, P.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function _1(e, t, n, r) {
+function v1(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -66233,17 +66352,17 @@ function _1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var XTe = "__home__", v1 = (e) => e === "" ? XTe : e;
-function ZTe({ host: e }) {
- let t = g1(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, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {
- let a = _1(n, e, r, i);
+var ZTe = "__home__", y1 = (e) => e === "" ? ZTe : e;
+function QTe({ 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, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {
+ let a = v1(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]) => v1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {
h.current && Uo(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -66264,7 +66383,7 @@ function ZTe({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", v1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -66296,9 +66415,9 @@ function ZTe({ host: e }) {
/* @__PURE__ */ (0, F.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(sP, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, F.jsx)(CP, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, F.jsx)(sP, { name: a ?? "" }),
+ /* @__PURE__ */ (0, F.jsx)(CP, { name: a ?? "" }),
/* @__PURE__ */ (0, F.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, F.jsxs)("span", {
@@ -66312,7 +66431,7 @@ function ZTe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -66322,7 +66441,7 @@ function ZTe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -66334,11 +66453,11 @@ function ZTe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, F.jsx)(sP, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, F.jsx)(CP, { name: "eye-off" })
})
]
})]
- }, v1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {
+ }, y1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -66354,13 +66473,13 @@ function ZTe({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(sP, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, F.jsx)(CP, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(sP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(CP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -66371,15 +66490,15 @@ function ZTe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": v1(e),
+ "data-sidebar-add-option": y1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(v1(e)), y(), m.current?.focus();
+ s(y1(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, F.jsx)(sP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]
- }, v1(e)))
+ children: [/* @__PURE__ */ (0, F.jsx)(CP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]
+ }, y1(e)))
}) : null]
}), /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -66395,13 +66514,13 @@ function ZTe({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var y1 = [
+var b1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], QTe = [
+], $Te = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -66410,7 +66529,7 @@ var y1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], $Te = [["desc", "降序"], ["asc", "升序"]], eEe = [[
+], eEe = [["desc", "降序"], ["asc", "升序"]], tEe = [[
"cover",
"官方封面",
""
@@ -66418,7 +66537,7 @@ var y1 = [
"thumbnail",
"预览图",
""
-]], tEe = [
+]], nEe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -66437,88 +66556,88 @@ var y1 = [
"切片",
"隐藏切片"
]
-], nEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {
+], rEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();
-function rEe(e) {
- return w1.add(e), () => {
- w1.delete(e);
+}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();
+function iEe(e) {
+ return T1.add(e), () => {
+ T1.delete(e);
};
}
-function iEe() {
- for (let e of [...w1]) e();
+function aEe() {
+ for (let e of [...T1]) e();
}
-function T1(e) {
- x1 = {
- ...x1,
+function E1(e) {
+ S1 = {
+ ...S1,
...e
- }, (0, Lt.flushSync)(iEe);
+ }, (0, Lt.flushSync)(aEe);
}
-async function aEe(e) {
- let t = x1.epoch, n = await e.configurable();
- x1.open && x1.epoch === t && T1({ configurable: n });
+async function oEe(e) {
+ let t = S1.epoch, n = await e.configurable();
+ S1.open && S1.epoch === t && E1({ configurable: n });
}
-function oEe(e = "") {
- let t = b1;
+function sEe(e = "") {
+ let t = x1;
if (!t) return;
- let n = y1.findIndex(([t]) => t === e);
- if (x1.open && !x1.closing) {
- n >= 0 && n !== x1.tab && T1({ tab: n });
+ let n = b1.findIndex(([t]) => t === e);
+ if (S1.open && !S1.closing) {
+ n >= 0 && n !== S1.tab && E1({ tab: n });
return;
}
- Bo(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ Bo(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
let r = qbe();
- T1({
+ E1({
open: !0,
closing: !1,
configurable: null,
- epoch: x1.epoch + 1,
- tab: n >= 0 ? n : x1.tab
+ epoch: S1.epoch + 1,
+ tab: n >= 0 ? n : S1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), aEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), oEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function E1(e = !0) {
- if (!x1.open || x1.closing) return;
- let t = ++S1;
- e && b1?.closed?.(), T1({ closing: !0 });
+function D1(e = !0) {
+ if (!S1.open || S1.closing) return;
+ let t = ++C1;
+ e && x1?.closed?.(), E1({ closing: !0 });
let n = () => {
- t === S1 && x1.closing && (T1({
+ t === C1 && S1.closing && (E1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), C1 instanceof HTMLElement && document.contains(C1) && C1.focus(), C1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var sEe = {
- open: oEe,
- close: E1,
- isOpen: () => x1.open,
+var cEe = {
+ open: sEe,
+ close: D1,
+ isOpen: () => S1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function cEe(e) {
- return b1 = e, sEe;
+function lEe(e) {
+ return x1 = e, cEe;
}
-function lEe() {
- let e = (0, P.useSyncExternalStore)(rEe, () => x1);
- return b1 ? /* @__PURE__ */ (0, F.jsx)(fEe, {
- host: b1,
+function uEe() {
+ let e = (0, P.useSyncExternalStore)(iEe, () => S1);
+ return x1 ? /* @__PURE__ */ (0, F.jsx)(pEe, {
+ host: x1,
view: e
}) : null;
}
-function uEe(e) {
+function dEe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(nEe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(rEe)].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 D1 = (e) => `settings-tab-${e}`, O1 = (e) => `settings-group-${e}`;
-function dEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;
+function fEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(e), l = (0, P.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -66546,7 +66665,7 @@ function dEe({ 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 = y1.length, r = t;
+ let n = b1.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;
@@ -66575,11 +66694,11 @@ function dEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- y1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {
+ b1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
role: "tab",
- id: D1(r),
- "aria-controls": O1(r),
+ id: O1(r),
+ "aria-controls": k1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -66590,7 +66709,7 @@ function dEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(sP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(cP, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(CP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Uce, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, F.jsx)("div", {
"data-settings-service": "",
@@ -66601,27 +66720,27 @@ function dEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, F.jsx)(sP, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, F.jsx)(CP, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-right" })
+ /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-right" })
]
})
})
]
});
}
-function k1({ index: e, tab: t, children: n, cards: r = !1 }) {
+function A1({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, F.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: O1(e),
+ id: k1(e),
role: "tabpanel",
- "aria-labelledby": D1(e),
+ "aria-labelledby": O1(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: y1[e][0] }), n]
+ children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: b1[e][0] }), n]
});
}
-function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, F.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, F.jsx)("small", {
@@ -66638,7 +66757,7 @@ function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function j1({ title: e, description: t, kind: n, children: r }) {
+function M1({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -66646,7 +66765,7 @@ function j1({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, F.jsx)("small", { children: t }) : t] }), r]
});
}
-function fEe({ host: e, view: t }) {
+function pEe({ host: e, view: t }) {
(0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -66667,7 +66786,7 @@ function fEe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== x1.tab && (T1({ tab: t }), e.selectSection?.(y1[t][0]));
+ t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, F.jsx)("section", {
"data-settings-panel": "",
@@ -66678,9 +66797,9 @@ function fEe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: uEe,
+ onKeyDown: dEe,
onClick: (e) => {
- e.target === e.currentTarget && E1();
+ e.target === e.currentTarget && D1();
},
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-settings-card": "",
@@ -66691,27 +66810,27 @@ function fEe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, F.jsx)("h2", {
id: "settingsTitle",
- children: y1[t.tab][0]
+ children: b1[t.tab][0]
}), /* @__PURE__ */ (0, F.jsx)(Bz, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => E1()
+ onPress: () => D1()
})]
}),
- /* @__PURE__ */ (0, F.jsx)(dEe, {
+ /* @__PURE__ */ (0, F.jsx)(fEe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- E1(!1), e.openConfiguration();
+ D1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, F.jsxs)(k1, {
+ /* @__PURE__ */ (0, F.jsxs)(A1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -66719,9 +66838,9 @@ function fEe({ host: e, view: t }) {
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "主题",
- children: /* @__PURE__ */ (0, F.jsx)(d1, {
+ children: /* @__PURE__ */ (0, F.jsx)(f1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -66749,7 +66868,7 @@ function fEe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, F.jsx)(A1, {
+ /* @__PURE__ */ (0, F.jsx)(j1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -66757,7 +66876,7 @@ function fEe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, F.jsx)(A1, {
+ /* @__PURE__ */ (0, F.jsx)(j1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -66767,7 +66886,7 @@ function fEe({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(JTe, { host: e }),
+ /* @__PURE__ */ (0, F.jsx)(YTe, { host: e }),
/* @__PURE__ */ (0, F.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -66779,35 +66898,35 @@ function fEe({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, F.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, F.jsx)(ZTe, { host: e })
+ children: /* @__PURE__ */ (0, F.jsx)(QTe, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(mEe, {
+ /* @__PURE__ */ (0, F.jsx)(hEe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, F.jsx)(hEe, {
+ /* @__PURE__ */ (0, F.jsx)(gEe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, F.jsxs)(k1, {
+ /* @__PURE__ */ (0, F.jsxs)(A1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, F.jsx)(vEe, {
+ /* @__PURE__ */ (0, F.jsx)(yEe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, F.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, F.jsx)(h1, {
+ children: /* @__PURE__ */ (0, F.jsx)(g1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -66817,24 +66936,24 @@ function fEe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, F.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, F.jsx)(dI, {
+ children: /* @__PURE__ */ (0, F.jsx)(cI, {
variant: "secondary",
href: "/taste",
- onClick: () => E1(!1),
+ onClick: () => D1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(k1, {
+ /* @__PURE__ */ (0, F.jsx)(A1, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, F.jsx)(A1, {
+ children: /* @__PURE__ */ (0, F.jsx)(j1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -66849,7 +66968,7 @@ function fEe({ host: e, view: t }) {
})
});
}
-function pEe(e, t) {
+function mEe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Es("arrow-up", "arrow-down", "a", {
@@ -66859,9 +66978,9 @@ function pEe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function mEe({ host: e, tab: t, epoch: n }) {
+function hEe({ 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, F.jsxs)(k1, {
+ return /* @__PURE__ */ (0, F.jsxs)(A1, {
index: 1,
tab: t,
children: [
@@ -66869,11 +66988,11 @@ function mEe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, F.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, F.jsx)(h1, {
+ children: /* @__PURE__ */ (0, F.jsx)(g1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -66883,24 +67002,24 @@ function mEe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, F.jsx)(f1, {
+ children: [/* @__PURE__ */ (0, F.jsx)(p1, {
id: "defaultSortSetting",
label: "默认排序",
- options: QTe,
+ options: $Te,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, F.jsx)(f1, {
+ }), /* @__PURE__ */ (0, F.jsx)(p1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: $Te,
+ options: eEe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -66908,13 +67027,13 @@ function mEe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => pEe(e, o)
+ decorate: (e) => mEe(e, o)
})]
})
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, F.jsx)(d1, {
+ children: /* @__PURE__ */ (0, F.jsx)(f1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -66940,16 +67059,16 @@ function mEe({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, F.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, F.jsx)(h1, {
+ children: /* @__PURE__ */ (0, F.jsx)(g1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = Dk(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Gk(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -66958,16 +67077,16 @@ function mEe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, F.jsx)(_Ee, {
+ /* @__PURE__ */ (0, F.jsx)(vEe, {
host: e,
epoch: n
})
]
});
}
-function hEe({ host: e, tab: t, epoch: n }) {
+function gEe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, F.jsxs)(k1, {
+ return /* @__PURE__ */ (0, F.jsxs)(A1, {
index: 2,
tab: t,
children: [
@@ -66975,13 +67094,13 @@ function hEe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, F.jsx)(d1, {
+ children: /* @__PURE__ */ (0, F.jsx)(f1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: eEe,
+ options: tEe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -66996,21 +67115,21 @@ function hEe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "显示数量",
children: /* @__PURE__ */ (0, F.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, F.jsx)(h1, {
+ children: /* @__PURE__ */ (0, F.jsx)(g1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = Dk(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Gk(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, F.jsx)(A1, {
+ /* @__PURE__ */ (0, F.jsx)(j1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -67018,7 +67137,7 @@ function hEe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- tEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(gEe, {
+ nEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(_Ee, {
host: e,
id: t,
settingKey: n,
@@ -67028,7 +67147,7 @@ function hEe({ host: e, tab: t, epoch: n }) {
]
});
}
-function gEe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+function _Ee({ host: e, id: t, settingKey: n, label: r, title: i }) {
let a = aX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {
s(t), Oc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
@@ -67053,10 +67172,10 @@ function gEe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function _Ee({ host: e, epoch: t }) {
+function vEe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(A1, {
+ /* @__PURE__ */ (0, F.jsx)(j1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -67064,7 +67183,7 @@ function _Ee({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, F.jsx)(A1, {
+ /* @__PURE__ */ (0, F.jsx)(j1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -67072,11 +67191,11 @@ function _Ee({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, F.jsx)(j1, {
+ /* @__PURE__ */ (0, F.jsx)(M1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, F.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, F.jsx)(h1, {
+ children: /* @__PURE__ */ (0, F.jsx)(g1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -67088,86 +67207,86 @@ function _Ee({ host: e, epoch: t }) {
})
] });
}
-function vEe({ host: e, epoch: t }) {
+function yEe({ host: e, epoch: t }) {
let n = e.store.value, r = aX();
- return /* @__PURE__ */ (0, F.jsx)(j1, {
+ return /* @__PURE__ */ (0, F.jsx)(M1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, F.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, F.jsx)(h1, {
+ children: /* @__PURE__ */ (0, F.jsx)(g1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = Dk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Gk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
// src/react/sidebar/sidebar-island.tsx
-var M1 = "__home__", yEe = {
+var N1 = "__home__", bEe = {
creator: 26,
tag: 30,
tech: 16
-}, N1 = 180, P1 = null, F1 = {
+}, P1 = 180, F1 = null, I1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, I1 = /* @__PURE__ */ new Set();
-function bEe(e) {
- return I1.add(e), () => {
- I1.delete(e);
+}, L1 = /* @__PURE__ */ new Set();
+function xEe(e) {
+ return L1.add(e), () => {
+ L1.delete(e);
};
}
-function L1() {
- for (let e of [...I1]) e();
+function R1() {
+ for (let e of [...L1]) e();
}
-var xEe = {
+var SEe = {
render(e) {
- F1 = {
- ...F1,
+ I1 = {
+ ...I1,
props: e
- }, (0, Lt.flushSync)(L1);
+ }, (0, Lt.flushSync)(R1);
},
navChanged() {
- F1 = {
- ...F1,
- epoch: F1.epoch + 1
- }, (0, Lt.flushSync)(L1);
+ I1 = {
+ ...I1,
+ epoch: I1.epoch + 1
+ }, (0, Lt.flushSync)(R1);
}
};
-function SEe(e) {
- return P1 = e, F1 = {
- ...F1,
+function CEe(e) {
+ return F1 = e, I1 = {
+ ...I1,
props: {
content: null,
filters: {},
latest: null
}
- }, xEe;
+ }, SEe;
}
-function CEe() {
- let e = (0, P.useSyncExternalStore)(bEe, () => F1);
- return P1 ? /* @__PURE__ */ (0, F.jsx)(wEe, {
- host: P1,
+function wEe() {
+ let e = (0, P.useSyncExternalStore)(xEe, () => I1);
+ return F1 ? /* @__PURE__ */ (0, F.jsx)(TEe, {
+ host: F1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function wEe({ host: e, props: t, epoch: n }) {
+function TEe({ host: e, props: t, epoch: n }) {
let r = (0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, F.jsx)(TEe, {
+ /* @__PURE__ */ (0, F.jsx)(EEe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, F.jsx)(DEe, {
+ t.content ? /* @__PURE__ */ (0, F.jsx)(OEe, {
host: e,
content: t.content,
filters: t.filters,
@@ -67175,8 +67294,8 @@ function wEe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function TEe({ host: e, epoch: t, version: n }) {
- let r = g1(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, P.useRef)(null), l = (0, P.useRef)(null), u = lI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || M1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function EEe({ 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, P.useRef)(null), l = (0, P.useRef)(null), u = oI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, P.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -67200,7 +67319,7 @@ function TEe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || M1);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || N1);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -67215,7 +67334,7 @@ function TEe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : _1(i, n, e, a);
+ let o = n === null ? null : v1(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -67243,16 +67362,16 @@ function TEe({ host: e, epoch: t, version: n }) {
height: 24,
alt: "",
decoding: "async"
- }) : /* @__PURE__ */ (0, F.jsx)(sP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
- }, t || M1))
+ }) : /* @__PURE__ */ (0, F.jsx)(CP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
+ }, t || N1))
}), v ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var R1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function EEe(e) {
+var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function DEe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -67265,7 +67384,7 @@ function EEe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function DEe({ host: e, content: t, filters: n, latest: r }) {
+function OEe({ 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, P.useLayoutEffect)(() => {
t.kind === "catalog" && Ms(e.scroll, "drawer");
@@ -67274,8 +67393,8 @@ function DEe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? OEe(e, t.facets, n, r, i) : kEe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(AEe, {
+ let a = t.kind === "catalog" ? kEe(e, t.facets, n, r, i) : AEe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(jEe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -67284,11 +67403,11 @@ function DEe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function OEe(e, t, n, r, i) {
- let a = EEe(r), o = (t, r, i) => {
+function kEe(e, t, n, r, i) {
+ let a = DEe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = R1(n, r);
- return /* @__PURE__ */ (0, F.jsx)(V1, {
+ let o = z1(n, r);
+ return /* @__PURE__ */ (0, F.jsx)(H1, {
rows: t,
filterKey: r,
multi: i,
@@ -67298,7 +67417,7 @@ function OEe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = R1(n, l), p = c.some((e) => f.includes(e.value));
+ let f = z1(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -67310,12 +67429,12 @@ function OEe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, F.jsx)(MEe, {
+ body: /* @__PURE__ */ (0, F.jsx)(NEe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: yEe[d],
+ limit: bEe[d],
filterKey: l,
selected: f,
counts: a,
@@ -67330,7 +67449,7 @@ function OEe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, F.jsx)(W1, {
+ body: /* @__PURE__ */ (0, F.jsx)(G1, {
host: e,
filters: n
})
@@ -67344,7 +67463,7 @@ function OEe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, F.jsx)(H1, {
+ body: /* @__PURE__ */ (0, F.jsx)(U1, {
rows: t.followTags,
host: e,
selected: null,
@@ -67353,14 +67472,14 @@ function OEe(e, t, n, r, i) {
} : null
];
}
-function kEe(e, t, n) {
- let r = t.providers || [], i = R1(n, "provider"), a = new Set(t.selected);
+function AEe(e, t, n) {
+ let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, F.jsx)(V1, {
+ body: /* @__PURE__ */ (0, F.jsx)(H1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -67374,7 +67493,7 @@ function kEe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, F.jsx)(W1, {
+ body: /* @__PURE__ */ (0, F.jsx)(G1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -67384,7 +67503,7 @@ function kEe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, F.jsx)(H1, {
+ body: /* @__PURE__ */ (0, F.jsx)(U1, {
rows: t.tags,
host: e,
selected: a,
@@ -67393,19 +67512,19 @@ function kEe(e, t, n) {
} : null
];
}
-function z1(e, t) {
+function B1(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function AEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => z1(e, n)), u = (0, P.useRef)(!1);
+function jEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => B1(e, n)), u = (0, P.useRef)(!1);
(0, P.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? z1(e, n) : c;
+ let i = u.current ? B1(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) => {
@@ -67426,7 +67545,7 @@ function AEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, F.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -67437,7 +67556,7 @@ function AEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, F.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, F.jsx)(B1.Provider, {
+ children: /* @__PURE__ */ (0, F.jsx)(V1.Provider, {
value: d,
children: a
})
@@ -67446,15 +67565,15 @@ function AEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var B1 = (0, P.createContext)(() => {});
-function jEe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(sP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {
+var V1 = (0, P.createContext)(() => {});
+function MEe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(CP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, F.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -67471,7 +67590,7 @@ function V1({ 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, F.jsx)(jEe, { dot: e.dot }),
+ /* @__PURE__ */ (0, F.jsx)(MEe, { dot: e.dot }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -67486,8 +67605,8 @@ function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function MEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, P.useContext)(B1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);
+function NEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, P.useContext)(V1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);
p !== e && (m(e), f(null));
let h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, P.useLayoutEffect)(() => {
@@ -67502,7 +67621,7 @@ function MEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), wo(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(V1, {
+ }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(H1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -67527,10 +67646,10 @@ function MEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, F.jsx)(sP, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(CP, { name: "chevron-down" })
}) : null] });
}
-function H1({ rows: e, host: t, selected: n, badges: r }) {
+function U1({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {
@@ -67552,10 +67671,10 @@ function H1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var U1 = (e, t) => e ? Math.min(N1, Number(e) / 60) : t;
-function W1({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [U1(t.dur_min, 0), U1(t.dur_max, N1)]), [c, l] = (0, P.useState)("max");
- i !== r && (a(r), s([U1(t.dur_min, 0), U1(t.dur_max, N1)]));
+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, P.useState)(r), [o, s] = (0, P.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, P.useState)("max");
+ i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));
let [u, d] = o, f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -67568,11 +67687,11 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, P.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / N1 * 100}%`), e.style.setProperty("--hi", `${d / N1 * 100}%`);
+ e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 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 / N1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / P1 * 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`);
});
@@ -67582,7 +67701,7 @@ function W1({ 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 >= N1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-sidebar-duration": "",
@@ -67597,7 +67716,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: N1,
+ max: P1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -67608,7 +67727,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: N1,
+ max: P1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -67622,7 +67741,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function G1() {
+function K1() {
let e = (e) => cs({
label: e,
variant: "secondary",
@@ -67636,11 +67755,11 @@ function G1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", NEe = [
+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", PEe = [
"自动补全",
"仅使用本地资料",
"自定义"
-], PEe = [
+], FEe = [
[
"读本地 NFO 和图片",
"✓",
@@ -67671,7 +67790,7 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], FEe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", IEe = [
+], IEe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", LEe = [
{
provider: "coomer",
label: "Coomer",
@@ -67761,8 +67880,8 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", LEe = "peach.configuration.shape.v1";
-function Z1() {
+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", REe = "peach.configuration.shape.v1";
+function Q1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -67770,28 +67889,28 @@ function Z1() {
return {};
}
}
-function REe(e, t) {
+function zEe(e, t) {
try {
- let n = Z1();
+ let n = Q1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(LEe, JSON.stringify({
+ localStorage.setItem(REe, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var Q1 = (e) => Z1()[e], $1 = (e) => e === !0, e0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, t0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], n0 = "disabled data-skeleton-action", r0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, a0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, o0 = (e = "3em") => a0(e, "24px"), s0 = () => a0("var(--icon-inline)", "var(--icon-inline)"), c0 = (e, t = "primary", n = "medium") => cs({
+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") => cs({
label: e,
variant: t,
size: n,
- attrs: n0
-}), l0 = (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>`, u0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, zEe = (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">${s0()}${e}</span>` : e}</p>`;
+ 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>`, BEe = (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>`;
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;
-}, d0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${zEe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? l0(n, i) : ""}</div></section>`, f0 = (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>`, p0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => f0(e, t, `<span class="skeleton ${n}"></span>`), m0 = (e, t = "4em") => f0(e, "", r0(t)), h0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, g0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, _0 = (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>${i0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, v0 = (e) => `<div class="flex flex-col gap-1">${g0(e)}${us(r0("8em"))}</div>`, y0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${a0("16px", "16px")}${e}</span>`, b0 = (e) => `<span class="inline-flex items-center gap-1">${s0()}${e}</span>`, x0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${as("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, BEe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), S0 = (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">${BEe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, VEe = IEe;
-function HEe(e = Q1("credentials")) {
- let t = new Set(t0(e?.done, 64, String));
- return VEe.map((e) => {
+}, 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">${BEe(e, r, a)}<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)}${us(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">${as("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, VEe = /* @__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">${VEe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, HEe = LEe;
+function UEe(e = $1("credentials")) {
+ let t = new Set(n0(e?.done, 64, String));
+ return HEe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -67800,134 +67919,134 @@ function HEe(e = Q1("credentials")) {
};
});
}
-function UEe(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = o0() + (n && !e.done ? t.map(() => o0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${a0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(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 ? h0(z(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + h0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? h0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => _0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${c0("保存配置")}</div>${x0("凭据文件")}</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>${x0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function WEe(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">${z(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(z(e.why)) : ""}</div>`;
+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(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 C0() {
- let e = HEe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return d0("来源凭据", u0(`<div class="flex flex-col gap-4">${[
+function w0() {
+ let e = UEe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ return f0("来源凭据", d0(`<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(UEe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("5em") : "" });
-}
-function w0() {
- let e = t0(Q1("indexers")?.open, 20, $1).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">${as("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${r0("6em")}${r0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${_0("名称")}${_0("Torznab 地址")}${_0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${y0("启用")}${c0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return d0("资源搜索", u0(`<div class="flex min-w-0 flex-col gap-4">${x0("索引器连接帮助")}${e}</div>`), c0("添加索引器", "secondary") + c0("保存配置"));
+ ].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(WEe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });
}
function T0() {
- let e = Q1("javBrowser"), t = $1(e?.enabled);
- return d0("浏览器添加 JAV", u0(`<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>${r0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${o0()}</div><p class="text-caption-1-regular text-text-secondary">${r0("70%")}</p><div class="flex flex-wrap items-center gap-2">${c0("重新检测", "secondary")}</div></div>`}${v0("浏览器添加的下载渠道")}${$1(e?.ready) ? "" : h0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${_0("Peach 地址")}</div>`), (t ? c0("关闭浏览器添加", "secondary") : "") + c0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+ 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">${as("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("保存配置"));
+}
+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 ? "更新渠道与令牌" : "启用并生成令牌"));
}
-var E0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${g0(e)}${us(r0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${_0(`${e}地址`)}</div><div class="w-full sm:w-28">${_0(`${e}端口`)}</div></div>${x0("代理认证")}` : "") + "</div>";
-function D0() {
- let e = Q1("cloudProxy"), t = t0(e?.accounts, 12, (e) => Array.isArray(e) ? [$1(e[0]), $1(e[1])] : [!1, !1]), n = e0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${g0(b0(r0("6em")))}${h0(r0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${g0(b0(r0("8em")))}${h0(r0("50%"))}${E0("数据代理", e)}${E0("API 代理", t)}<div class="flex justify-end">${c0("保存配置")}</div></div>`).join("") : h0(r0("60%"));
- return d0("CloudDrive 代理", u0(`${h0(X1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), c0("重新读取", "secondary"));
+var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${us(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"));
}
-var O0 = (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>`, WEe = (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">${i0()}</span>${cs({
+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>`, GEe = (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>${cs({
glyph: "folder-search",
variant: "secondary",
- attrs: n0
+ attrs: r0
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${O0("来源", us(r0("6em")), "w-full @lg:w-60")}${O0("读取策略", us(r0("4em")), "w-full @lg:w-32")}${e > 1 ? O0("移到媒体库", us(r0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, GEe = (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">${k0("来源", us(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", us(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", us(i0("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, KEe = (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>${cs({
label: "自动识别",
variant: "secondary",
- attrs: n0
-})}${i0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${us(r0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${WEe(t).repeat(e)}<div class="flex">${cs({
+ attrs: r0
+})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${us(i0("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${GEe(t).repeat(e)}<div class="flex">${cs({
label: "添加文件夹",
variant: "secondary",
- attrs: n0
-})}</div></div></div>`, KEe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${K1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, qEe = "<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 JEe(e = Q1("media")) {
- let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);
+ attrs: r0
+})}</div></div></div>`, qEe = `<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>`, JEe = "<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 YEe(e = $1("media")) {
+ let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: $1(e?.cloud)
+ cloud: e0(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function YEe() {
- let e = Q1("discovery"), t = $1(e?.enabled), n = t && $1(e?.cloud), r = n && $1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${us(r0("4em"), { prefix: "对应目录" })}${cs({
+function XEe() {
+ 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>${us(i0("4em"), { prefix: "对应目录" })}${cs({
glyph: "trash",
variant: "secondary",
- attrs: n0
+ attrs: r0
})}</div>`;
- return d0("自动发现新文件", u0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${o0()}</div>`) + p0("发现新文件后自动入库", t ? r0("10em") : "") + p0("监视本机文件夹", t && $1(e?.watchLocal) ? r0("12em") : "") + p0("接收 CloudDrive2 通知") + (n ? f0("Webhook 配置", r0("20em"), "") : "") + (r ? u0(x0("查看配置"), !0) : "") + (n ? u0(`<div class="flex flex-col gap-3">${g0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(e0(e?.prefixes, 20))}</div><div>${c0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? c0("更换密钥", "secondary") : "") + c0("保存配置"));
-}
-var XEe = () => {
- let e = JEe();
- return d0("媒体库与目录", u0(`${KEe}<div class="flex flex-col gap-4">${e.folders.map((t) => GEe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${c0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${q1}</p>
- ${e.cloud ? qEe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + YEe() + d0("番号识别规则", u0(`${r0("90%")}${r0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), c0("保存配置")) + d0("视频预览", p0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + p0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + p0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, ZEe = () => `<div>${c0("采集来源与登录状态", "secondary")}</div>` + C0() + d0("关注采集", f0("自动检查更新", "", "<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>") + m0("订阅源拉取") + p0("首次采集范围", "", "ui-configuration-skeleton-select") + m0("头像刷新") + m0("favicon 刷新")) + w0() + d0("作品资料站点", u0(`<p class="text-body-2-regular text-text-secondary">${J1}</p>${_0(b0("JavDB 地址"), Y1)}${_0(b0("MISSAV 地址"), Y1)}`), c0("保存配置")), QEe = () => {
- let e = Q1("downloads"), t = $1(e?.pikpak), n = $1(e?.pikpakRoots) ? v0(b0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${g0(b0("PikPak 根目录对应的媒体目录"))}${h0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = $1(e?.cloud) ? d0("云下载", u0(_0("CloudDrive2 地址") + _0("CloudDrive2 API 令牌", "需要离线任务权限。") + ($1(e?.has115) ? _0(b0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? _0(b0("PikPak 目标目录"), "目录要已经存在。") + n : "") + _0("等待上限(小时)", r0("14em"))), c0("检查连接", "secondary") + c0("保存配置")) : "", i = $1(e?.pikpakLoggedIn);
- return r + (t ? d0("PikPak 账号", i ? S0(["账号", r0("4em")]) : u0(_0("账号") + _0("密码") + y0("保存密码,登录过期时自动重新登录")), i ? c0("登出", "secondary") : ($1(e?.browserLogin) ? c0("用浏览器登录", "secondary") : "") + c0("登录"), {
- aside: o0(),
+ 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 ZEe = () => {
+ let e = YEe();
+ return f0("媒体库与目录", d0(`${qEe}<div class="flex flex-col gap-4">${e.folders.map((t) => KEe(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 ? JEe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + XEe() + 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"));
+}, QEe = () => `<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("保存配置")), $Ee = () => {
+ 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(),
mark: !0
- }) : "") + T0();
-}, k0 = {
+ }) : "") + E0();
+}, A0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, A0 = {
+}, j0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function $Ee(e) {
- let t = e === "locked" ? "" : _0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + _0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (k0[e] ? h0(k0[e]) : "") + (e === "open" ? a0("100%", "64px") : "") + (e === "password" || e === "legacy" ? y0("关闭访问密码") : "") + (e === "password" ? _0("当前访问密码 *") : "") + t;
+function eDe(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;
}
-var eDe = () => {
- let e = Q1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = $1(e?.tunnelNamed), r = (n && $1(e?.tunnelNamedMode) ? h0(A0.named) + _0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + _0("隧道令牌", r0("16em")) : h0(A0.quick)) + ($1(e?.tunnelNote) ? a0("100%", "64px") : ""), i = e0(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">${_0([
+var tDe = () => {
+ 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([
"本机地址",
"手机连接地址",
"备用 IP 地址"
- ][t])}</div>${c0("复制地址", "secondary")}</div>`).join("");
- return (i || $1(e?.port) ? d0("访问地址", u0(a + (i ? a0("100%", "40px") : "") + ($1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${g0("谁可以访问")}${a0("min(100%, 20em)", "36px")}</div>` + ($1(e?.lan) ? _0("局域网访问地址") : "") : "") + ($1(e?.port) ? _0("端口") : "")), $1(e?.port) ? c0("保存配置") : "", $1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + d0("访问密码", u0($Ee(t)), t === "locked" ? "" : c0("保存配置")) + d0("Cloudflare 公网入口", u0((n ? a0("10.5em", "36px") : "") + r), c0("启动公网入口", n ? "secondary" : "primary") + (n ? c0("保存配置") : ""), { aside: o0() }) + d0("Peach 代理", p0("连接方式", "", "ui-configuration-skeleton-select") + ($1(e?.proxyAddress) ? u0(_0("代理地址"), !0) : ""), c0("保存配置"));
-}, tDe = [
+ ][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(eDe(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("保存配置"));
+}, nDe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], nDe = () => {
- let e = Q1("maintenance"), t = [
+], rDe = () => {
+ let e = $1("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, e0(e?.releaseFacts, 5))), n = e0(e?.releaseNotes, 4), r = e0(e?.storageRows, 12), i = e0(e?.storageNotes, 3), a = t0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${o0("6em")}</span>`, s = (t) => !e || $1(t), c = s(e?.reporting) ? p0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + ($1(e?.reportingIdle) ? u0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${p0("上传馆藏与口味明细", $1(e?.sharingNotice) ? r0("12em") : "")}${$1(e?.sharingIdle) ? u0(o, !0) : ""}${l0(c0("预览上传内容", "secondary"))}</div>` : "";
- return d0("检查更新", S0(t) + (n ? u0(h0(r0("50%")).repeat(n), !0) : ""), c0("检查更新"), {
- aside: o0("4em"),
- status: r0("5em")
- }) + d0("自动更新", p0("自动检查新版本") + p0("自动下载更新") + p0("检查频率", $1(e?.autoUpdateHelp) ? r0("12em") : "", "ui-configuration-skeleton-select"), c0("保存配置")) + d0("开机自启", p0("开机后启动 Peach") + p0("只启动托盘,不打开网页") + p0("在桌面创建快捷方式", $1(e?.desktopNote) ? r0("12em") : "") + ($1(e?.startupNote) ? u0(h0(r0("60%")), !0) : ""), c0("保存配置")) + d0("视频播放", p0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + d0("存储空间", S0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => f0(r0("6em"), "", r0("4em"))).join("") : u0(h0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? u0(h0(r0("80%")).repeat(i), !0) : ""), c0("更改位置", "secondary") + c0(r ? "重新统计" : "统计占用")) + (c || l ? d0("数据上传", c + l) : "") + d0("运行信息", S0(a.length ? a : tDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${f0("安装教程", "", c0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? d0("卸载 Peach", ($1(e?.uninstallHelp) ? u0(h0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + p0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + u0(x0("数据目录"), !0), c0("卸载 Peach"), { status: r0("16em") }) : "");
+ ].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) => z(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 : nDe)) + `<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") }) : "");
};
-function rDe(e) {
+function iDe(e) {
switch (e) {
- case "系统诊断": return G1();
- case "来源与订阅": return ZEe();
- case "下载渠道": return QEe();
- case "网络与访问": return eDe();
- case "应用与维护": return nDe();
- default: return XEe();
+ case "系统诊断": return K1();
+ case "来源与订阅": return QEe();
+ case "下载渠道": return $Ee();
+ case "网络与访问": return tDe();
+ case "应用与维护": return rDe();
+ default: return ZEe();
}
}
-function iDe(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(cV).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">${rDe(e)}</div></div></div>`;
+function aDe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(cV).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">${iDe(e)}</div></div></div>`;
}
// src/react/jav/discovery-sorts.ts
-var j0 = [
+var M0 = [
[
"taste",
"口味",
@@ -67935,7 +68054,7 @@ var j0 = [
],
[
"release_date",
- kk[1],
+ qk[1],
"按发行日期排序"
],
[
@@ -67954,10 +68073,10 @@ var j0 = [
"按番号排序"
]
];
-function aDe(e) {
+function oDe(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function oDe(e) {
+function sDe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -67982,8 +68101,8 @@ function oDe(e) {
};
}
// src/jav-skeleton.ts
-var M0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, sDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, N0 = "w-full min-w-0";
-function P0() {
+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, cDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";
+function F0() {
return [
"w-20",
"w-16",
@@ -67993,26 +68112,26 @@ function P0() {
"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 F0(e, t = pA()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${M0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${sDe("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">${M0("80%")}${M0("60%")}${M0("40%")}</div></div>`).join("")}</div>`;
- let n = xA({
- ...bA({
+function I0(e, t = MA()) {
+ 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">${cDe("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 = BA({
+ ...zA({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${N0}" 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="${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">
<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>${M0("85%")}${M0("65%")}</div><div data-media-byline>${M0("55%")}</div>
+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("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 cDe(e) {
+function lDe(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>${cs({
@@ -68020,28 +68139,28 @@ function cDe(e) {
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${x$.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">${S$.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}">${ss("筛选番号、女优或标题", "", 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>${M0("100%")}</div>${F0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${lDe()}${F0(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>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${uDe()}${I0(e)}</section>`}</div></div>`;
}
-function lDe() {
- 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="" ${pA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${as(t, "size-4")}</span>`;
+function uDe() {
+ 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="" ${MA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${as(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>${P0()}</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>${F0()}</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>
${os()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${as("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>
- ${j0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? as("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? as("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var I0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", L0 = (e = "60%") => `<span class="${I0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, R0 = "disabled data-skeleton-action", z0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function uDe() {
+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 dDe() {
let e = [
"馆藏视频",
"看过",
@@ -68049,27 +68168,27 @@ function uDe() {
"使用空间"
].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="${I0} 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">${L0("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">${L0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${z0}" 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">${L0("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="${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>
<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">${L0()}</span><b class="text-title-2-medium">${L0("3em")}</b><small class="text-caption-1-regular">${L0()}</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">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</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">数据库中的当前统计 · ${L0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("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="${z0}"><h3 class="text-title-2-medium">${e}</h3><div class="${I0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -68078,11 +68197,11 @@ function uDe() {
"最近看过",
"标签来源"
].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="${I0} 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="${L0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function dDe() {
+function fDe() {
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 = [
"浏览记录",
"口味维度",
@@ -68090,20 +68209,20 @@ function dDe() {
"私有导出"
].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="${I0} 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">${L0("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">${L0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${I0} h-6"></div>`).join(""), r = (e) => `<section class="${z0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${I0} 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="${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>`;
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">${us("全部时间")}<span data-button-group data-split-button data-variant="primary">${cs({
glyph: "compass",
label: "读取浏览器历史",
- attrs: R0
+ attrs: z0
})}${cs({
glyph: "chevron-down",
- attrs: R0
+ attrs: z0
})}</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>
@@ -68121,11 +68240,11 @@ function dDe() {
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">${L0("8em")}</small></div>
+ <small class="text-caption-1-regular">${R0("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="${z0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${I0} h-72 max-sm:h-48"></div></section>
+ <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="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -68133,20 +68252,20 @@ function dDe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${I0} 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="${L0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function fDe() {
+function pDe() {
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="${I0} 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">${L0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${L0("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">${L0("75%")}</span>
+ <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>
</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">${L0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${L0("8em")}</span>
+ <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -68155,27 +68274,27 @@ function fDe() {
variant: "secondary",
size: "small",
label: e,
- attrs: R0
+ attrs: z0
})).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">${L0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${L0("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">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("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 ${R0} 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 ${z0} 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 pDe() {
+function mDe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${I0} 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">${L0("80%")}</h3><p class="text-body-2-regular">${L0("60%")}</p></div>
+ <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>
<footer class="flex justify-end">${cs({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: R0
+ attrs: z0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -68184,20 +68303,20 @@ function pDe() {
</div></div>`;
}
// src/board-skeleton.ts
-var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, mDe = () => `${B0("80%")}${B0("48%")}`, V0 = (e, t) => e.repeat(t), H0 = "disabled data-skeleton-action", U0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, W0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, hDe = "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", G0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, hDe = () => `${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>`, gDe = "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">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${hDe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${U0("3em")}</b></div>`).join("")}</div>`, gDe = (e = "") => FZ.some(([t]) => t === e) ? e : "list", K0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${FZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, q0 = (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>`, _De = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${gDe}"><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>`, _De = (e = "") => FZ.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">${FZ.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>`, vDe = ({ table: e, sort: t, dir: n }) => {
let r = Gn.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">${U0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${cs({
+ 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>${cs({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: H0
+ attrs: U0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${cs({
variant: "ghost",
glyph: "layout-grid",
@@ -68214,42 +68333,42 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, mDe
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: H0
+ attrs: U0
})}</span></div></div>`;
-}, J0 = () => `<span class="flex shrink-0 items-center gap-1">${cs({
+}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${cs({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: H0
+ attrs: U0
})}${cs({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: H0
-})}</span>`, vDe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${q0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${U0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${W0(14, 14)}</span>${W0(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">${U0("113px")}</span>${J0()}</span></div>`, Y0 = (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>${W0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${U0("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">${cs({
+ attrs: U0
+})}</span>`, yDe = () => `<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">${cs({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: H0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${W0(14, 14)}${W0(14, 14)}</span><span class="flex flex-none items-center gap-2">${cs({
+ 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">${cs({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: H0
+ attrs: U0
})}${cs({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: H0
-})}</span></span></div><div data-source-divider>${V0(vDe(), e)}</div></section>`, yDe = () => {
+ attrs: U0
+})}</span></span></div><div data-source-divider>${H0(yDe(), e)}</div></section>`, bDe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, bDe = [
+}, xDe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -68257,81 +68376,81 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, mDe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], xDe = {
+], SDe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, SDe = "<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>", CDe = (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>${bDe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${xDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${SDe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${V0(`<tr>${[
- q0(),
- `<span class="flex min-w-0 items-center gap-2">${W0(32, 32, !0)}${U0("5em")}</span>`,
- U0("10em"),
- `<span class="flex items-center gap-1.5">${W0(14, 14)}${U0("4em")}</span>`,
- W0(48, 24),
- U0("113px"),
- J0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, wDe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${U0("111px")}</span><div data-toolbar-actions>${us(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${W0(204, 32)}</div></div>`, TDe = () => `<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">${U0("120px")}</h3>${[
+}, CDe = "<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>", wDe = (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>${xDe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${SDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${CDe}</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>`, TDe = (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>${us(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, EDe = () => `<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>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${U0(e)}</span>`).join("")}</div>`, EDe = (e) => {
- let t = gDe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(t)}<div class="flex flex-col gap-4">${TDe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || yDe(), a = n ? CDe(i, r) : `${q0("全选本页")}<div class="flex flex-col gap-3">${Y0(3)}${Y0(4)}${Y0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(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"}">${_De({
+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, DDe = (e) => {
+ let t = _De(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">${EDe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || bDe(), a = n ? wDe(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"}">${vDe({
table: n,
...r
- })}${a}${wDe(n, i)}</div></div></div></div></div>`;
+ })}${a}${TDe(n, i)}</div></div></div></div></div>`;
};
-function DDe() {
- 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">${B0("85%")}${B0("65%")}${V0(mDe(), 4)}</div></aside></div>`;
+function ODe() {
+ 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(hDe(), 4)}</div></aside></div>`;
}
-function ODe(e, t = {}) {
+function kDe(e, t = {}) {
let n = "";
- if (e === "/stats") n = uDe();
- else if (e === "/jav") n = cDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = dDe();
- else if (e === "/subscriptions") n = EDe(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in cV) n = iDe(cV[e.split("/")[2]]);
+ if (e === "/stats") n = dDe();
+ else if (e === "/jav") n = lDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = fDe();
+ else if (e === "/subscriptions") n = DDe(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in cV) n = aDe(cV[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 border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${U0("8em")}</span><span class="text-caption-1-regular">${U0("14em")}</span>${U0("60%")}${U0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${U0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = fDe();
- else if (e === "/quality-goals") n = pDe();
+ ].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 border border-border-button-default 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 = pDe();
+ else if (e === "/quality-goals") n = mDe();
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>${cs({
label: "新建",
- attrs: H0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${V0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ 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>`;
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 kDe(e) {
+function ADe(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 X0(e) {
+function Z0(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return kDe(n ?? t.body);
+ return ADe(n ?? t.body);
}
-function Z0(e) {
+function Q0(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 Q0 = (e) => ["follow-item", e], ADe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, jDe = "/api/follow/save", MDe = "/api/follow/media/hide", $0 = class extends Error {
+var $0 = (e) => ["follow-item", e], jDe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, MDe = "/api/follow/save", NDe = "/api/follow/media/hide", e2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function e2(e, t) {
- let n = await B(ADe(e), t);
+async function t2(e, t) {
+ let n = await B(jDe(e), t);
for (let t of n.groups || []) {
let r = Wi(t).find((t) => t.id === e);
if (r) return {
@@ -68341,9 +68460,9 @@ async function e2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new $0();
+ throw new e2();
}
-function NDe(e) {
+function PDe(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = Wi(t.group).find((t) => t.id === e);
@@ -68354,20 +68473,20 @@ function NDe(e) {
}
return null;
}
-async function t2(e, t) {
- let n = Q0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({
+async function n2(e, t) {
+ let n = $0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({
queryKey: zi,
queryFn: () => Bi(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? NDe(e.id);
+ } : H.getQueryData(n) ?? PDe(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => e2(e.id, t)
+ queryFn: () => t2(e.id, t)
}), await i;
}
-function PDe(e, t, n, r) {
+function FDe(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 && $i(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,
@@ -68382,32 +68501,32 @@ function PDe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var FDe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), IDe = {
+var IDe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), LDe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, LDe = {
+}, RDe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function RDe(e) {
+function zDe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return IDe[t] || t;
+ return LDe[t] || t;
} catch {
return "外部文件页";
}
}
-function n2(e, t) {
- return LDe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function r2(e, t) {
+ return RDe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function zDe(e, t, n = "") {
+function BDe(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;
@@ -68416,54 +68535,54 @@ function zDe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var BDe = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] || "unknown", VDe = /* @__PURE__ */ new Set([
+var VDe = (e) => String(e.name || "").trim(), i2 = (e, t) => e.tag_types?.[t] || "unknown", HDe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function HDe(e, t) {
- let n = r2(e, t);
- return `r34-${VDe.has(n) ? n : "general"}`;
+function UDe(e, t) {
+ let n = i2(e, t);
+ return `r34-${HDe.has(n) ? n : "general"}`;
}
-var i2 = [
+var a2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function UDe(e, t) {
+function WDe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = i2.indexOf(r2(e, t));
- return n < 0 ? i2.length : n;
+ let n = a2.indexOf(i2(e, t));
+ return n < 0 ? a2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function a2(e, t) {
+function o2(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 WDe = (e, t) => ({
+var GDe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), o2 = (e) => e?.size ? { size: e.size } : {};
-function GDe(e, t) {
+}), s2 = (e) => e?.size ? { size: e.size } : {};
+function KDe(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: n2(t, e),
- ...o2(t)
+ source: r2(t, e),
+ ...s2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: n2(a, e),
- ...o2(a)
+ source: r2(a, e),
+ ...s2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -68471,7 +68590,7 @@ function GDe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var KDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Ls(e, {
+var qDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Ls(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -68479,7 +68598,7 @@ var KDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), qDe = [
+}), JDe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -68489,38 +68608,38 @@ var KDe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], JDe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], YDe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${qDe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${JDe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(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>`, YDe = {
- "/data-cleanup": () => F$(),
- "/resource-sync": () => F$(),
- "/review": () => JDe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, XDe = {
+ "/data-cleanup": () => I$(),
+ "/resource-sync": () => I$(),
+ "/review": () => YDe(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${s2("正在读取采集来源", {
+ ${c2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function c2(e, { followLayout: t, followSort: n, followDir: r }) {
- return ODe(e, {
+function l2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return kDe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (YDe[e] ?? (() => s2("正在读取页面")))();
+ }) || (XDe[e] ?? (() => c2("正在读取页面")))();
}
-var l2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function u2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = l2(t);
+var u2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function d2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = u2(t);
r && r === n || (e.innerHTML = t, Gs(e));
}
// src/react/components/related-section.tsx
-function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, P.useCallback)((e) => {
e && (Gs(e), t(e));
}, [t]);
@@ -68543,7 +68662,7 @@ function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
size: "compact",
icon: Ez,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, F.jsx)(dI, {
+ actions: /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -68559,7 +68678,7 @@ function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function f2({ queue: e, children: t, queueCards: n }) {
+function p2({ queue: e, children: t, queueCards: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-detail-continuation": "",
"data-queue-cards": n == null ? void 0 : Math.min(3, n),
@@ -68567,7 +68686,7 @@ function f2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function p2({ 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, P.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, P.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -68647,7 +68766,7 @@ function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(XDe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(ZDe, {
item: e,
selected: r === t,
onSelect: n,
@@ -68666,7 +68785,7 @@ function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function XDe({ item: e, selected: t, onSelect: n, render: r }) {
+function ZDe({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(typeof IntersectionObserver > "u");
return (0, P.useEffect)(() => {
if (!i.current || a) return;
@@ -68692,14 +68811,14 @@ function XDe({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var ZDe = (e, t, n) => [
+var QDe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function m2(e, t, n, r) {
+function h2(e, t, n, r) {
let i = new Set((t.group ? Wi(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 = Wi(e);
@@ -68714,7 +68833,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 QDe(e, t, n, r) {
+async function $De(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...Qi(i),
status: "new",
@@ -68728,17 +68847,17 @@ async function QDe(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 h2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && h2(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 h2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var g2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
});
-function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+function _2({ 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, P.useState)(null), [f, p] = (0, P.useState)(!1), m = Pt({
queryKey: ["tag-management", n],
queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),
@@ -68777,7 +68896,7 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `修改标签 ${a(e.k)}`,
...Vz(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "pencil" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -68786,10 +68905,10 @@ function g2({ 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, F.jsx)(h2, { name: "x" })
+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "x" })
})
]
- }, e.k)), /* @__PURE__ */ (0, F.jsx)($De, {
+ }, e.k)), /* @__PURE__ */ (0, F.jsx)(eOe, {
tags: e,
candidates: h,
label: a,
@@ -68813,7 +68932,7 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, F.jsx)(e$, {
+ u ? /* @__PURE__ */ (0, F.jsx)(t$, {
operation: "rename",
selected: [u],
scope: n,
@@ -68822,7 +68941,7 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+function eOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
let c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = oV(), d = (0, P.useRef)(null), f = (0, P.useRef)(!1), [p, m] = (0, P.useState)(!1), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), [y, b] = (0, P.useState)(-1), x = (0, P.useRef)({
adding: i,
query: h,
@@ -68868,7 +68987,7 @@ function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
_,
t.length
]);
- let w = p ? kce(_, t, RM()) : {
+ let w = p ? Yse(_, t, vN()) : {
recent: [],
results: [],
create: ""
@@ -68911,7 +69030,7 @@ function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, F.jsx)(h2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, F.jsx)(g2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -68932,7 +69051,7 @@ function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-label": "添加标签",
"aria-expanded": p,
...Vz(!!i),
- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" })
+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" })
}), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -68945,7 +69064,7 @@ function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: bs("正在读取标签") }
- }) : /* @__PURE__ */ (0, F.jsx)(h2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {
+ }) : /* @__PURE__ */ (0, F.jsx)(g2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -68989,7 +69108,7 @@ function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -69006,7 +69125,7 @@ function $De({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function eOe({ item: e, label: t, actions: n }) {
+function tOe({ item: e, label: t, actions: n }) {
let r = kH(), i = () => H.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
@@ -69030,7 +69149,7 @@ function eOe({ item: e, label: t, actions: n }) {
}, "POST", t);
a(n), await i();
}, () => {
- o === "add" && zM(s);
+ o === "add" && yN(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 V("/api/follow/tag", {
@@ -69046,10 +69165,10 @@ function eOe({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, F.jsx)(g2, {
- tags: UDe(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, F.jsx)(_2, {
+ tags: WDe(e, t).map((t) => ({
k: t,
- cat: HDe(e, t)
+ cat: UDe(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -69066,22 +69185,22 @@ function eOe({ item: e, label: t, actions: n }) {
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var _2 = (e) => Number(e) > 0, tOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var v2 = (e) => Number(e) > 0, nOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), v2 = R("external-link", "ui-externalmark");
-function nOe(e) {
+}), y2 = R("external-link", "ui-externalmark");
+function rOe(e) {
let { id: t, actions: n } = e, r = Pt({
- queryKey: Q0(t),
- queryFn: ({ signal: e }) => e2(t, e)
+ queryKey: $0(t),
+ queryFn: ({ signal: e }) => t2(t, e)
}), i = Pt({
queryKey: zi,
queryFn: ({ signal: e }) => Bi(e)
}), a = (0, P.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, P.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, F.jsx)(aOe, {
+ return r.data ? /* @__PURE__ */ (0, F.jsx)(oOe, {
...e,
data: r.data,
- context: WDe(r.data, a),
+ context: GDe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, F.jsx)("div", {
@@ -69090,9 +69209,9 @@ function nOe(e) {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
+ children: [/* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? rOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(iOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(LW, {
+ children: r.isError ? iOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(aOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(LW, {
message: tn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -69100,8 +69219,8 @@ function nOe(e) {
})
});
}
-var rOe = (e) => e instanceof $0 || e instanceof Hn && e.status === 404;
-function iOe({ onBack: e }) {
+var iOe = (e) => e instanceof e2 || e instanceof Hn && e.status === 404;
+function aOe({ onBack: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -69110,7 +69229,7 @@ function iOe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: ys("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
+var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -69119,8 +69238,8 @@ var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function aOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = PDe(c, l, n, i), d = dOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({
+function oOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = FDe(c, l, n, i), d = fOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({
key: "",
kind: ""
}), h = {
@@ -69140,20 +69259,20 @@ function aOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? FDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(C2, {
+ let g = !u.embedded.length && u.collection ? IDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(w2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(C2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(w2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, F.jsx)(cOe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(lOe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -69163,14 +69282,14 @@ function aOe({ 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, F.jsx)(sOe, {
+ children: [/* @__PURE__ */ (0, F.jsx)(cOe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, F.jsx)(lOe, {
+ }, f), /* @__PURE__ */ (0, F.jsx)(uOe, {
item: c,
data: e,
context: t,
@@ -69180,9 +69299,9 @@ function aOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, F.jsx)(f2, {
+ }), /* @__PURE__ */ (0, F.jsx)(p2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(oOe, {
+ children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(sOe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -69192,23 +69311,23 @@ function aOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function oOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function sOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Pt({
- queryKey: ZDe(e.item.id, t, n),
- queryFn: ({ signal: r }) => QDe(e, t, n, r)
- }), [s] = (0, P.useState)(() => s2("正在读取推荐", {
+ queryKey: QDe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => $De(e, t, n, r)
+ }), [s] = (0, P.useState)(() => c2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, P.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 = h2(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, F.jsx)(d2, {
+ return /* @__PURE__ */ (0, F.jsx)(f2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -69222,7 +69341,7 @@ function oOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
variant: "next",
group: e,
media: t,
- authorSources: a2(e.primary, u),
+ authorSources: o2(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -69235,8 +69354,8 @@ function oOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function sOe({ 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, P.useRef)(null), p = GDe(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, P.useState)(g), b = (0, P.useRef)({
+function cOe({ 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, P.useRef)(null), p = KDe(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, P.useState)(g), b = (0, P.useRef)({
item: e,
selected: o
}), x = (0, P.useRef)(i.failed);
@@ -69250,7 +69369,7 @@ function sOe({ 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, F.jsx)(y2, { onClose: n.close }),
+ /* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, F.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
@@ -69265,10 +69384,10 @@ function sOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: WU(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: GU(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, F.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, F.jsx)(p2, {
+ u ? /* @__PURE__ */ (0, F.jsx)(m2, {
items: c,
position: l,
onSelect: r,
@@ -69285,11 +69404,11 @@ function sOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var b2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var x2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function x2({ src: e }) {
+function S2({ src: e }) {
let [t, n] = (0, P.useState)(!1);
return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {
src: e,
@@ -69299,27 +69418,27 @@ function x2({ src: e }) {
onError: () => n(!0)
});
}
-function S2(e) {
+function C2(e) {
return (0, P.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function cOe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = $i(e), a = S2(n);
+function lOe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = $i(e), a = C2(n);
return /* @__PURE__ */ (0, F.jsx)(_K, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${KU(e.primary)} · ${i.length} 个视频`,
+ summary: `${qU(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = zDe(e, n, i ? n.provider_label : ""), o = i ? WU(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = BDe(e, n, i ? n.provider_label : ""), o = i ? GU(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, F.jsxs)(vK, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {
+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: kn(n.duration)
@@ -69337,15 +69456,15 @@ function cOe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, F.jsx)("time", {
dateTime: n.published_at || "",
- children: tW(n)
+ children: nW(n)
})]
})]
}, n.id);
})
});
}
-function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = S2(r), c = [];
+function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = C2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -69361,7 +69480,7 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${KU(e)} · ${o.length} 个媒体`,
+ summary: `${qU(e)} · ${o.length} 个媒体`,
children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(yK, {
label: n.label,
count: n.items.length
@@ -69371,10 +69490,10 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, F.jsx)("b", {
"data-middle-truncate": "",
- children: BDe(n)
+ children: VDe(n)
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -69382,13 +69501,13 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function uOe({ 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 = QU(d, e), p = XU(e, a2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = $U(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = $U(d, e), p = ZU(e, o2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = eW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -69404,7 +69523,7 @@ function lOe({ 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: ZU(d, e) + z(KU(e)) }
+ dangerouslySetInnerHTML: { __html: QU(d, e) + z(qU(e)) }
}), e.url ? /* @__PURE__ */ (0, F.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -69412,7 +69531,7 @@ function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: v2 }
+ dangerouslySetInnerHTML: { __html: y2 }
}) : null]
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -69420,8 +69539,8 @@ function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, F.jsx)("span", { children: tW(e) }),
- _2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,
+ /* @__PURE__ */ (0, F.jsx)("span", { children: nW(e) }),
+ v2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -69470,7 +69589,7 @@ function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, F.jsx)(uOe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, F.jsx)(dOe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, F.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -69493,9 +69612,9 @@ function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [RDe(e), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [zDe(e), /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: v2 }
+ dangerouslySetInnerHTML: { __html: y2 }
})]
}, e))
}) : null,
@@ -69595,7 +69714,7 @@ function lOe({ 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, F.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(tOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(nOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -69604,7 +69723,7 @@ function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, F.jsx)(eOe, {
+ /* @__PURE__ */ (0, F.jsx)(tOe, {
item: e,
label: o.tagLabel,
actions: s
@@ -69613,7 +69732,7 @@ function lOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function uOe({ text: e }) {
+function dOe({ text: e }) {
let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);
return (0, P.useLayoutEffect)(() => {
let e = t.current;
@@ -69626,7 +69745,7 @@ function uOe({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: PF(e),
+ lang: xF(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, F.jsx)(q, {
@@ -69638,8 +69757,8 @@ function uOe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function dOe(e, t, n) {
- let r = e.id, i = Q0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {
+function fOe(e, t, n) {
+ let r = e.id, i = $0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -69658,7 +69777,7 @@ function dOe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && b$(), t.toast(KDe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && x$(), t.toast(qDe(n), { undo: i === "saved" ? void 0 : async () => {
await V(pr, {
item: r,
to: i
@@ -69668,7 +69787,7 @@ function dOe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Ft({
- mutationFn: () => V(jDe, { item: r }),
+ mutationFn: () => V(MDe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -69676,7 +69795,7 @@ function dOe(e, t, n) {
onSettled: () => l("save", !1)
}), m = Ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(MDe, {
+ await V(NDe, {
item: r,
media: e,
hidden: t
@@ -69692,12 +69811,12 @@ function dOe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Pt({
- queryKey: Jwe(r),
- queryFn: ({ signal: e }) => Zwe(r, e)
+ queryKey: qwe(r),
+ queryFn: ({ signal: e }) => Xwe(r, e)
}).data?.want ?? null, g = Ft({
- mutationFn: async (e) => (e ? await y$([e.id]) : await v$({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), b$();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();
},
onError: d,
onSettled: () => l("want", !1)
@@ -69736,7 +69855,7 @@ function dOe(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${z(Fn(t.name))}</span>` + Xa({
@@ -69782,7 +69901,7 @@ function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: s
});
}
-function T2({ people: e, onOpen: t }) {
+function E2({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
@@ -69815,7 +69934,7 @@ function T2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function E2(e) {
+function D2(e) {
let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);
return (0, P.useLayoutEffect)(() => {
let e = t.current;
@@ -69832,9 +69951,9 @@ function E2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(pQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(mQ, {
item: {
code: e.code,
has_cover: !1,
@@ -69866,34 +69985,34 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), fOe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => H.ensureQueryData({
- queryKey: O2(e.code),
- queryFn: () => k2(e.code, t),
+var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), pOe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => H.ensureQueryData({
+ queryKey: k2(e.code),
+ queryFn: () => A2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function pOe(e, t) {
+function mOe(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 j2 = "peach.playback-target.v1", M2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function mOe() {
+var M2 = "peach.playback-target.v1", N2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function hOe() {
try {
- return localStorage.getItem(j2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(M2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function N2({ id: e, onOpened: t }) {
- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(mOe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = kH();
+function P2({ id: e, onOpened: t }) {
+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(hOe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = kH();
(0, P.useEffect)(() => {
let e = new AbortController();
return B("/api/local-players", e.signal).then((t) => {
- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || M2.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) || N2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => M2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => N2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -69917,17 +70036,17 @@ function N2({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, F.jsx)(f1, {
+ children: [/* @__PURE__ */ (0, F.jsx)(p1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...M2],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...N2],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(j2, e);
+ localStorage.setItem(M2, e);
} catch {}
}
}), /* @__PURE__ */ (0, F.jsx)(q, {
@@ -69939,7 +70058,7 @@ function N2({ id: e, onOpened: t }) {
children: "打开"
})]
}),
- f.error || c ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: f.error || c }) : null,
+ f.error || c ? /* @__PURE__ */ (0, F.jsx)(QH, { children: f.error || c }) : null,
c ? /* @__PURE__ */ (0, F.jsx)(q, {
variant: "secondary",
disabled: !!f.busy,
@@ -69952,12 +70071,12 @@ function N2({ id: e, onOpened: t }) {
label: "网络播放地址",
value: o.url,
isReadOnly: !0
- }), /* @__PURE__ */ (0, F.jsx)(XH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
+ }), /* @__PURE__ */ (0, F.jsx)(ZH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
]
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var hOe = OF({
+var gOe = hF({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -70019,23 +70138,23 @@ var hOe = OF({
}
}
});
-function gOe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = hOe[t];
+function _Oe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = gOe[t];
return /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: DF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? DF("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: mF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? mF("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, F.jsx)("span", {
- className: DF("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, F.jsx)("span", { className: DF("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: mF("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, F.jsx)("span", { className: mF("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 P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, F.jsx)(Dde, {
ref: i,
...a,
- className: (t) => DF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(gOe, {
+ className: (t) => mF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(_Oe, {
state: e,
size: n,
shape: r
@@ -70046,12 +70165,12 @@ function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var _Oe = "/api/cover-crop", vOe = (e, t) => V(_Oe, {
+var vOe = "/api/cover-crop", yOe = (e, t) => V(vOe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function F2({ className: e }) {
+function I2({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -70064,7 +70183,7 @@ function F2({ className: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-crop" })
});
}
-function yOe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function bOe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70074,13 +70193,13 @@ function yOe({ 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, F.jsx)(F2, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-3.75" })
}), /* @__PURE__ */ (0, F.jsx)(Pz, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, F.jsx)(bOe, {
+ children: /* @__PURE__ */ (0, F.jsx)(xOe, {
code: e,
coverUrl: t,
box: n,
@@ -70089,9 +70208,9 @@ function yOe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function bOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function xOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = oV(), f = Ft({
- mutationFn: (t) => vOe(e, t),
+ mutationFn: (t) => yOe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -70103,15 +70222,15 @@ function bOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : cCe(e, La);
- c(XZ(t, e, null));
+ } : sCe(e, La);
+ c(ZZ(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, F.jsx)(Fz, { children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, F.jsx)(Fz, { children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-6" }) }),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -70130,7 +70249,7 @@ function bOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)($F, {
+ /* @__PURE__ */ (0, F.jsx)(KF, {
icon: pz,
size: "small",
"aria-label": "关闭",
@@ -70141,24 +70260,24 @@ function bOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, F.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, F.jsx)(tQ, {
+ children: /* @__PURE__ */ (0, F.jsx)(nQ, {
src: t,
aspect: l ? La : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- JZ(e) && p(e);
+ YZ(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, F.jsx)(P2, {
+ children: [/* @__PURE__ */ (0, F.jsx)(F2, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(XZ(s, a, La));
+ u(e), e && s && a && c(ZZ(s, a, La));
},
children: /* @__PURE__ */ (0, F.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -70186,21 +70305,21 @@ function bOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var I2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var L2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), L2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+}), R2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), R2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";
-function xOe(e) {
+}), z2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";
+function SOe(e) {
let { queue: t, actions: n } = e, r = Pt({
- queryKey: t ? yM(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => OM(t, e.helpers, n),
+ queryKey: t ? $M(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => cN(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? jM(i, e.id) : t ? null : e.id, o = Pt({
- queryKey: vM(a ?? 0),
- queryFn: ({ signal: e }) => DM(a, e),
+ }), i = t && r.data || null, a = i ? dN(i, e.id) : t ? null : e.id, o = Pt({
+ queryKey: QM(a ?? 0),
+ queryFn: ({ signal: e }) => sN(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -70211,7 +70330,7 @@ function xOe(e) {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, F.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
+ children: [/* @__PURE__ */ (0, F.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
"data-item-placeholder": "",
children: e ? /* @__PURE__ */ (0, F.jsx)(LW, {
message: tn(e),
@@ -70223,13 +70342,13 @@ function xOe(e) {
})
});
}
- return /* @__PURE__ */ (0, F.jsx)(SOe, {
+ return /* @__PURE__ */ (0, F.jsx)(COe, {
...e,
- item: Ece(o.data, i),
+ item: Kse(o.data, i),
queue: i
}, o.data.id);
}
-var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
+var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -70238,23 +70357,23 @@ var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function SOe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = LOe(t, r, i.tagLabel), o = (0, P.useRef)(t);
+function COe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = ROe(t, r, i.tagLabel), o = (0, P.useRef)(t);
(0, P.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, P.useEffect)(() => {
- n?.kind === "playlist" && V(bM, {
+ n?.kind === "playlist" && V(eN, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = Ice(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = MM(n, t.id);
+ let s = nce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = fN(n, t.id);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, F.jsx)(COe, {
+ children: [/* @__PURE__ */ (0, F.jsx)(wOe, {
item: t,
gate: s,
helpers: i,
@@ -70267,22 +70386,22 @@ function SOe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, F.jsx)(OOe, {
+ }), /* @__PURE__ */ (0, F.jsx)(kOe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, F.jsx)(f2, {
+ }), /* @__PURE__ */ (0, F.jsx)(p2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, F.jsx)(TOe, {
+ queue: n ? /* @__PURE__ */ (0, F.jsx)(EOe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(IOe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(LOe, {
...e,
item: n ? {
...t,
@@ -70291,12 +70410,12 @@ function SOe(e) {
}) : null
})] });
}
-function COe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function wOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, P.useState)(t ? "" : "auto"), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(-2), d = (0, P.useRef)(!1), f = Pt({
- queryKey: O2(e.code || ""),
+ queryKey: k2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, k2(e.code, t, n);
+ return d.current = !1, A2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -70341,26 +70460,26 @@ function COe({ 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, F.jsx)(z2, { onClose: r.close }),
+ /* @__PURE__ */ (0, F.jsx)(B2, { onClose: r.close }),
h ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(D2, {
+ l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(O2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, e.id),
- /* @__PURE__ */ (0, F.jsx)(p2, {
+ /* @__PURE__ */ (0, F.jsx)(m2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(D2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(O2, {
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,
@@ -70386,7 +70505,7 @@ function COe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, F.jsx)(wOe, {
+ t === "offline" ? /* @__PURE__ */ (0, F.jsx)(TOe, {
item: e,
badge: y,
helpers: n,
@@ -70397,7 +70516,7 @@ function COe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, F.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, F.jsx)(N2, {
+ /* @__PURE__ */ (0, F.jsx)(P2, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -70407,7 +70526,7 @@ function COe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, F.jsx)(L2, { html: y }),
+ /* @__PURE__ */ (0, F.jsx)(R2, { html: y }),
/* @__PURE__ */ (0, F.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -70422,12 +70541,12 @@ function COe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]
+ children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]
}) : null
]
});
}
-function wOe({ item: e, badge: t, helpers: n, actions: r }) {
+function TOe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -70438,7 +70557,7 @@ function wOe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, F.jsx)(L2, { html: t }),
+ /* @__PURE__ */ (0, F.jsx)(R2, { html: t }),
/* @__PURE__ */ (0, F.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -70452,8 +70571,8 @@ function wOe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function TOe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Mce(e), a = (0, P.useRef)(null), o = DOe(e, t, r), s = (0, P.useRef)(o);
+function EOe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Qse(e), a = (0, P.useRef)(null), o = OOe(e, t, r), s = (0, P.useRef)(o);
s.current = o;
let c = (0, P.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -70461,7 +70580,7 @@ function TOe({ 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 = EOe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {
+ }, [n, e.kind]), l = DOe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -70489,10 +70608,10 @@ function TOe({ 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, F.jsx)("i", {
- className: `javedition ${Ace[i.edition_label] || "censored"}`,
+ className: `javedition ${Xse[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && AM(i);
+ }) : null, s = e.kind === "playlist" && uN(i);
return /* @__PURE__ */ (0, F.jsxs)(vK, {
current: i.id === t,
"data-queue-item": i.id,
@@ -70503,25 +70622,25 @@ function TOe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {
+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: kn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, F.jsx)(L2, { html: fo(i) }),
+ lead: /* @__PURE__ */ (0, F.jsx)(R2, { html: fo(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, F.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "x" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, F.jsxs)("span", {
@@ -70532,14 +70651,14 @@ function TOe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? BM(i.part_label) : po(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? bN(i.part_label) : po(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function EOe(e, t) {
- let n = Ft({ mutationFn: (t) => V(bM, {
+function DOe(e, t) {
+ let n = Ft({ mutationFn: (t) => V(eN, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -70552,11 +70671,11 @@ function EOe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function DOe(e, t, n) {
- let r = yM({
+function OOe(e, t, n) {
+ let r = $M({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (H.setQueryData(r, kM(e)), e), a = (t) => V(bM, {
+ }), i = (e) => (H.setQueryData(r, lN(e)), e), a = (t) => V(eN, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = Ft({
@@ -70572,8 +70691,8 @@ function DOe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Pce(s, t, r, c);
- if (Fce(l, s)) return;
+ let l = ece(s, t, r, c);
+ if (tce(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -70615,7 +70734,7 @@ function DOe(e, t, n) {
}
};
}
-function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function kOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-stage-side": "",
@@ -70623,7 +70742,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, F.jsx)(kOe, {
+ /* @__PURE__ */ (0, F.jsx)(AOe, {
item: e,
queue: t,
helpers: r,
@@ -70635,7 +70754,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, F.jsx)(jOe, {
+ /* @__PURE__ */ (0, F.jsx)(MOe, {
item: e,
write: n
}),
@@ -70646,7 +70765,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -70654,11 +70773,11 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: R2(e.size) })]
+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: z2(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
@@ -70666,20 +70785,20 @@ function OOe({ 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, F.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(N2, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(P2, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, F.jsx)(MOe, {
+ /* @__PURE__ */ (0, F.jsx)(NOe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, F.jsx)(NOe, {
+ /* @__PURE__ */ (0, F.jsx)(POe, {
item: e,
write: n,
helpers: r,
@@ -70688,10 +70807,10 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
/* @__PURE__ */ (0, F.jsx)(FK, {
assetIds: PK([e], r.javImage()),
onComplete: () => {
- H.invalidateQueries({ queryKey: vM(e.id) });
+ H.invalidateQueries({ queryKey: QM(e.id) });
}
}),
- /* @__PURE__ */ (0, F.jsx)(POe, { item: e }),
+ /* @__PURE__ */ (0, F.jsx)(FOe, { item: e }),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -70705,7 +70824,7 @@ function OOe({ 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, F.jsx)(I2, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70717,7 +70836,7 @@ function OOe({ 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, F.jsx)(I2, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70728,7 +70847,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70739,7 +70858,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "eye" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "eye" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70750,7 +70869,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70759,7 +70878,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "playlist" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "playlist" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70770,7 +70889,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "sparkles" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -70781,11 +70900,11 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "trash" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(FOe, {
+ /* @__PURE__ */ (0, F.jsx)(IOe, {
item: e,
open: s,
write: n
@@ -70796,7 +70915,7 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, F.jsx)(I2, { name: "sperm" }),
+ /* @__PURE__ */ (0, F.jsx)(L2, { name: "sperm" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, F.jsx)("b", {
className: "mono",
@@ -70809,8 +70928,8 @@ function OOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function kOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Nce(e, t);
+function AOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + $se(e, t);
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -70837,23 +70956,23 @@ function kOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, F.jsx)(qH, {})
+ children: /* @__PURE__ */ (0, F.jsx)(JH, {})
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, F.jsx)(yOe, {
+ children: /* @__PURE__ */ (0, F.jsx)(bOe, {
code: e.cover_key || e.code || "",
coverUrl: Wa(e),
box: e.poster_box || null,
onSaved: (t) => {
H.invalidateQueries({
- queryKey: vM(e.id),
+ queryKey: QM(e.id),
exact: !0
- }), mM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), JM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(AOe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(jOe, {
id: e.id,
actions: r,
onStatus: i
@@ -70863,7 +70982,7 @@ function kOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function AOe({ id: e, actions: t, onStatus: n }) {
+function jOe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, P.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -70893,17 +71012,17 @@ function AOe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "folder-sync" })
})] });
}
-function jOe({ item: e, write: t }) {
- let n = gM(e.rating);
+function MOe({ item: e, write: t }) {
+ let n = XM(e.rating);
return /* @__PURE__ */ (0, F.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": hM(e.rating),
+ "data-value": YM(e.rating),
children: [/* @__PURE__ */ (0, F.jsx)(rY, {
value: n,
onRate: (e) => t.rate(e),
@@ -70918,14 +71037,14 @@ function jOe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Sce(e.rating)
+ children: Hse(e.rating)
})]
});
}
-function MOe({ item: e, actions: t }) {
- let n = (0, P.useMemo)(() => Dce(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function NOe({ item: e, actions: t }) {
+ let n = (0, P.useMemo)(() => qse(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, F.jsx)(w2, {
+ return /* @__PURE__ */ (0, F.jsx)(T2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -70957,7 +71076,7 @@ function MOe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "user-round" })
+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "user-round" })
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -70988,18 +71107,18 @@ function MOe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, F.jsx)(T2, {
+ }) : null, /* @__PURE__ */ (0, F.jsx)(E2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function NOe({ item: e, write: t, helpers: n, actions: r }) {
+function POe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, F.jsx)(g2, {
+ children: /* @__PURE__ */ (0, F.jsx)(_2, {
id: "detailTags",
- tags: Oce(e, n),
+ tags: Jse(e, n),
candidates: n.tagCandidates(),
label: n.tagLabel,
adding: [...t.busy].some((e) => e.startsWith("add:")),
@@ -71010,8 +71129,8 @@ function NOe({ item: e, write: t, helpers: n, actions: r }) {
})
});
}
-function POe({ item: e }) {
- let t = Lce(e);
+function FOe({ item: e }) {
+ let t = rce(e);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -71045,7 +71164,7 @@ function POe({ item: e }) {
})]
});
}
-function FOe({ item: e, open: t, write: n }) {
+function IOe({ item: e, open: t, write: n }) {
let [r, i] = (0, P.useState)(e.like_reason || ""), a = (0, P.useRef)(null);
(0, P.useEffect)(() => {
t && a.current?.focus();
@@ -71084,12 +71203,12 @@ function FOe({ item: e, open: t, write: n }) {
})]
});
}
-function IOe(e) {
+function LOe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({
- queryKey: Cce(t.id, n),
- queryFn: async ({ signal: e }) => (await B(Tce(t.id, n), e)).items || []
+ queryKey: Use(t.id, n),
+ queryFn: async ({ signal: e }) => (await B(Gse(t.id, n), e)).items || []
}), [o] = (0, P.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, F.jsx)(d2, {
+ return /* @__PURE__ */ (0, F.jsx)(f2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -71110,11 +71229,11 @@ function IOe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, F.jsx)(L2, { html: o })
+ }) : /* @__PURE__ */ (0, F.jsx)(R2, { html: o })
});
}
-function LOe(e, t, n) {
- let r = e.id, i = vM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {
+function ROe(e, t, n) {
+ let r = e.id, i = QM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => H.getQueryData(i) || e, p = (e) => {
@@ -71130,7 +71249,7 @@ function LOe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return pM(r, n), t;
+ return qM(r, n), t;
}, m = (e, t) => V(e, {
id: r,
...t
@@ -71145,7 +71264,7 @@ function LOe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(xM, t === void 0 ? { kind: e } : {
+ let n = await m(tN, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -71165,21 +71284,21 @@ function LOe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = _M(n, e);
- await _("rate", r), t.toast(r ? `已评 ${gM(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = ZM(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${XM(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(VM(e, r), { undo: async () => {
+ t.toast(xN(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(CM, {});
+ let e = await m(rN, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(CM, {})).watch_later });
+ p({ watch_later: (await m(rN, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -71189,9 +71308,9 @@ function LOe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(wM, { wanted: !e.wanted });
+ }), r = await m(iN, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(wM, e));
+ n(await m(iN, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -71205,7 +71324,7 @@ function LOe(e, t, n) {
});
u("保存中…");
try {
- o(await m(TM, {
+ o(await m(aN, {
liked: a,
reason: i
}));
@@ -71215,7 +71334,7 @@ function LOe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(TM, r));
+ o(await m(aN, r));
} });
});
},
@@ -71224,37 +71343,37 @@ function LOe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => FM(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(SM, {
+ p((t) => hN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(nN, {
operation: "add",
tag: e.k
- }), p((t) => IM(t, e));
+ }), p((t) => gN(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(SM, {
+ let e = await m(nN, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- PM(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => IM(e, {
+ mN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => gN(e, {
k: i,
cat: "general"
- })), zM(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(SM, {
+ })), yN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(nN, {
operation: "remove",
tag: i
- }), p((e) => FM(e, i));
+ }), p((e) => hN(e, i));
} }));
});
}
};
}
// src/react/activity/downloads-panel.tsx
-var B2 = "/api/downloads", V2 = ["downloads"], ROe = "/api/downloads/cancel", zOe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, BOe = {
+var V2 = "/api/downloads", H2 = ["downloads"], zOe = "/api/downloads/cancel", BOe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, VOe = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -71263,21 +71382,21 @@ var B2 = "/api/downloads", V2 = ["downloads"], ROe = "/api/downloads/cancel", zO
remote_done: "lime",
landed: "lime",
submitted: "neutral"
-}, U2 = (e) => {
- let t = e.display_code || e.code || "", { title: n } = FF({
+}, W2 = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = SF({
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}`;
-}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", VOe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function HOe() {
+}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", HOe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function UOe() {
let e = (0, P.useId)(), t = It({
- queryKey: [...V2, "pages"],
+ queryKey: [...H2, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => B(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => B(`${V2}?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) => H2(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => U2(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, F.jsxs)("section", {
id: "cloudDownloads",
@@ -71296,7 +71415,7 @@ function HOe() {
r.length ? /* @__PURE__ */ (0, F.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(UOe, {
+ children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(WOe, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -71315,15 +71434,15 @@ function HOe() {
]
});
}
-function UOe({ task: e, writable: t }) {
- let n = oe(), r = kH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = W2(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 WOe({ task: e, writable: t }) {
+ let n = oe(), r = kH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = G2(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,
- XF(e.submitted_at)
+ BF(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: V2 });
+ n.invalidateQueries({ queryKey: H2 });
}, g = () => {
- r.run("cancel", (t) => V(ROe, { id: e.id }, "POST", t), h);
+ r.run("cancel", (t) => V(zOe, { id: e.id }, "POST", t), h);
}, _ = () => {
let t = {
magnet: e.source_uri,
@@ -71333,16 +71452,16 @@ function UOe({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(B2, t, "POST", e), h);
+ r.run("resubmit", (e) => V(V2, t, "POST", e), h);
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
- r.run("postprocess", (t) => V(zOe, { id: e.id }, "POST", t), h);
+ r.run("postprocess", (t) => V(BOe, { id: e.id }, "POST", t), h);
};
return /* @__PURE__ */ (0, F.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: BH({
+ className: VH({
padding: "none",
bordered: "line",
className: p ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -71353,7 +71472,7 @@ function UOe({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(dA) },
+ style: { "--card-ratio": String(AA) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
u?.has_cover ? null : /* @__PURE__ */ (0, F.jsx)("span", {
@@ -71370,7 +71489,7 @@ function UOe({ task: e, writable: t }) {
f ? /* @__PURE__ */ (0, F.jsx)("a", {
"data-download-cover-link": "",
href: f,
- "aria-label": `打开作品详情:${U2(e)}`,
+ "aria-label": `打开作品详情:${W2(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
]
@@ -71381,17 +71500,17 @@ function UOe({ 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, F.jsx)("strong", {
className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
- title: U2(e),
+ title: W2(e),
children: f ? /* @__PURE__ */ (0, F.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: U2(e)
- }) : U2(e)
+ children: W2(e)
+ }) : W2(e)
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
children: [/* @__PURE__ */ (0, F.jsx)(sZ, {
- color: BOe[e.state] ?? "neutral",
+ color: VOe[e.state] ?? "neutral",
children: e.state_label
}), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(sZ, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
@@ -71403,7 +71522,7 @@ function UOe({ task: e, writable: t }) {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "flex shrink-0",
- children: /* @__PURE__ */ (0, F.jsx)(rU, {
+ children: /* @__PURE__ */ (0, F.jsx)(iU, {
source: e.provider,
label: e.provider_label
})
@@ -71430,7 +71549,7 @@ function UOe({ task: e, writable: t }) {
children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]
})]
}) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, F.jsx)(UH, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, F.jsx)(WH, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -71440,7 +71559,7 @@ function UOe({ task: e, writable: t }) {
title: e.ledger_path,
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, F.jsx)(QH, { children: r.error }) : null,
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-download-actions": "",
className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",
@@ -71494,33 +71613,33 @@ function UOe({ 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: U2(e)
+ children: W2(e)
}) : null,
l || e.postprocess_detail ? /* @__PURE__ */ (0, F.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, F.jsx)("p", {
className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || VOe(e)
+ children: l || HOe(e)
})
}) : null
]
});
}
// src/react/activity/work-code.ts
-var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);
+var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);
// src/react/activity/resource-search.tsx
-function WOe({ className: e }) {
+function GOe({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: bs("") }
});
}
-function GOe(e) {
+function KOe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => GOe(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = kH(), b = (0, P.useRef)(null);
+function qOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => KOe(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = kH(), b = (0, P.useRef)(null);
(0, P.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -71536,7 +71655,7 @@ function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => K2(e.code, t));
+ let r = (n.items || []).find((e) => q2(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -71557,7 +71676,7 @@ function KOe({ 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, F.jsxs)(XH, { children: [
+ t ? /* @__PURE__ */ (0, F.jsxs)(ZH, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
@@ -71568,7 +71687,7 @@ function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? WOe : wz,
+ leadingIcon: y.busy ? GOe : wz,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -71578,7 +71697,7 @@ function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, F.jsx)(QH, { children: "优先寻找" }), /* @__PURE__ */ (0, F.jsxs)(DU, {
+ children: [/* @__PURE__ */ (0, F.jsx)($H, { children: "优先寻找" }), /* @__PURE__ */ (0, F.jsxs)(OU, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -71586,15 +71705,15 @@ function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, F.jsx)(OU, {
+ /* @__PURE__ */ (0, F.jsx)(kU, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, F.jsx)(OU, {
+ /* @__PURE__ */ (0, F.jsx)(kU, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, F.jsx)(OU, {
+ /* @__PURE__ */ (0, F.jsx)(kU, {
id: "uncensored",
children: "无码"
})
@@ -71615,20 +71734,20 @@ function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, F.jsx)(XH, {
+ y.busy ? /* @__PURE__ */ (0, F.jsx)(ZH, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, F.jsx)(XH, {
+ y.error ? /* @__PURE__ */ (0, F.jsx)(QH, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, F.jsx)(ZH, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, F.jsx)(XH, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, F.jsx)(ZH, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, F.jsx)(XH, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, F.jsx)(ZH, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {
@@ -71638,7 +71757,7 @@ function KOe({ 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, F.jsx)(XH, { children: [
+ /* @__PURE__ */ (0, F.jsx)(ZH, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -71662,19 +71781,19 @@ function KOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
});
}
// src/react/activity/cloud-download-dialog.tsx
-var qOe = {
+var JOe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function q2({ prefill: e, close: t, receipt: n, provider: r }) {
+function J2({ prefill: e, close: t, receipt: n, provider: r }) {
return /* @__PURE__ */ (0, F.jsx)(Pz, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, F.jsx)(JOe, {
+ children: e ? /* @__PURE__ */ (0, F.jsx)(YOe, {
prefill: e,
close: t,
receipt: n,
@@ -71682,11 +71801,11 @@ function q2({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function JOe({ prefill: e, close: t, receipt: n, provider: r }) {
+function YOe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Pt({
- queryKey: V2,
- queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e),
- refetchInterval: (e) => H2(e.state.data)
+ queryKey: H2,
+ queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e),
+ refetchInterval: (e) => U2(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
children: [/* @__PURE__ */ (0, F.jsx)(NI, {
@@ -71701,7 +71820,7 @@ function JOe({ prefill: e, close: t, receipt: n, provider: r }) {
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, F.jsx)(YOe, {
+ return a ? /* @__PURE__ */ (0, F.jsx)(XOe, {
header: o,
snapshot: a,
prefill: e,
@@ -71730,7 +71849,7 @@ function JOe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+function XOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
let o = oe(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, P.useState)(c?.key || ""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(n.code ?? ""), [h, g] = (0, P.useState)(c?.target || ""), [_, v] = (0, P.useState)(n.code ? n : null), [y, b] = (0, P.useState)(""), x = t.available && s.some((e) => e.key === l), S = kH(), C = (0, P.useRef)(null), w = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
@@ -71747,14 +71866,14 @@ function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => V(B2, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: V2 });
- let t = qOe[e.outcome];
+ b(""), S.run("submit", (e) => V(V2, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: H2 });
+ let t = JOe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = W2(e.task);
+ let n = G2(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -71778,7 +71897,7 @@ function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, F.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, F.jsx)(XH, { children: [
+ }), _ ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: [
_.performers,
_.studio,
_.release_date,
@@ -71786,17 +71905,17 @@ function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, F.jsx)(KOe, {
+ /* @__PURE__ */ (0, F.jsx)(qOe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);
+ q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : K2(t?.code, n.code) ? t : null),
+ } : e : q2(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
@@ -71813,24 +71932,24 @@ function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, F.jsx)(QH, { children: "下载到" }),
- /* @__PURE__ */ (0, F.jsx)(DU, {
+ /* @__PURE__ */ (0, F.jsx)($H, { children: "下载到" }),
+ /* @__PURE__ */ (0, F.jsx)(OU, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, F.jsx)(OU, {
+ children: s.map((e) => /* @__PURE__ */ (0, F.jsx)(kU, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, F.jsx)(rU, {
+ children: /* @__PURE__ */ (0, F.jsx)(iU, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, F.jsx)(XH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, F.jsx)(Iz, {
@@ -71859,10 +71978,10 @@ function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), K2(e, _?.code) || v(null);
+ m(e), q2(e, _?.code) || v(null);
}
}),
- y || S.error ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: y || S.error }) : null
+ y || S.error ? /* @__PURE__ */ (0, F.jsx)(QH, { children: y || S.error }) : null
]
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -71882,11 +72001,11 @@ function YOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/publication-cache.ts
-var J2 = 864e5, Y2 = (e) => {
+var Y2 = 864e5, X2 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function X2(e) {
+function Z2(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));
@@ -71894,25 +72013,25 @@ function X2(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function XOe(e, t = Date.now()) {
- let n = X2(e);
- return n !== void 0 && Y2(t) > n ? Infinity : J2;
+function ZOe(e, t = Date.now()) {
+ let n = Z2(e);
+ return n !== void 0 && X2(t) > n ? Infinity : Y2;
}
-function Z2(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : XOe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;
+function Q2(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : ZOe(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;
}
// src/react/wants/resource-cache.ts
-var Q2 = "peach.want-resources.v2";
-function $2(e) {
+var $2 = "peach.want-resources.v2";
+function e4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function e4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));
+function t4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));
}
-function t4() {
+function n4() {
try {
- let e = JSON.parse(localStorage.getItem(Q2) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem($2) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -71921,23 +72040,23 @@ function t4() {
return [];
}
}
-function ZOe(e, t) {
- let n = t4().find((t) => t.code === e);
- return n && Z2(n.saved, t) ? n : void 0;
+function QOe(e, t) {
+ let n = n4().find((t) => t.code === e);
+ return n && Q2(n.saved, t) ? n : void 0;
}
-function QOe(e) {
- let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function $Oe(e) {
+ let t = new Map(n4().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 && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function $Oe(e, t) {
- if (t.state === "ready" && $2(t)) try {
- let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(Q2, JSON.stringify([{
+function eke(e, t) {
+ if (t.state === "ready" && e4(t)) try {
+ let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem($2, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -71945,15 +72064,15 @@ function $Oe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function eke(e) {
+function tke(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? jn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function tke(e) {
+function nke(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function n4({ icon: e, children: t, title: n }) {
+function r4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, F.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -71963,8 +72082,8 @@ function n4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = kH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => ZOe(h, e.release_date), [h, e.release_date]);
+function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = kH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => QOe(h, e.release_date), [h, e.release_date]);
(0, P.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -71984,22 +72103,22 @@ function r4({ 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 B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", $Oe(h, i), i;
+ return m.current = n && i.state === "busy", eke(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !t4(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, P.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, P.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Xwe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Ywe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -72007,7 +72126,7 @@ function r4({ 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 V(B2, {
+ let n = await V(V2, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -72018,7 +72137,7 @@ function r4({ 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: V2 });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: H2 });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -72044,7 +72163,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, F.jsx)(VH, { label: "正在查找资源链接" }) : null,
+ x ? /* @__PURE__ */ (0, F.jsx)(HH, { label: "正在查找资源链接" }) : null,
S ? /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "error",
title: "资源链接未取得",
@@ -72052,9 +72171,9 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Iz, {
tone: "neutral",
- children: tke(e)
+ children: nke(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(dI, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(cI, {
variant: "secondary",
size: "small",
className: "self-start",
@@ -72097,25 +72216,25 @@ function r4({ 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, F.jsx)(n4, {
+ /* @__PURE__ */ (0, F.jsx)(r4, {
icon: cpe,
children: e.source
}),
- /* @__PURE__ */ (0, F.jsx)(n4, {
+ /* @__PURE__ */ (0, F.jsx)(r4, {
icon: vz,
title: `来源大小:${e.size}`,
- children: eke(e.size)
+ children: tke(e.size)
}),
- e.files ? /* @__PURE__ */ (0, F.jsx)(n4, {
+ e.files ? /* @__PURE__ */ (0, F.jsx)(r4, {
icon: $fe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, F.jsx)(n4, {
+ /* @__PURE__ */ (0, F.jsx)(r4, {
icon: zfe,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(n4, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(r4, {
icon: Sz,
children: e
}, e))
@@ -72125,7 +72244,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-actions": "",
className: "flex flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(dI, {
+ /* @__PURE__ */ (0, F.jsx)(cI, {
"data-button-link": "",
variant: "secondary",
size: "small",
@@ -72146,7 +72265,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
e.protocol === "magnet" ? /* @__PURE__ */ (0, F.jsx)(q, {
variant: "primary",
size: "small",
- leadingIcon: v ? nU(v.key) : Gfe,
+ leadingIcon: v ? rU(v.key) : Gfe,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...Vz(f.busy === e.id),
@@ -72160,7 +72279,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, F.jsx)($H, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, F.jsx)(eU, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, F.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -72172,10 +72291,10 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var i4 = "peach.jav-reviews.v2";
-function a4() {
+var a4 = "peach.jav-reviews.v2";
+function o4() {
try {
- let e = localStorage.getItem(i4) || "[]";
+ let e = localStorage.getItem(a4) || "[]";
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")) : [];
@@ -72183,21 +72302,21 @@ function a4() {
return [];
}
}
-function nke(e, t) {
+function rke(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
- }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(i4, i);
+ }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(a4, i);
} catch {}
}
-function rke(e, t) {
- let n = a4(), r = [], i = Infinity;
+function ike(e, t) {
+ let n = o4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -72205,16 +72324,16 @@ function rke(e, t) {
saved: i
} : void 0;
}
-function ike(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));
+function ake(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function ake(e) {
+function oke(e) {
let t = (0, P.useRef)(!1), n = Pt({
- queryKey: O2(e.code),
+ queryKey: k2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, k2(e.code, n, r);
+ return t.current = !1, A2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -72224,21 +72343,21 @@ function ake(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, F.jsx)(oke, {
+ children: n.data ? /* @__PURE__ */ (0, F.jsx)(ske, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, F.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, F.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(LW, {
+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(LW, {
message: Wn(n.error),
onRetry: r
}) : null]
})
});
}
-var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
+var s4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -72247,7 +72366,7 @@ var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function ske({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, P.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, P.useEffect)(() => {
@@ -72268,12 +72387,12 @@ function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
video: !0
}] : []
], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = kH(), m = () => {
- p.run("want", async (e) => d ? (await y$([d], e), null) : (await v$({ code: t.code }, e)).want.id, (t) => {
- f(t), H.setQueryData(O2(e), (e) => e && {
+ p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {
+ f(t), H.setQueryData(k2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), b$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), x$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
@@ -72282,24 +72401,24 @@ function oke({ 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, F.jsx)(o4, { close: n.close }),
+ /* @__PURE__ */ (0, F.jsx)(s4, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(lke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(pQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(uke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(mQ, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, F.jsx)(p2, {
+ /* @__PURE__ */ (0, F.jsx)(m2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(pQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(mQ, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -72313,33 +72432,33 @@ function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, F.jsx)(ske, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, F.jsx)(cke, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, F.jsx)(c4, {
+ children: [/* @__PURE__ */ (0, F.jsx)(l4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, F.jsx)(c4, {
+ }), /* @__PURE__ */ (0, F.jsx)(l4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, F.jsx)(cke, {
+ /* @__PURE__ */ (0, F.jsx)(lke, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, F.jsx)(c4, {
+ children: [/* @__PURE__ */ (0, F.jsx)(l4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, F.jsx)(c4, {
+ }), /* @__PURE__ */ (0, F.jsx)(l4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -72367,7 +72486,7 @@ function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
t.summary ? /* @__PURE__ */ (0, F.jsx)("p", {
"data-jav-summary": "",
"data-long-text": "",
- lang: PF(t.summary),
+ lang: xF(t.summary),
children: t.summary
}) : null,
t.message ? /* @__PURE__ */ (0, F.jsx)(Iz, {
@@ -72383,7 +72502,7 @@ function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-jav-actions": "",
children: [
- t.source_url ? /* @__PURE__ */ (0, F.jsx)(dI, {
+ t.source_url ? /* @__PURE__ */ (0, F.jsx)(cI, {
"data-button-link": "",
variant: "secondary",
trailingIcon: mz,
@@ -72418,12 +72537,12 @@ function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, F.jsx)(uke, {
+ /* @__PURE__ */ (0, F.jsx)(dke, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, F.jsx)(dke, {
+ /* @__PURE__ */ (0, F.jsx)(fke, {
item: t,
actions: n,
readOnly: r
@@ -72431,24 +72550,24 @@ function oke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, F.jsx)(q2, {
+ /* @__PURE__ */ (0, F.jsx)(J2, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var s4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var c4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {
+}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
}) : null;
-function ske({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;
+function cke({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, F.jsx)("h1", {
@@ -72464,7 +72583,7 @@ function ske({ item: e }) {
r && !String(getSelection() || "") && i();
},
children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {
- lang: PF(a),
+ lang: xF(a),
children: a
})] }) : null]
})
@@ -72478,12 +72597,12 @@ function ske({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, F.jsx)(qH, {})
+ children: /* @__PURE__ */ (0, F.jsx)(JH, {})
})
})]
});
}
-function l4({ score: e, review: t = !1 }) {
+function u4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
@@ -72496,7 +72615,7 @@ function l4({ score: e, review: t = !1 }) {
})]
});
}
-function cke({ item: e, navigate: t }) {
+function lke({ item: e, navigate: t }) {
let n = (e, n) => t(hn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, F.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -72505,14 +72624,14 @@ function cke({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, F.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(w2, {
+ children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(T2, {
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, F.jsx)(mQ, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(hQ, {
code: e.code,
person: r,
detail: !0
@@ -72529,7 +72648,7 @@ function cke({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, F.jsx)(T2, {
+ }), /* @__PURE__ */ (0, F.jsx)(E2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -72538,11 +72657,11 @@ function cke({ item: e, navigate: t }) {
})]
});
}
-function lke({ src: e }) {
+function uke({ src: e }) {
let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(0);
return (0, P.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), oce(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), DM(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -72562,8 +72681,8 @@ function lke({ src: e }) {
}) : null
});
}
-function uke({ code: e, count: t, released: n }) {
- let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => rke(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({
+function dke({ code: e, count: t, released: n }) {
+ let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ike(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -72572,12 +72691,12 @@ function uke({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => ike(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => ake(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await fOe(e, n, t, s.current);
- if (nke(e, i), !i.ok || i.cache_stale) {
+ let i = await pOe(e, n, t, s.current);
+ if (rke(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,
@@ -72587,7 +72706,7 @@ function uke({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: pOe
+ getNextPageParam: mOe
});
(0, P.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -72595,7 +72714,7 @@ function uke({ 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 ? Wn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, F.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, F.jsxs)($H, {
+ children: /* @__PURE__ */ (0, F.jsxs)(eU, {
trailing: !0,
summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
/* @__PURE__ */ (0, F.jsx)(Bfe, { "aria-hidden": !0 }),
@@ -72635,7 +72754,7 @@ function uke({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, F.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, {
score: Number(e.score),
review: !0
}) : null,
@@ -72647,7 +72766,7 @@ function uke({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, F.jsx)("p", {
"data-long-text": "",
- lang: PF(e.content),
+ lang: xF(e.content),
children: e.content
})]
}, e.id)),
@@ -72694,21 +72813,21 @@ function uke({ code: e, count: t, released: n }) {
})
});
}
-function dke({ item: e, actions: t, readOnly: n }) {
+function fke({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, P.useState)(!1), a = Pt({
- queryKey: V2,
+ queryKey: H2,
enabled: r,
- queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e)
+ queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, P.useState)(!1);
return /* @__PURE__ */ (0, F.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, F.jsx)($H, {
+ children: /* @__PURE__ */ (0, F.jsx)(eU, {
trailing: !0,
- summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, F.jsx)(r4, {
+ children: s ? /* @__PURE__ */ (0, F.jsx)(i4, {
want: {
id: 0,
code: e.code,
@@ -72725,31 +72844,31 @@ function dke({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function fke(e, t) {
- u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), Sse({
+var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function pke(e, t) {
+ d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), rse({
...e.player,
stage: () => document.getElementById("stage")
- }), Cse({
- inMiniplayer: (e) => d4?.player === e,
- kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",
- expand: () => z4(),
- toMiniplayer: () => B4()
- }), b4 || (b4 = !0, addEventListener("pagehide", () => Wj()));
-}
-var b4 = !1;
-function x4() {
- if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return u4;
-}
-function S4(e) {
- p4 = e;
-}
-var pke = () => p4;
-function C4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);
- if (d4 && d4.key === a) return hke(e, d4);
- d4 && R4();
+ }), cj({
+ inMiniplayer: (e) => f4?.player === e,
+ kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",
+ expand: () => B4(),
+ toMiniplayer: () => V4()
+ }), x4 || (x4 = !0, addEventListener("pagehide", () => dM()));
+}
+var x4 = !1;
+function S4() {
+ if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return d4;
+}
+function C4(e) {
+ m4 = e;
+}
+var mke = () => m4;
+function w4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);
+ if (f4 && f4.key === a) return gke(e, f4);
+ f4 && z4();
let o = {
player: null,
kind: n,
@@ -72757,52 +72876,52 @@ function C4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- f4 = o;
+ p4 = 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 = tM(s, {
+ let c = wM(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- f4 === o && (o.player = e);
+ p4 === o && (o.player = e);
},
- handedOff: (e) => d4?.player === e
+ handedOff: (e) => f4?.player === e
});
return () => {
- let e = !!o.player && d4?.player === o.player;
- f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Wj());
+ let e = !!o.player && f4?.player === o.player;
+ p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), dM());
};
}
-async function mke(e, t, n) {
+async function hke(e, t, n) {
let r = await on(`/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 x4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await S4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().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 || "未归属")
};
- S4(a);
- let o = C4(t, {
+ C4(a);
+ let o = w4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));
+ s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));
};
}
-function hke(e, t) {
+function gke(e, t) {
let { player: n } = t;
- I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), $j(e), e.append(n.el()), JA(n);
+ L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), SM(e), e.append(n.el()), hj(n);
let r = {
player: n,
kind: t.kind,
@@ -72810,23 +72929,23 @@ function hke(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- f4 = r;
- let i = eM(n, e);
- return YA(n), () => {
- f4 === r && (f4 = null), i(), d4?.player !== n && (qA() === n && JA(null), Fj(n), Wj());
+ p4 = r;
+ let i = CM(n, e);
+ return gj(n), () => {
+ p4 === r && (p4 = null), i(), f4?.player !== n && (mj() === n && hj(null), nM(n), dM());
};
}
-var w4 = () => {
- let e = f4?.player;
+var T4 = () => {
+ let e = p4?.player;
return e && !e.isDisposed() ? e : null;
};
-function T4(e) {
- let t = h4;
- h4 = !1, d4?.pending && R4();
- let n = f4, r = n?.player, i = p4;
- if (!n || !r || r.isDisposed() || !i || !m4) return;
- let a = x4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && yke({
+function E4(e) {
+ let t = g4;
+ g4 = !1, f4?.pending && z4();
+ let n = p4, r = n?.player, i = m4;
+ if (!n || !r || r.isDisposed() || !i || !h4) return;
+ let a = S4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && bke({
player: r,
kind: n.kind,
item: n.item,
@@ -72834,46 +72953,46 @@ function T4(e) {
key: n.key
}, i);
}
-function E4(e, t) {
- h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());
-}
-function D4(e) {
- m4 = e, m4 && P4();
+function D4(e, t) {
+ g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());
}
-var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();
-function gke() {
- return O4() ? m4?.frame.querySelector("video") ?? null : null;
+function O4(e) {
+ h4 = e, h4 && F4();
}
+var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();
function _ke() {
- return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? gke();
+ return k4() ? h4?.frame.querySelector("video") ?? null : null;
}
-function k4(e) {
- m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function vke() {
+ return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? _ke();
}
-function A4(e = d4?.item) {
- if (!m4) return;
- let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function A4(e) {
+ h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function j4() {
- let e = d4?.player;
- if (!e || e.isDisposed() || !m4) return;
- let t = e.paused();
- m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = Es("player-pause", "player-play", t ? "b" : "a")), Ds(m4.play, t ? "b" : "a");
+function j4(e = f4?.item) {
+ if (!h4) return;
+ let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
function M4() {
- let e = d4?.player;
- if (!e || e.isDisposed() || !m4) return;
- let t = On(d4?.item.duration) || On(e.duration());
- m4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;
-}
-var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);
-function P4() {
- if (!m4 || !u4) return;
- let e = N4();
- for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function F4(e) {
+ let e = f4?.player;
+ if (!e || e.isDisposed() || !h4) return;
+ let t = e.paused();
+ h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = Es("player-pause", "player-play", t ? "b" : "a")), Ds(h4.play, t ? "b" : "a");
+}
+function N4() {
+ let e = f4?.player;
+ if (!e || e.isDisposed() || !h4) return;
+ let t = On(f4?.item.duration) || On(e.duration());
+ h4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;
+}
+var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);
+function F4() {
+ if (!h4 || !d4) return;
+ let e = P4();
+ for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function I4(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -72885,17 +73004,17 @@ function F4(e) {
"play",
"pause",
"ended"
- ], j4), t([
+ ], M4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();
+ ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();
}
-function I4(e) {
+function L4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function vke() {
- let e = m4?.root;
+function yke() {
+ let e = h4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -72903,8 +73022,8 @@ function vke() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function L4() {
- let e = m4?.root;
+function R4() {
+ let e = h4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -72915,73 +73034,73 @@ function L4() {
e.style.transform = "";
}
}
-function yke(e, t) {
- if (!m4) return;
+function bke(e, t) {
+ if (!h4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), vke(), YA(e.player);
-}
-function R4() {
- let e = d4;
- e && I4(e), d4 = null, g4++;
- let t = e?.player ?? null;
- t && qA() === t && JA(null), Fj(t), t && Wj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), GA(), L4();
+ f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), yke(), gj(e.player);
}
function z4() {
- if (!O4() || !d4) return;
- let { kind: e, item: t, mediaIndex: n } = d4;
- x4().expand(e, t.id, n);
+ let e = f4;
+ e && L4(e), f4 = null, _4++;
+ let t = e?.player ?? null;
+ t && mj() === t && hj(null), nM(t), t && dM(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), fj(), R4();
}
function B4() {
- O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());
+ if (!k4() || !f4) return;
+ let { kind: e, item: t, mediaIndex: n } = f4;
+ S4().expand(e, t.id, n);
}
-function bke() {
- let e = d4?.player;
+function V4() {
+ k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());
+}
+function xke() {
+ let e = f4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function V4(e) {
- let t = d4?.player;
+function H4(e) {
+ let t = f4?.player;
if (!t || t.isDisposed()) return;
- let n = On(t.duration()) || On(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);
+ let n = On(t.duration()) || On(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function H4(e) {
- return !(!O4() || !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 || x4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function xke(e) {
- if (!O4() || !d4 || !m4) return;
- let t = ++g4, n = await on(`/api/item?id=${e}`).catch(() => null);
- if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;
- if (!H4(n)) {
- x4().openItem(e);
+function U4(e) {
+ return !(!k4() || !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 || S4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function Ske(e) {
+ if (!k4() || !f4 || !h4) return;
+ let t = ++_4, n = await on(`/api/item?id=${e}`).catch(() => null);
+ if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;
+ if (!U4(n)) {
+ S4().openItem(e);
return;
}
- let r = d4;
- I4(r), qA() === r.player && JA(null), Fj(r.player), Wj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = f4;
+ L4(r), mj() === r.player && hj(null), nM(r.player), dM(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- k4(a), tM(i, {
+ A4(a), wM(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== g4) {
- r && qA() === r && JA(null), Fj(r);
+ if (t !== _4) {
+ r && mj() === r && hj(null), nM(r);
return;
}
if (!r) {
- R4(), x4().openItem(e);
+ z4(), S4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -72990,25 +73109,25 @@ async function xke(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: y4("item", n.id, null),
+ key: b4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- d4 = i, F4(i);
+ f4 = i, I4(i);
}
- }), A4(n);
+ }), j4(n);
}
// src/react/stage/miniplayer.tsx
-var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
+var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
-}), Ske = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {
+}), Cke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {
t.stopPropagation(), e();
-}, Cke = (0, P.memo)(function() {
+}, wke = (0, P.memo)(function() {
let e = (0, P.useRef)(null), t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null);
- return (0, P.useLayoutEffect)(() => (D4({
+ return (0, P.useLayoutEffect)(() => (O4({
root: e.current,
frame: n.current,
play: r.current,
@@ -73018,7 +73137,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => D4(null)), []), (0, P.useEffect)(() => Tke(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {
+ }), () => O4(null)), []), (0, P.useEffect)(() => Eke(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -73042,24 +73161,24 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: W4(z4),
- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "maximize-2" })
+ onClick: G4(B4),
+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: W4(R4),
- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "x" })
+ onClick: G4(z4),
+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "x" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: W4(() => V4(-1)),
- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-ccw" })
+ onClick: G4(() => H4(-1)),
+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
ref: r,
@@ -73068,16 +73187,16 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: W4(bke),
- dangerouslySetInnerHTML: Ske
+ onClick: G4(xke),
+ dangerouslySetInnerHTML: Cke
}),
/* @__PURE__ */ (0, F.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: W4(() => V4(1)),
- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-cw" })
+ onClick: G4(() => H4(1)),
+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, F.jsx)("span", {
ref: i,
@@ -73094,7 +73213,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => z4(),
+ onClick: () => B4(),
children: [/* @__PURE__ */ (0, F.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -73108,7 +73227,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
})
});
});
-function wke(e, t, n) {
+function Tke(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
@@ -73130,7 +73249,7 @@ function wke(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function Tke(e, t) {
+function Eke(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 = {
@@ -73156,7 +73275,7 @@ function Tke(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), wke(e, i.dx, i.dy));
+ }, 0), Tke(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -73167,49 +73286,49 @@ function Tke(e, t) {
};
}
// src/react/stage/stage.tsx
-var G4 = null, K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {
+var K4 = null, q4 = null, J4 = null, Y4 = /* @__PURE__ */ new Set(), X4 = 0, Z4 = null, Q4 = !1, $4 = !1, e3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function e3() {
- if (!G4) throw Error("舞台还没有接上宿主(configureStage)");
- return G4;
+function t3() {
+ if (!K4) throw Error("舞台还没有接上宿主(configureStage)");
+ return K4;
}
-function Eke(e) {
- return J4.add(e), () => {
- J4.delete(e);
+function Dke(e) {
+ return Y4.add(e), () => {
+ Y4.delete(e);
};
}
-function Dke() {
- for (let e of [...J4]) e();
+function Oke() {
+ for (let e of [...Y4]) e();
}
-function t3() {
- (0, Lt.flushSync)(Dke);
+function n3() {
+ (0, Lt.flushSync)(Oke);
}
-function Oke({ view: e }) {
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(kke, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(Cke, {})] });
+function kke({ view: e }) {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(Ake, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(wke, {})] });
}
-var n3 = () => /* @__PURE__ */ (0, F.jsx)("div", {
+var r3 = () => /* @__PURE__ */ (0, F.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: DDe() }
+ dangerouslySetInnerHTML: { __html: ODe() }
});
-function r3(e) {
+function i3(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 kke({ view: e }) {
+function Ake({ view: e }) {
let t = (0, P.useRef)(null);
(0, P.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), i3());
+ t.target === e && (t.preventDefault(), a3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(xOe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(ake, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(nOe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(SOe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(oke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(rOe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, F.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -73217,27 +73336,27 @@ function kke({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), a3());
},
onPointerDown: (e) => {
- Q4 = r3(e);
+ $4 = i3(e);
},
onClick: (e) => {
- Q4 && r3(e) && i3();
+ $4 && i3(e) && a3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(n3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(r3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(n3, {})
+ children: /* @__PURE__ */ (0, F.jsx)(r3, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, F.jsx)("div", {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, F.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, F.jsx)(uT, {
- getContainer: () => X0(t.current),
+ children: /* @__PURE__ */ (0, F.jsx)(BT, {
+ getContainer: () => Z0(t.current),
children: i
})
})
@@ -73245,14 +73364,14 @@ function kke({ view: e }) {
]
});
}
-function i3() {
- K4 && !Z4 && (Z4 = !0, K4.request.actions.close());
+function a3() {
+ q4 && !Q4 && (Q4 = !0, q4.request.actions.close());
}
-function a3(e, t) {
- let n = $4();
+function o3(e, t) {
+ let n = e3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function o3(e) {
+function s3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -73260,30 +73379,30 @@ function o3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: i3
+ close: a3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => e3().player.settings(), i = () => K4?.request === e;
+ }, r = () => t3().player.settings(), i = () => q4?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: i3,
+ close: a3,
present: (e, t) => {
let n = e.performers;
- S4({
+ C4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), o3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => C4(e, {
+ mountPlayer: (e, t, r, i) => w4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -73301,18 +73420,18 @@ function o3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: i3,
+ close: a3,
present: (e, t) => {
- S4({
+ C4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), o3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => C4(e, {
+ mountPlayer: (e, t, r, i) => w4(e, {
kind: "follow",
item: t,
media: r,
@@ -73329,106 +73448,106 @@ function o3(e) {
}
};
}
-function Ake(e, t) {
+function jke(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"), K4?.generation === t && K4.phase === "reveal" && (K4 = {
- ...K4,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {
+ ...q4,
phase: "content"
- }, t3());
+ }, n3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function s3(e) {
- let t = $4();
- return !K4 || K4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function c3(e) {
+ let t = e3();
+ return !q4 || q4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function jke(e) {
- !q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (q4 = {
+async function Mke(e) {
+ !J4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (J4 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = s3(e.kind);
+ let t = c3(e.kind);
if (t) {
- await Nke(e, t);
+ await Pke(e, t);
return;
}
- K4 && c3({ miniplayer: !1 });
- let n = ++Y4, r = new AbortController();
- X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);
- let i = o3(e);
- K4 = {
+ q4 && l3({ miniplayer: !1 });
+ let n = ++X4, r = new AbortController();
+ Z4 = r, Q4 = !1, $4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);
+ let i = s3(e);
+ q4 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? NM(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : t2(i.props, r.signal);
- if (n !== Y4 || K4?.request !== e) {
+ let a = i.kind === "item" ? pN(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : n2(i.props, r.signal);
+ if (n !== X4 || q4?.request !== e) {
await a.catch(() => {});
return;
}
- let o = Mke(i);
- K4 = {
- ...K4,
+ let o = Nke(i);
+ q4 = {
+ ...q4,
phase: o ? "content" : "skeleton"
- }, t3();
- let s = $4();
+ }, n3();
+ let s = e3();
if (!s) {
await a.catch(() => {});
return;
}
- o || Gs(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Z0(s);
+ o || Gs(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Q0(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== Y4 || !K4 || o) return;
+ if (n !== X4 || !q4 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- K4 = {
- ...K4,
+ q4 = {
+ ...q4,
phase: c ? "content" : "reveal"
- }, t3(), c || Ake(s, n), Ns(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, n3(), c || jke(s, n), Ns(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function Mke(e) {
- if (e.kind === "jav") return !!H.getQueryData(O2(e.props.code));
- if (e.kind === "follow") return !!H.getQueryData(Q0(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(yM(t)) : null;
+function Nke(e) {
+ if (e.kind === "jav") return !!H.getQueryData(k2(e.props.code));
+ if (e.kind === "follow") return !!H.getQueryData($0(e.props.id));
+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData($M(t)) : null;
if (t && !r) return !1;
- let i = r ? jM(r, n) : n;
- return i != null && !!H.getQueryData(vM(i));
+ let i = r ? dN(r, n) : n;
+ return i != null && !!H.getQueryData(QM(i));
}
-async function Nke(e, t) {
- let n = ++Y4;
- X4?.abort();
+async function Pke(e, t) {
+ let n = ++X4;
+ Z4?.abort();
let r = new AbortController();
- X4 = r, Q4 = !1;
- let i = o3(e);
+ Z4 = r, $4 = !1;
+ let i = s3(e);
try {
- i.kind === "item" ? await NM(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await t2(i.props, r.signal);
+ i.kind === "item" ? await pN(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await n2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== Y4 || !K4 || s3(e.kind) !== t) return;
- e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), Ol(t), GA(), K4 = {
- ...K4,
+ if (n !== X4 || !q4 || c3(e.kind) !== t) return;
+ e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), Ol(t), fj(), q4 = {
+ ...q4,
request: e,
content: i,
phase: "content"
- }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ns(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, n3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ns(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 Pke() {
- Z0(null);
- let e = $4();
+function Fke() {
+ Q0(null);
+ let e = e3();
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();
@@ -73438,14 +73557,14 @@ function Pke() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function c3({ miniplayer: e = !0 } = {}) {
- if (Y4++, X4?.abort(), X4 = null, T4(e), !K4) return;
- let t = $4();
- t && Ol(t), GA(), Z0(null), t?.open && t.close(), K4 = null, Z4 = !1, Q4 = !1, t3(), S4(null), document.body.removeAttribute("data-detail-open");
- let n = q4;
- q4 = null;
+function l3({ miniplayer: e = !0 } = {}) {
+ if (X4++, Z4?.abort(), Z4 = null, E4(e), !q4) return;
+ let t = e3();
+ t && Ol(t), fj(), Q0(null), t?.open && t.close(), q4 = null, Q4 = !1, $4 = !1, n3(), C4(null), document.body.removeAttribute("data-detail-open");
+ let n = J4;
+ J4 = null;
let r = () => {
- !K4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !q4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -73453,79 +73572,79 @@ function c3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function Fke(e) {
- K4 && (K4 = {
- ...K4,
- content: K4.content.kind === "item" ? {
+function Ike(e) {
+ q4 && (q4 = {
+ ...q4,
+ content: q4.content.kind === "item" ? {
kind: "item",
props: {
- ...K4.content.props,
+ ...q4.content.props,
...e
}
- } : K4.content.kind === "jav" ? K4.content : {
+ } : q4.content.kind === "jav" ? q4.content : {
kind: "follow",
props: {
- ...K4.content.props,
+ ...q4.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, t3());
+ }, n3());
}
-function Ike() {
- let e = pke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, e3().player.settings().javImage) : "";
+function Lke() {
+ let e = mke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, t3().player.settings().javImage) : "";
if (!n) return;
- let r = w4();
+ let r = T4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var Lke = {
- open: jke,
- update: Fke,
- exit: Pke,
- dispose: c3,
- requestClose: i3,
- repaintPoster: Ike,
- isOpen: () => !!K4,
- showing: () => K4 && s3(K4.content.kind) ? K4.content.kind : null,
- activeVideo: () => _ke(),
- mountWallPlayer: mke,
+var Rke = {
+ open: Mke,
+ update: Ike,
+ exit: Fke,
+ dispose: l3,
+ requestClose: a3,
+ repaintPoster: Lke,
+ isOpen: () => !!q4,
+ showing: () => q4 && c3(q4.content.kind) ? q4.content.kind : null,
+ activeVideo: () => vke(),
+ mountWallPlayer: hke,
toggleTheater: () => {
- K4 && Sj(!e3().player.settings().theaterMode);
+ q4 && Uj(!t3().player.settings().theaterMode);
},
- toggleMiniplayer: () => B4(),
- closeMiniplayer: () => R4(),
- miniplayerActive: () => O4(),
- miniplayerTakesCard: (e) => H4(e),
+ toggleMiniplayer: () => V4(),
+ closeMiniplayer: () => z4(),
+ miniplayerActive: () => k4(),
+ miniplayerTakesCard: (e) => U4(e),
miniplayerPlay: (e) => {
- xke(e);
+ Ske(e);
}
};
-function Rke(e) {
- return G4 = e, fke(e, {
- isOpen: () => !!K4,
- requestClose: i3
- }), Lke;
+function zke(e) {
+ return K4 = e, pke(e, {
+ isOpen: () => !!q4,
+ requestClose: a3
+ }), Rke;
}
-function zke() {
- let e = (0, P.useSyncExternalStore)(Eke, () => K4);
- return G4 ? /* @__PURE__ */ (0, F.jsx)(Oke, { view: e }) : null;
+function Bke() {
+ let e = (0, P.useSyncExternalStore)(Dke, () => q4);
+ return K4 ? /* @__PURE__ */ (0, F.jsx)(kke, { view: e }) : null;
}
// src/react/stats/stats.ts
-var Bke = "/api/stats", l3 = ["stats"], u3 = (e) => B(Bke, e);
-async function Vke(e) {
+var Vke = "/api/stats", u3 = ["stats"], d3 = (e) => B(Vke, e);
+async function Hke(e) {
await H.fetchQuery({
- queryKey: l3,
- queryFn: () => u3(e)
+ queryKey: u3,
+ queryFn: () => d3(e)
});
}
-var d3 = (e) => e != null && Number.isFinite(e), Hke = (e) => d3(e) ? e.toLocaleString() : "未取得", Uke = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, Wke = (e, t) => {
- let n = Uke(e, t);
- return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;
-}, f3 = (e) => {
- if (!d3(e)) return "未取得";
+var f3 = (e) => e != null && Number.isFinite(e), Uke = (e) => f3(e) ? e.toLocaleString() : "未取得", Wke = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, Gke = (e, t) => {
+ let n = Wke(e, t);
+ return !n && f3(e) && e > 0 && f3(t) && t > 0 ? "<1%" : `${n}%`;
+}, p3 = (e) => {
+ if (!f3(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)} 分钟`;
-}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, Gke = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Kke = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function qke(e, t = 6) {
+}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, Kke = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", qke = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function Jke(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);
@@ -73535,7 +73654,7 @@ function qke(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var Jke = (e) => Math.max(1, ...e) * 1.1, Yke = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, Xke = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Zke = {
+var Yke = (e) => Math.max(1, ...e) * 1.1, Xke = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, Zke = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Qke = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -73543,18 +73662,18 @@ var Jke = (e) => Math.max(1, ...e) * 1.1, Yke = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, Qke = (e) => e.map((e) => ({
- name: Zke[e.k] ?? e.k,
+}, $ke = (e) => e.map((e) => ({
+ name: Qke[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), $ke = {
+})).sort((e, t) => t.value - e.value), eAe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, h3 = (e, t = {}) => e.map((e) => ({
+}, g3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), eAe = (e) => h3(e, $ke), tAe = [
+})), tAe = (e) => g3(e, eAe), nAe = [
[
1,
1,
@@ -73590,12 +73709,12 @@ var Jke = (e) => Math.max(1, ...e) * 1.1, Yke = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], nAe = (e) => tAe.map(([t, n, r]) => ({
+], rAe = (e) => nAe.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 g3(e, t) {
+function _3(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 {
@@ -73605,7 +73724,7 @@ function g3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function _3(e, t) {
+function v3(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 {
@@ -73615,7 +73734,7 @@ function _3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function v3(e, t) {
+function y3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -73625,64 +73744,64 @@ function v3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function rAe(e, t) {
+function iAe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function y3(e) {
+function b3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
-function b3(e, t) {
- return S3(e.source, t.source) || e.index - t.index;
-}
function x3(e, t) {
- return S3(e.target, t.target) || e.index - t.index;
+ return C3(e.source, t.source) || e.index - t.index;
}
function S3(e, t) {
+ return C3(e.target, t.target) || e.index - t.index;
+}
+function C3(e, t) {
return e.y0 - t.y0;
}
-function C3(e) {
+function w3(e) {
return e.value;
}
-function iAe(e) {
+function aAe(e) {
return e.index;
}
-function aAe(e) {
+function oAe(e) {
return e.nodes;
}
-function oAe(e) {
+function sAe(e) {
return e.links;
}
-function w3(e, t) {
+function T3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function T3({ nodes: e }) {
+function E3({ 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 sAe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = iAe, c = rAe, l, u, d = aAe, f = oAe, p = 6;
+function cAe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = aAe, c = iAe, l, u, d = oAe, f = sAe, 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), T3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), E3(e), e;
}
m.update = function(e) {
- return T3(e), e;
+ return E3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : b3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : b3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -73690,9 +73809,9 @@ function sAe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : b3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : b3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -73708,12 +73827,12 @@ function sAe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = T3(n, t)), typeof i != "object" && (i = r.target = T3(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(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(y3(t.sourceLinks, w3), y3(t.targetLinks, w3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -73738,7 +73857,7 @@ function sAe() {
}
}
function y({ nodes: t }) {
- let r = g3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = _3(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];
@@ -73747,7 +73866,7 @@ function sAe() {
return o;
}
function b(e) {
- let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));
+ let n = v3(e, (e) => (r - t - (e.length - 1) * o) / y3(e, w3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -73764,7 +73883,7 @@ function sAe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (g3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (_3(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);
@@ -73783,7 +73902,7 @@ function sAe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(S3), w(i, n);
+ l === void 0 && i.sort(C3), w(i, n);
}
}
function C(e, t, n) {
@@ -73799,7 +73918,7 @@ function sAe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(S3), w(i, n);
+ l === void 0 && i.sort(C3), w(i, n);
}
}
function w(e, n) {
@@ -73820,12 +73939,12 @@ function sAe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(x3);
- for (let { target: { targetLinks: t } } of e) t.sort(b3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(S3);
+ for (let { target: { targetLinks: t } } of e) t.sort(x3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(S3), n.sort(x3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -73854,15 +73973,15 @@ function sAe() {
return m;
}
// node_modules/d3-path/src/path.js
-var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, cAe = D3 - O3;
-function k3() {
+var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, lAe = O3 - k3;
+function A3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function A3() {
- return new k3();
+function j3() {
+ return new A3();
}
-k3.prototype = A3.prototype = {
- constructor: k3,
+A3.prototype = j3.prototype = {
+ constructor: A3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -73883,11 +74002,11 @@ k3.prototype = A3.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 > O3) {
- if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > k3) {
+ if (!(Math.abs(u * s - c * l) > k3) || !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((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > O3 && (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((D3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > k3 && (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);
}
}
},
@@ -73895,7 +74014,7 @@ k3.prototype = A3.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) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > cAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + 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) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > lAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + 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";
@@ -73905,93 +74024,93 @@ k3.prototype = A3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function j3(e) {
+function M3(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function lAe(e) {
+function uAe(e) {
return e[0];
}
-function uAe(e) {
+function dAe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var dAe = Array.prototype.slice;
+var fAe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function fAe(e) {
+function pAe(e) {
return e.source;
}
-function pAe(e) {
+function mAe(e) {
return e.target;
}
-function mAe(e) {
- var t = fAe, n = pAe, r = lAe, i = uAe, a = null;
+function hAe(e) {
+ var t = pAe, n = mAe, r = uAe, i = dAe, a = null;
function o() {
- var o, s = dAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = A3(), 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 = fAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = j3(), 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 : j3(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : M3(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : M3(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function hAe(e, t, n, r, i) {
+function gAe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function gAe() {
- return mAe(hAe);
+function _Ae() {
+ return hAe(gAe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function _Ae(e) {
+function vAe(e) {
return [e.source.x1, e.y0];
}
-function vAe(e) {
+function yAe(e) {
return [e.target.x0, e.y1];
}
-function yAe() {
- return gAe().source(_Ae).target(vAe);
+function bAe() {
+ return _Ae().source(vAe).target(yAe);
}
// src/react/taste/taste.ts
-var bAe = "/api/taste", M3 = "/api/taste/refresh", xAe = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], SAe = ["taste", "refresh"], CAe = [
+var xAe = "/api/taste", N3 = "/api/taste/refresh", SAe = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], CAe = ["taste", "refresh"], wAe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], wAe = 2e3, TAe = (e) => e?.stale && !e.error ? wAe : !1, EAe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], TAe = 2e3, EAe = (e) => e?.stale && !e.error ? TAe : !1, DAe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", DAe = (e, t) => V(N3, {
+}) : "—", OAe = (e, t) => V(P3, {
...e,
window: t
-}), F3 = (e, t, n = !1) => B(`${bAe}?window=${e}${n ? "&retry=1" : ""}`, t), OAe = (e) => B(M3, e);
-async function kAe(e, t) {
+}), I3 = (e, t, n = !1) => B(`${xAe}?window=${e}${n ? "&retry=1" : ""}`, t), kAe = (e) => B(N3, e);
+async function AAe(e, t) {
await H.fetchQuery({
- queryKey: P3(e),
- queryFn: () => F3(e, t)
+ queryKey: F3(e),
+ queryFn: () => I3(e, t)
});
}
-var AAe = (e) => V(M3, {
+var jAe = (e) => V(N3, {
window: e,
background: !0
-}), jAe = (e, t) => V(N3, {
+}), MAe = (e, t) => V(P3, {
operation: "remove",
source_key: e,
window: t
});
-async function MAe(e) {
- let t = await fetch(xAe, {
+async function NAe(e) {
+ let t = await fetch(SAe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -74009,52 +74128,52 @@ async function MAe(e) {
}
return n;
}
-var NAe = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function PAe(e) {
+var PAe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function FAe(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"
- }) : I3(e);
+ }) : L3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var FAe = f3, IAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), LAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function RAe(e) {
+var IAe = p3, LAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), RAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function zAe(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 zAe(e) {
- let t = e.map(LAe), n = Math.max(1, ...t);
+function BAe(e) {
+ let t = e.map(RAe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var L3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var R3 = (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 BAe(e) {
- let t = L3(e, 6);
+function VAe(e) {
+ let t = R3(e, 6);
return t.length < 3 ? [] : t;
}
-var R3 = {
+var z3 = {
width: 720,
height: 435
-}, VAe = {
+}, HAe = {
source: 145,
target: 545
-}, z3 = 30, HAe = 240;
-function B3(e, t, n) {
+}, B3 = 30, UAe = 240;
+function V3(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 UAe(e = []) {
+function WAe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(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, {
@@ -74063,7 +74182,7 @@ function UAe(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) * z3 + HAe), u = sAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).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) * B3 + UAe), u = cAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -74078,7 +74197,7 @@ function UAe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = yAe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = bAe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -74106,16 +74225,16 @@ function UAe(e = []) {
};
}),
total: d,
- height: l + R3.height - 404
+ height: l + z3.height - 404
};
}
-var WAe = (e) => In(e, 17), V3 = {
+var GAe = (e) => In(e, 17), H3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, GAe = [[
+}, KAe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -74123,7 +74242,7 @@ var WAe = (e) => In(e, 17), V3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], KAe = [[
+]], qAe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -74131,7 +74250,7 @@ var WAe = (e) => In(e, 17), V3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], qAe = [[
+]], JAe = [[
"studios",
"厂牌",
"clapperboard"
@@ -74139,7 +74258,7 @@ var WAe = (e) => In(e, 17), V3 = {
"agencies",
"事务所",
"briefcase"
-]], JAe = [[
+]], YAe = [[
"local",
"本地",
"hard-drive"
@@ -74147,7 +74266,7 @@ var WAe = (e) => In(e, 17), V3 = {
"online",
"在线",
"rss"
-]], YAe = [
+]], XAe = [
[
"performers",
"艺人",
@@ -74163,7 +74282,7 @@ var WAe = (e) => In(e, 17), V3 = {
"在线",
"rss"
]
-], XAe = [[
+], ZAe = [[
"cloud",
"标签云",
"tags"
@@ -74171,8 +74290,8 @@ var WAe = (e) => In(e, 17), V3 = {
"alphabet",
"字母表",
"text-aa"
-]], H3 = (e) => e === "compact" ? "compact" : "big";
-function U3(e, t) {
+]], U3 = (e) => e === "compact" ? "compact" : "big";
+function W3(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -74182,7 +74301,7 @@ function U3(e, t) {
category: n.get("category") || "all"
};
}
-var W3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({
+var G3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -74190,12 +74309,12 @@ var W3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), ZAe = (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">
+}), QAe = (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">${jc("tag-view", "标签视图", XAe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function QAe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? jc("people-layout", o + "索引版式", c ? KAe : GAe, a) : "";
+ <span class="ml-auto">${jc("tag-view", "标签视图", ZAe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function $Ae({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? jc("people-layout", o + "索引版式", c ? qAe : KAe, 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}
@@ -74207,8 +74326,8 @@ function QAe({ 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">${ss("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? W3(JAe, n, "词表") : e === "performers" || e === "creators" ? W3(YAe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(qAe, e, "公司类型") : ""}
- ${e === "tags" ? ZAe(r) : ""}
+ ${e === "tags" ? G3(YAe, n, "词表") : e === "performers" || e === "creators" ? G3(XAe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(JAe, e, "公司类型") : ""}
+ ${e === "tags" ? QAe(r) : ""}
${e === "performers" && n !== "online" ? Yxe(i) : ""}
${Rs({
kind: e,
@@ -74216,15 +74335,15 @@ function QAe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
mode: r
})}`;
}
-var $Ae = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function G3(e, t, n) {
- let r = QAe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== $Ae(r) && (e.innerHTML = r, Gs(e));
+var eje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function K3(e, t, n) {
+ let r = $Ae(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== eje(r) && (e.innerHTML = r, Gs(e));
}
// src/react/router/pages/index-entity.tsx
-var eje = () => cu, tje = () => ql, K3 = () => document.getElementById("index");
-function q3(e, t, n = {}) {
- let r = (0, P.useSyncExternalStore)(yu, eje);
+var tje = () => cu, nje = () => ql, q3 = () => document.getElementById("index");
+function J3(e, t, n = {}) {
+ let r = (0, P.useSyncExternalStore)(yu, tje);
RB();
let i = vV(ZV.navigation.location.pathname), a = (0, P.useRef)({
mounted: !0,
@@ -74272,13 +74391,13 @@ function q3(e, t, n = {}) {
i
]);
}
-async function nje(e, t, n, r) {
- let i = K3();
+async function rje(e, t, n, r) {
+ let i = q3();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = U3(t, n), s = H3(nA().value.peopleLayout);
- G3(i, o, s), await BV(a, {
+ let o = W3(t, n), s = U3(xA().value.peopleLayout);
+ K3(i, o, s), await BV(a, {
...o,
layout: s,
selectMode: ql,
@@ -74288,23 +74407,23 @@ async function nje(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function rje(e) {
- let t = K3(), n = t ? IV(t) : null;
+function ije(e) {
+ let t = q3(), n = t ? IV(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function ije({ epoch: e }) {
- let t = (0, P.useContext)(TU), n = RB(), r = n.pathname.split("/").filter(Boolean)[0];
- return q3(e, (e, i) => {
- t && nje(t, r, n.search, i);
- }, { shown: () => rje(`/${r}`) }), null;
+function aje({ epoch: e }) {
+ let t = (0, P.useContext)(EU), n = RB(), r = n.pathname.split("/").filter(Boolean)[0];
+ return J3(e, (e, i) => {
+ t && rje(t, r, n.search, i);
+ }, { shown: () => ije(`/${r}`) }), null;
}
-function aje() {
- let e = wU(), t = (0, P.useSyncExternalStore)(yu, tje), n = (0, P.useRef)(t);
+function oje() {
+ let e = TU(), t = (0, P.useSyncExternalStore)(yu, nje), n = (0, P.useRef)(t);
return (0, P.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && VV(K3(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, F.jsx)(ije, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && VV(q3(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, F.jsx)(aje, { epoch: e }, e);
}
-function J3(e) {
+function Y3(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -74318,9 +74437,9 @@ function J3(e) {
name: a
} : null;
}
-var Y3 = /* @__PURE__ */ new WeakMap();
-function oje(e) {
- let t = Y3.get(e);
+var X3 = /* @__PURE__ */ new WeakMap();
+function sje(e) {
+ let t = X3.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -74330,14 +74449,14 @@ function oje(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, Y3.set(e, t)), t;
+ }, X3.set(e, t)), t;
}
-function X3() {
- let e = K3(), t = e ? IV(e) : null;
+function Z3() {
+ let e = q3(), t = e ? IV(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function sje(e, t, n, r, i, a, o) {
- let s = K3();
+async function cje(e, t, n, r, i, a, o) {
+ let s = q3();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;
@@ -74351,7 +74470,7 @@ async function sje(e, t, n, r, i, a, o) {
}, h = t.props(l, u, i), g = {
...h,
hosts: m,
- card: oje(e),
+ card: sje(e),
resolvedEntity: o,
actions: {
...h.actions,
@@ -74364,14 +74483,14 @@ async function sje(e, t, n, r, i, a, o) {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({
+ }) && a() && Z3() && (e.surfaceShown?.("entity", r), window.scrollTo({
top: 0,
behavior: "smooth"
}));
}
-function cje({ target: e }) {
- let t = (0, P.useContext)(TU), n = wU(), r = RB();
- return q3(n, (n, i) => {
+function lje({ target: e }) {
+ let t = (0, P.useContext)(EU), n = TU(), r = RB();
+ return J3(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
let o = new URLSearchParams({ kind: e.kind });
@@ -74398,7 +74517,7 @@ function cje({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = hn(e.kind, c, Number(s.id));
- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && sje(t, a, {
+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && cje(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : QV(l + r.search + r.hash, {
@@ -74406,14 +74525,14 @@ function cje({ target: e }) {
state: ZV.navigation.location.state
});
})();
- }, { shown: () => X3() && !K3()?.hidden }), null;
+ }, { shown: () => Z3() && !q3()?.hidden }), null;
}
-function lje() {
- let e = J3(RB().pathname);
- return e ? /* @__PURE__ */ (0, F.jsx)(cje, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function uje() {
+ let e = Y3(RB().pathname);
+ return e ? /* @__PURE__ */ (0, F.jsx)(lje, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/jav/jav-header.tsx
-function Z3({ tab: e, navigate: t, find: n }) {
+function Q3({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -74427,45 +74546,45 @@ function Z3({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, F.jsx)(LQ, {
- tabs: x$.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, F.jsx)(RQ, {
+ tabs: S$.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(tTe(e))
+ onChange: (e) => t(eTe(e))
})]
});
}
-function uje({ navigate: e, receipt: t }) {
+function dje({ navigate: e, receipt: t }) {
let [n, r] = (0, P.useState)(null);
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Z3, {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Q3, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, F.jsx)(q2, {
+ }), /* @__PURE__ */ (0, F.jsx)(J2, {
prefill: n,
close: () => r(null),
receipt: t
})] });
}
// src/react/router/pages/catalog.tsx
-var dje = () => cu, Q3 = ZV.navigation.seq, $3 = ZV.navigation.openEpoch, e6 = ZV.navigation.location.pathname, t6 = {
- seq: Q3,
+var fje = () => cu, $3 = ZV.navigation.seq, e6 = ZV.navigation.openEpoch, t6 = ZV.navigation.location.pathname, n6 = {
+ seq: $3,
claimed: !0,
- from: e6
+ from: t6
};
ZV.listen((e) => {
- t6 = {
+ n6 = {
seq: e.seq,
- claimed: e.openEpoch === $3,
- from: e6
- }, $3 = e.openEpoch, e6 = e.location.pathname;
+ claimed: e.openEpoch === e6,
+ from: t6
+ }, e6 = e.openEpoch, t6 = e.location.pathname;
});
-var n6 = !1;
-function r6(e) {
+var r6 = !1;
+function i6(e) {
let { seq: t, openEpoch: n, location: r } = ZV.navigation, i = vV(r.pathname), a = eH() ?? r, o = U ?? {};
return {
seq: t,
@@ -74477,7 +74596,7 @@ function r6(e) {
opened: e
};
}
-function fje(e, t, n, r) {
+function pje(e, t, n, r) {
let i = { ...U };
if (e === "/trash") return {
...i,
@@ -74488,7 +74607,7 @@ function fje(e, t, n, r) {
state: "trash",
q: ""
};
- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = nA().value;
+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = xA().value;
return {
...i,
loc: a.get("loc") ?? r.defaultLoc(),
@@ -74502,7 +74621,7 @@ function fje(e, t, n, r) {
dur_max: a.get("dur_max") || "",
orient: a.get("orient") || "",
state: un[e] || a.get("state") || "",
- ...Lk(a.get("sort"), a.get("dir"), o, s),
+ ...tA(a.get("sort"), a.get("dir"), o, s),
seed: a.get("seed") || (n ? zn() : i.seed || zn()),
q: a.get("q") || "",
jav: a.get("jav") || "",
@@ -74513,8 +74632,8 @@ function fje(e, t, n, r) {
folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""
};
}
-function pje(e, t) {
- let n = { ...e }, r = r6(n.opened);
+function mje(e, t) {
+ let n = { ...e }, r = i6(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -74529,41 +74648,41 @@ function pje(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = ZV.navigation.action === "POP" && t6.from !== "/");
+ r.epoch !== n.epoch && (a = ZV.navigation.action === "POP" && n6.from !== "/");
}
let { pathname: o, search: s } = ZV.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = s$(s);
- n6 = !0, QV(c$(e, t), { replace: !0 });
+ let { kind: e, view: t } = c$(s);
+ r6 = !0, QV(l$(e, t), { replace: !0 });
return;
}
- let c = n6;
- n6 = !1, a &&= o === "/", e.opened = !0, _u({ state: fje(o, s, a, i) }), i.open(o, {
+ let c = r6;
+ r6 = !1, a &&= o === "/", e.opened = !0, _u({ state: pje(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function mje(e) {
- return fn(e) || e === "/trash" || vV(e) || e === "/immerse" || !!J3(e);
+function hje(e) {
+ return fn(e) || e === "/trash" || vV(e) || e === "/immerse" || !!Y3(e);
}
-function hje() {
- let e = (0, P.useContext)(TU), t = wU(), n = (0, P.useSyncExternalStore)(yu, dje), r = RB(), i = (0, P.useRef)(null), a = (0, P.useRef)({
+function gje() {
+ let e = (0, P.useContext)(EU), t = TU(), n = (0, P.useSyncExternalStore)(yu, fje), r = RB(), i = (0, P.useRef)(null), a = (0, P.useRef)({
mounted: !0,
queued: !1
});
return (0, P.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = r6(!vV(ZV.navigation.location.pathname));
- return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
+ let n = i6(!vV(ZV.navigation.location.pathname));
+ return !n.covered && n.opens > 0 && (r6 || n6.seq === $3 ? n.opens = -1 : n6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !mje(ZV.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !hje(ZV.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, P.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && pje(i.current, e);
+ t.queued = !1, t.mounted && i.current && mje(i.current, e);
}));
}, [
t,
@@ -74572,7 +74691,7 @@ function hje() {
e
]), null;
}
-function i6() {
+function a6() {
let { pathname: e, search: t } = RB();
(0, P.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -74586,36 +74705,36 @@ function i6() {
});
};
}, [e]);
- let n = (0, P.useContext)(TU), r = document.getElementById("javLibraryHeader"), i = fn(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, P.useContext)(EU), r = document.getElementById("javLibraryHeader"), i = fn(e) && new URLSearchParams(t).get("jav") === "1";
return (0, P.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
}, [r, i]), vV(e) && !_V(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(hje, {}, e === "/junk-files" ? "/junk-files" : "/"),
- fn(e) ? /* @__PURE__ */ (0, F.jsx)(NU, {}) : null,
- i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(uje, {
+ /* @__PURE__ */ (0, F.jsx)(gje, {}, e === "/junk-files" ? "/junk-files" : "/"),
+ fn(e) ? /* @__PURE__ */ (0, F.jsx)(PU, {}) : null,
+ i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(dje, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null
] });
}
// src/react/router/pages/follow.tsx
-var a6 = () => document.getElementById("stats"), gje = () => mu;
-function _je(e) {
+var o6 = () => document.getElementById("stats"), _je = () => mu;
+function vje(e) {
let t = document.createElement("div");
return t.className = "peach-react", Is(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function vje(e, t) {
- let n = a6(), r = e.follow;
+async function yje(e, t) {
+ let n = o6(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = pu;
- e.surfaceChanged("follow", "/follow"), u2(n, r.skeleton()), await BV("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), d2(n, r.skeleton()), await BV("/follow", r.props(), {
container: n,
isCurrent: t,
- place: _je
+ place: vje
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -74624,28 +74743,28 @@ async function vje(e, t) {
behavior: "smooth"
});
}
-function yje() {
- let e = a6(), t = e ? IV(e) : null;
+function bje() {
+ let e = o6(), t = e ? IV(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function bje() {
- let e = (0, P.useContext)(TU);
- return q3(wU(), (t, n) => {
- e && vje(e, n);
+function xje() {
+ let e = (0, P.useContext)(EU);
+ return J3(TU(), (t, n) => {
+ e && yje(e, n);
}, {
- shown: yje,
+ shown: bje,
onCovered: () => {
ZV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function o6(e) {
+function s6(e) {
let t = e ? IV(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function xje(e, t) {
- let n = a6();
- n && (e.surfaceChanged("playlists", "/playlists"), u2(n, c2("/playlists", {
+async function Sje(e, t) {
+ let n = o6();
+ n && (e.surfaceChanged("playlists", "/playlists"), d2(n, l2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -74657,37 +74776,37 @@ async function xje(e, t) {
behavior: "smooth"
}));
}
-function Sje() {
- let e = (0, P.useContext)(TU), t = (0, P.useSyncExternalStore)(yu, gje), n = (0, P.useRef)(t);
+function Cje() {
+ let e = (0, P.useContext)(EU), t = (0, P.useSyncExternalStore)(yu, _je), n = (0, P.useRef)(t);
return (0, P.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = a6();
- o6(e) && VV(e, { revision: t });
- }, [t]), q3(wU(), (t, n) => {
- e && xje(e, n);
+ let e = o6();
+ s6(e) && VV(e, { revision: t });
+ }, [t]), J3(TU(), (t, n) => {
+ e && Sje(e, n);
}, { shown: () => {
- let e = a6();
- return o6(e) && !e.hidden;
+ let e = o6();
+ return s6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function Cje() {
+function wje() {
let e = new URLSearchParams(ZV.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function wje() {
- let e = (0, P.useContext)(TU);
- return SU(() => {
- e?.openImmerse(Cje());
+function Tje() {
+ let e = (0, P.useContext)(EU);
+ return CU(() => {
+ e?.openImmerse(wje());
}, !0), null;
}
-function Tje() {
- return /* @__PURE__ */ (0, F.jsx)(wje, {}, wU());
+function Eje() {
+ return /* @__PURE__ */ (0, F.jsx)(Tje, {}, TU());
}
// src/ui-kit/anchor-scroll.ts
-var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";
-async function c6(e, t) {
+var c6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";
+async function l6(e, t) {
let n;
try {
n = decodeURIComponent(e.slice(1));
@@ -74702,37 +74821,37 @@ async function c6(e, t) {
let r = document.getElementById(n);
r?.getClientRects().length && r.scrollIntoView({
block: "start",
- behavior: s6()
+ behavior: c6()
});
}
// src/react/router/pages/managed.tsx
-var Eje = () => cu > 0, l6 = () => (0, P.useSyncExternalStore)(yu, Eje), u6 = () => nA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);
-function Dje(e) {
- let t = d6();
- return c2(e, {
- followLayout: u6(),
+var Dje = () => cu > 0, u6 = () => (0, P.useSyncExternalStore)(yu, Dje), d6 = () => xA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
+function Oje(e) {
+ let t = f6();
+ return l2(e, {
+ followLayout: d6(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
}
-function f6(e) {
+function p6(e) {
return on("/healthz", { signal: e.controller.signal }).catch((e) => {
if (sn(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 Oje(e, t) {
+async function kje(e, t) {
if (e === "/jav") {
- let e = await f6(t);
+ let e = await p6(t);
return t.live ? {
- tab: S$(d6().get("tab")),
+ tab: C$(f6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -74743,35 +74862,35 @@ async function Oje(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && _u({ configurationRequestedSection: "网络与访问" });
- let t = d6().get("section") || au || lV(e);
+ let t = f6().get("section") || au || lV(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: MY(e) ? e : "",
- ...p6(n, "/review")
+ ...m6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = LZ("?" + d6().toString()), n = await f6(t);
+ let e = LZ("?" + f6().toString()), n = await p6(t);
if (!t.live) return null;
- let r = nA().value;
+ let r = xA().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: u6(),
- ...p6(n, "/subscriptions")
+ layout: d6(),
+ ...m6(n, "/subscriptions")
};
}
return {};
}
-var kje = () => {
+var Aje = () => {
window.scrollTo({
top: 0,
- behavior: s6()
+ behavior: c6()
});
-}, Aje = /* @__PURE__ */ new Set([
+}, jje = /* @__PURE__ */ new Set([
"/stats",
"/taste",
"/review",
@@ -74779,17 +74898,17 @@ var kje = () => {
"/tasks",
"/subscriptions"
]);
-async function jje(e, t, n) {
+async function Mje(e, t, n) {
let r = ZV.navigation.seq, i = () => n.live && ZV.navigation.seq === r;
- if (e === "/jav" && S$(d6().get("tab")) === "library") {
- ZV.replace(nTe(window.location.search));
+ if (e === "/jav" && C$(f6().get("tab")) === "library") {
+ ZV.replace(tTe(window.location.search));
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "wants") {
+ if (e === "/subscriptions" && f6().get("tab") === "wants") {
QV("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "source") {
+ if (e === "/subscriptions" && f6().get("tab") === "source") {
QV("/settings/subscriptions", { replace: !0 });
return;
}
@@ -74812,8 +74931,8 @@ async function jje(e, t, n) {
state: "",
q: "",
jav: ""
- } }), t.clearSearch()), u2(a, Dje(e));
- let o = await Oje(e, n);
+ } }), t.clearSearch()), d2(a, Oje(e));
+ let o = await kje(e, n);
if (!o) return;
let s = await BV(e, o, {
container: a,
@@ -74826,22 +74945,22 @@ async function jje(e, t, n) {
replace: !0,
state: null
});
- }) : t ? c6(t, i) : (Aje.has(e) || e === "/settings/library") && kje();
+ }) : t ? l6(t, i) : (jje.has(e) || e === "/settings/library") && Aje();
}
}
-function m6({ path: e }) {
- let t = wU();
+function h6({ path: e }) {
+ let t = TU();
RB();
let n = vV(ZV.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.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, F.jsx)(Mje, {
+ return /* @__PURE__ */ (0, F.jsx)(Nje, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function Mje({ path: e, covered: t }) {
- let n = (0, P.useContext)(TU), r = l6(), i = (0, P.useRef)(null);
+function Nje({ path: e, covered: t }) {
+ let n = (0, P.useContext)(EU), r = u6(), i = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
e.startsWith("/settings/") && VV(document.getElementById("stats"), { section: lV(e) });
}, [e]), (0, P.useEffect)(() => {
@@ -74852,7 +74971,7 @@ function Mje({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && jje(e, n, a);
+ a.live && Mje(e, n, a);
});
}, [r]), (0, P.useEffect)(() => () => {
let e = i.current;
@@ -74864,8 +74983,8 @@ function Mje({ path: e, covered: t }) {
});
}, []), null;
}
-function Nje() {
- let e = l6(), t = (0, P.useRef)(!1);
+function Pje() {
+ let e = u6(), t = (0, P.useRef)(!1);
return (0, P.useEffect)(() => {
if (!e || t.current || vV(ZV.navigation.location.pathname)) return;
t.current = !0;
@@ -74878,24 +74997,24 @@ function Nje() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var h6 = [], g6 = "peach.chunkReloadAt", Pje = 3e4;
-async function Fje() {
+var g6 = [], _6 = "peach.chunkReloadAt", Fje = 3e4;
+async function Ije() {
try {
- let e = Number(sessionStorage.getItem(g6) || 0);
- if (Date.now() - e < Pje || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(_6) || 0);
+ if (Date.now() - e < Fje || !(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 Fje(), e;
+ throw await Ije(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -74903,10 +75022,10 @@ function _6(e) {
}
};
}
-function Ije() {
+function Lje() {
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);
@@ -74915,31 +75034,31 @@ function Ije() {
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-C5uPjDXP.js")), b6 = _6(() => import("./peach-app.stats-page-BD7bt_Ub.js")), x6 = _6(() => import("./peach-app.taste-page-Ci4twLWz.js")), S6 = _6(() => import("./peach-app.review-page-Bdf4jFNP.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {
+var b6 = v6(() => import("./peach-app.jav-page-C5uPjDXP.js")), x6 = v6(() => import("./peach-app.stats-page-BD7bt_Ub.js")), S6 = v6(() => import("./peach-app.taste-page-Ci4twLWz.js")), C6 = v6(() => import("./peach-app.review-page-Bdf4jFNP.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-DwyqtX3v.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-Bji43uG_.js"), import("./peach-app.diagnostics-page-CZQmu5mE.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), O6 = _6(() => import("./peach-app.activity-page-DzMpq2eJ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function Lje(e, t, n) {
+}), k6 = v6(() => import("./peach-app.activity-page-DzMpq2eJ.js")), A6 = v6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function Rje(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, F.jsx)(m6, { path: e }),
- prefetch: (t, n) => v6(D6, Promise.all([WTe(n), ...e === "/settings/diagnostics" ? [mwe(n)] : []]).then(() => {})),
+var M6 = (e) => ({
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e }),
+ prefetch: (t, n) => y6(O6, Promise.all([GTe(n), ...e === "/settings/diagnostics" ? [pwe(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();
return /* @__PURE__ */ (0, F.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -74950,12 +75069,12 @@ var j6 = (e) => ({
})
});
}
-}), M6 = {
+}), N6 = {
"/jav": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/jav" }),
- prefetch: (e, t) => v6(y6, iTe(e.tab, t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/jav" }),
+ prefetch: (e, t) => y6(b6, rTe(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = y6.get();
+ let { JavPage: n } = b6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
...e,
navigate: t.navigate,
@@ -74964,10 +75083,10 @@ var j6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/stats" }),
- prefetch: (e, t) => v6(b6, Vke(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/stats" }),
+ prefetch: (e, t) => y6(x6, Hke(t)),
page: (e, t) => {
- let { StatsPage: n } = b6.get();
+ let { StatsPage: n } = x6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
tagLabel: Ml,
onTag: t.openTag
@@ -74975,10 +75094,10 @@ var j6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/taste" }),
- prefetch: (e, t) => v6(x6, kAe("all", t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/taste" }),
+ prefetch: (e, t) => y6(S6, AAe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = x6.get();
+ let { TastePage: r } = S6.get();
return /* @__PURE__ */ (0, F.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -74988,10 +75107,10 @@ var j6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/review" }),
- prefetch: (e, t) => v6(S6, Mbe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/review" }),
+ prefetch: (e, t) => y6(C6, Mbe(t)),
page: (e, t) => {
- let { ReviewPage: n } = S6.get();
+ let { ReviewPage: n } = C6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
...e,
route: t.routeReview,
@@ -75003,22 +75122,22 @@ var j6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/data-cleanup" }),
- prefetch: (e, t) => v6(C6, zxe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => y6(w6, zxe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = C6.get();
+ let { DataCleanupPage: r } = w6.get();
return /* @__PURE__ */ (0, F.jsx)(r, {
failure: t.failure,
- open: (e) => Lje(e, t, n),
+ open: (e) => Rje(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/duplicates" }),
- prefetch: (e, t) => v6(w6, Xye(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/duplicates" }),
+ prefetch: (e, t) => y6(T6, Xye(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = w6.get();
+ let { DuplicatesPage: n } = T6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -75027,46 +75146,46 @@ var j6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/quality-goals" }),
- prefetch: (e, t) => v6(T6, cbe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/quality-goals" }),
+ prefetch: (e, t) => y6(E6, cbe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = T6.get();
+ let { QualityGoalsPage: n } = E6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: LF,
- javDisplayName: IF,
+ javTitleHtml: wF,
+ javDisplayName: CF,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/sources" }),
- prefetch: (e, t) => v6(E6, PTe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/sources" }),
+ prefetch: (e, t) => y6(D6, FTe(t)),
page: (e, t) => {
- let { ScrapingPage: n } = E6.get();
+ let { ScrapingPage: n } = D6.get();
return /* @__PURE__ */ (0, F.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, F.jsx)(m6, { path: "/tasks" }),
- prefetch: (e, t) => v6(O6, Kle(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/tasks" }),
+ prefetch: (e, t) => y6(k6, aue(t)),
page: () => {
- let { ActivityPage: e } = O6.get();
+ let { ActivityPage: e } = k6.get();
return /* @__PURE__ */ (0, F.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/subscriptions" }),
- prefetch: (e, t) => v6(k6, yi(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/subscriptions" }),
+ prefetch: (e, t) => y6(A6, yi(t)),
page: (e, t) => {
- let { FollowManagePage: n } = k6.get();
+ let { FollowManagePage: n } = A6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -75076,12 +75195,12 @@ var j6 = (e) => ({
});
}
}
-}, N6 = (e) => Object.hasOwn(M6, e), Rje = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Nje, {}) } }, zje = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(Tje, {}) } }, P6 = {
+}, P6 = (e) => Object.hasOwn(N6, e), zje = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Pje, {}) } }, Bje = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(Eje, {}) } }, F6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, F.jsx)(Sje, {}),
- prefetch: (e, t) => v6(A6, vTe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(Cje, {}),
+ prefetch: (e, t) => y6(j6, yTe(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = A6.get();
+ let { PlaylistsPage: n } = j6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -75092,14 +75211,14 @@ var j6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, F.jsx)(bje, {}),
+ element: /* @__PURE__ */ (0, F.jsx)(xje, {}),
prefetch: (e, t) => Vi(e, t),
page: (e) => /* @__PURE__ */ (0, F.jsx)(qSe, { ...e })
}
-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {
- element: /* @__PURE__ */ (0, F.jsx)(aje, {}),
+}, I6 = (e) => Object.hasOwn(F6, e), L6 = {
+ element: /* @__PURE__ */ (0, F.jsx)(oje, {}),
prefetch: (e, t) => oSe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, F.jsx)(kwe, {
+ page: (e, t) => /* @__PURE__ */ (0, F.jsx)(Owe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -75112,81 +75231,81 @@ var j6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, L6 = {
- "/performers": I6,
- "/creators": I6,
- "/studios": I6,
- "/agencies": I6,
- "/tags": I6
}, R6 = {
- element: /* @__PURE__ */ (0, F.jsx)(lje, {}),
- prefetch: (e) => Jxe(e),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(lwe, { ...e })
+ "/performers": L6,
+ "/creators": L6,
+ "/studios": L6,
+ "/agencies": L6,
+ "/tags": L6
}, z6 = {
- "/performers/*": R6,
- "/studios/*": R6,
- "/creators/*": R6,
- "/series/*": R6,
- "/agencies/*": R6,
- "/tags/*": R6
+ element: /* @__PURE__ */ (0, F.jsx)(uje, {}),
+ prefetch: (e) => Jxe(e),
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(cwe, { ...e })
}, B6 = {
+ "/performers/*": z6,
+ "/studios/*": z6,
+ "/creators/*": z6,
+ "/series/*": z6,
+ "/agencies/*": z6,
+ "/tags/*": z6
+}, V6 = {
"/": {
- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),
- prefetch: (e, t) => hce(e, t),
+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),
+ prefetch: (e, t) => UM(e, t),
page: (e) => /* @__PURE__ */ (0, F.jsx)(fY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),
+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, F.jsx)(Wwe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(Uwe, { ...e })
}
-}, V6 = (e) => Object.hasOwn(B6, e), Bje = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(pge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(B$, { ...e }), H6 = {
+}, H6 = (e) => Object.hasOwn(V6, e), Vje = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(fge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(V$, { ...e }), U6 = {
"catalog-filter": {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, F.jsx)(TW, { ...e })
},
"feed-new": {
prefetch: (e) => Wxe(e),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(hwe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(mwe, { ...e })
},
"library-processing": {
prefetch: (e, t) => xH(t),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(Bje, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(Vje, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, F.jsx)(BTe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(VTe, { ...e })
}
-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {
+}, W6 = (e) => Object.hasOwn(U6, e), G6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(Roe, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(boe, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(bse, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(tse, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(Ole, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(Vle, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(XN, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(Lce, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(lEe, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(uEe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(CEe, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(wEe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(zke, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(Bke, {})
}
-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [
+}, K6 = (e) => Object.hasOwn(G6, e), q6 = [
"/",
"/wall",
"/unseen",
@@ -75196,99 +75315,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 Vje(e, t, n) {
- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function Hje(e, t, n) {
+ return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function Hje(e, t, n, r) {
- return J6(e).page(t, n, r);
+function Uje(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 Uje(e) {
- return Y6 = e, X6 && e(X6), () => {
- Y6 === e && (Y6 = null);
+var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();
+function Wje(e) {
+ return X6 = e, Z6 && e(Z6), () => {
+ X6 === e && (X6 = null);
};
}
-function Wje(e) {
- return Y6 && (X6 = e, Y6(e), Jme(Promise.resolve(Vje)), Ije()), Promise.resolve();
+function Gje(e) {
+ return X6 && (Z6 = e, X6(e), Jme(Promise.resolve(Hje)), Lje()), Promise.resolve();
}
-async function $6(e, t, n = (e) => e) {
- let r = Z6;
- if (t.isConnected || Q6.add(t), !await BV(e, {}, {
+async function e8(e, t, n = (e) => e) {
+ let r = Q6;
+ if (t.isConnected || $6.add(t), !await BV(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!Y6 && r === Z6,
+ isCurrent: () => !!X6 && r === Q6,
place: () => n(t)
- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");
-}
-function Gje() {
- 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(), qQ();
-}
-var e8 = null, t8 = null;
-function n8(e) {
- return e8 ??= (async () => {
- let t = Rke(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 Kje(e) {
- return i8 ??= (async () => {
- let t = YN(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 Kje() {
+ 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(), JQ();
+}
+var t8 = null, n8 = null;
+function r8(e) {
+ return t8 ??= (async () => {
+ let t = zke(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 qje(e) {
- return s8 ??= (async () => {
- let t = cEe(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 = Ice(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 Jje(e) {
- return u8 ??= (async () => {
- let t = SEe(e);
- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;
- })(), u8;
+ return c8 ??= (async () => {
+ let t = lEe(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 Yje(e) {
- return p8 ??= (async () => {
- let t = Dle(e);
- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;
- })(), p8;
+ return d8 ??= (async () => {
+ let t = CEe(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 Xje(e) {
- return g8 ??= (async () => {
- let t = Loe(e);
- return await $6("batch-dock", e.root), _8 = t, t;
- })(), g8;
+ return m8 ??= (async () => {
+ let t = Ble(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 Zje(e) {
- return y8 ??= (async () => {
- yse(e), await $6("glow-picker", e.root);
- })(), y8;
+ return _8 ??= (async () => {
+ let t = yoe(e);
+ return await e8("batch-dock", e.root), v8 = t, t;
+ })(), _8;
}
-function b8(e, t, n, r) {
- JQ(e, t), YQ(n, r);
+var y8 = () => v8, b8 = null;
+function Qje(e) {
+ return b8 ??= (async () => {
+ ese(e), await e8("glow-picker", e.root);
+ })(), b8;
+}
+function x8(e, t, n, r) {
+ YQ(e, t), XQ(n, r);
}
// src/application/effects.ts
-var x8 = class {
+var S8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -75369,12 +75488,12 @@ var x8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, J = new x8();
-function Qje() {
- return J.dispose(), J = new x8(), J;
+}, J = new S8();
+function $je() {
+ return J.dispose(), J = new S8(), J;
}
// src/application/receipts.js
-var S8 = {
+var C8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -75384,13 +75503,13 @@ var S8 = {
rollSeed: void 0,
seededSample: void 0
};
-function $je() {
- JQ(L("#toasts"), {
+function eMe() {
+ YQ(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(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) => {
- Mo(i || (t ? "error" : "success")), b8(L("#toasts"), {
+ }), C8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), C8.toastSeq = 0, C8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++C8.toastSeq}`, o = (e, t, n, r) => {
+ Mo(i || (t ? "error" : "success")), x8(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -75405,13 +75524,13 @@ function $je() {
} : null
});
};
- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };
- }, S8.liftToastsOverTutorial = () => {
+ return o(C8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(C8.toastBody(e), t, n, null) };
+ }, C8.liftToastsOverTutorial = () => {
let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;
e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);
- }, J.resize(S8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ }, J.resize(C8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", C8.liftToastsOverTutorial), C8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = S8.toast({ text: e }, {
+ return r = C8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -75424,14 +75543,14 @@ function $je() {
}
} : null
}), r;
- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => zn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, C8.actionFailure = (e, t) => C8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), C8.rollSeed = () => zn(), C8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => Rn(n, r(e)) - Rn(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var eMe = [
+var tMe = [
"loc",
"creator",
"studio",
@@ -75451,10 +75570,10 @@ var eMe = [
"folder",
"folder_recursive"
];
-function C8(e, t, n, r = n.defaultSort) {
- return Lk(e, t, n.defaultSort, n.defaultSortDirection, r);
+function w8(e, t, n, r = n.defaultSort) {
+ return tA(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function tMe(e, t, n) {
+function nMe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = fn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -75469,7 +75588,7 @@ function tMe(e, t, n) {
orient: o("orient") || "",
region: o("region") || "",
state: un[r] || o("state") || "",
- ...C8(o("sort"), o("dir"), t),
+ ...w8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -75479,18 +75598,18 @@ function tMe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function nMe(e, t) {
+function rMe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function rMe(e) {
+function iMe(e) {
let t = ln[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of eMe) {
+ for (let t of tMe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === Pk(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Qk(e.sort ?? "") || n.set(t, r);
}
return !ln[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function iMe(e, t, n) {
+function aMe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -75505,7 +75624,7 @@ function iMe(e, t, n) {
region: "",
state: "",
sort: t.defaultSort,
- dir: Ik(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: eA(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -75515,7 +75634,7 @@ function iMe(e, t, n) {
folder_recursive: ""
};
}
-function w8(e) {
+function T8(e) {
return {
state: e,
barsContext: {
@@ -75526,7 +75645,7 @@ function w8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var aMe = class {
+var oMe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -75571,44 +75690,44 @@ var aMe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, T8 = 3e4, E8 = 0, oMe = (e, t = E8) => [
+}, E8 = 3e4, D8 = 0, sMe = (e, t = D8) => [
"facets",
e,
t
-], sMe = (e, t, n = E8) => [
+], cMe = (e, t, n = D8) => [
"tops",
e,
t,
n
-], cMe = (e, t = E8) => [
+], lMe = (e, t = D8) => [
"tops",
e,
t
];
-async function D8(e) {
+async function O8(e) {
let t = String(e), n = await on(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await on(`/api/tops?${r}`));
}
-function lMe(e, t) {
+function uMe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: oMe(e),
+ queryKey: sMe(e),
queryFn: () => on(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: T8
+ staleTime: E8
}), H.fetchQuery({
- queryKey: sMe(t, e),
- queryFn: () => D8(t),
- staleTime: T8
+ queryKey: cMe(t, e),
+ queryFn: () => O8(t),
+ staleTime: E8
})]);
}
-function uMe(e) {
+function dMe(e) {
return H.fetchQuery({
- queryKey: cMe(e),
- queryFn: () => D8(e),
- staleTime: T8
+ queryKey: lMe(e),
+ queryFn: () => O8(e),
+ staleTime: E8
});
}
-function O8() {
- E8 += 1;
+function k8() {
+ D8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -75619,7 +75738,7 @@ function O8() {
});
}
// src/application/navigation-items.ts
-var k8 = [
+var A8 = [
[
"",
"首页",
@@ -75670,7 +75789,7 @@ var k8 = [
"管理",
"wrench"
]
-], A8 = [
+], j8 = [
[
"stats",
"统计",
@@ -75716,18 +75835,18 @@ var k8 = [
"Peach 配置",
"folder-cog"
]
-], j8 = [
+], M8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], dMe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], fMe = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), fMe = [...k8, ...M8], pMe = {
+]]), pMe = [...A8, ...N8], mMe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -75735,18 +75854,18 @@ var k8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, N8 = [
+}, P8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function F8({ 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 F8(e, t, n) {
+function I8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: Za(e.k, r ? {
@@ -75759,20 +75878,20 @@ function F8(e, t, n) {
face: $a(e.avatar_focus)
};
}
-function I8(e) {
+function L8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Sa({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function mMe(e) {
+function hMe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(ua(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(P8(t), n);
+ e.route(F8(t), n);
},
- personAvatar: F8,
- authorAvatar: I8,
+ personAvatar: I8,
+ authorAvatar: L8,
openFollowAuthor(n) {
t(da(e.followView(), n));
},
@@ -75782,7 +75901,7 @@ function mMe(e) {
};
}
// src/application/source-action.ts
-function hMe(e) {
+function gMe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -75797,36 +75916,36 @@ function hMe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var L8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function R8(e, t) {
- let n = new URLSearchParams(e), r = L8();
+var R8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function z8(e, t) {
+ let n = new URLSearchParams(e), r = R8();
for (let e of PX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Lk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...tA(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function z8(e) {
+function B8(e) {
let t = new URLSearchParams();
- for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Pk(e.sort || "") || t.set(n, e[n]);
+ for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Qk(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function B8(e) {
+function V8(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 V8(e, t) {
- let n = new URLSearchParams(z8(e));
+function H8(e, t) {
+ let n = new URLSearchParams(B8(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 gMe(e, t, n, r) {
- let i = V8(n, r);
+function _Me(e, t, n, r) {
+ let i = H8(n, r);
return hn(e, t) + (i ? `?${i}` : "");
}
-function _Me() {
+function vMe() {
let e = "";
return {
fresh(t, n) {
@@ -75835,22 +75954,22 @@ function _Me() {
read(t, n, r, i) {
let a = e === hn(t, n) && !r;
e = "";
- let o = a ? L8() : { ...R8(r, i) };
+ let o = a ? R8() : { ...z8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : B8(r)
+ } : V8(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function vMe(e, t) {
+function yMe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function yMe(e) {
+function bMe(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);
@@ -75872,12 +75991,12 @@ function yMe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function bMe(e, t, n) {
+function xMe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(gMe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(_Me(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -75891,7 +76010,7 @@ function bMe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : L8();
+ return n?.kind === t && n.name === a ? n.filters : R8();
}, l = {
...n,
route: (e, n) => {
@@ -75904,7 +76023,7 @@ function bMe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = Fk(e, n.sort || "new", n.dir || "");
+ let n = c(), i = $k(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -75955,7 +76074,7 @@ function bMe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function xMe(e) {
+function SMe(e) {
return async (t, n, r) => {
!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -75963,7 +76082,7 @@ function xMe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function SMe(e, t) {
+function CMe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? Xa({
kind: e,
id: t.id,
@@ -75985,11 +76104,11 @@ function SMe(e, t) {
return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Sa({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function CMe(e) {
- let t = _Me(), n = {
+function wMe(e) {
+ let t = vMe(), n = {
...e.helpers,
- portraitImg: SMe
- }, r = bMe(e.controller, n, e.actions);
+ portraitImg: CMe
+ }, r = xMe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -75998,12 +76117,12 @@ function CMe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: xMe(e.loading),
- photos: yMe(e.photos)
+ loading: SMe(e.loading),
+ photos: bMe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function wMe(e) {
+function TMe(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="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : Za(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(hn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -76011,7 +76130,7 @@ function wMe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var H8 = {
+var U8 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -76027,56 +76146,56 @@ var H8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function U8(e) {
+function W8(e) {
return e.has_cover ? no(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Ss("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : no(e, "big").replace(/ src="[^"]*"/, ` src="${z(Ka(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function TMe(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? LF({
+function EMe(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? wF({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${dA}">${n}
+ ${a}<div class="pic" style="--card-ratio:${AA}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>
- <div class="meta">${wMe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${TMe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function EMe() {
+function DMe() {
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;
- H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));
+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));
} catch {}
}
-async function W8() {
+async function G8() {
let e = J, t = await on("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;
+ 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}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;
}
-var G8 = "peach.home-feed.v1";
-function K8(e) {
+var K8 = "peach.home-feed.v1";
+function q8(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(G8, e ? "1" : "0");
+ localStorage.setItem(K8, e ? "1" : "0");
} catch {}
}
-function DMe() {
+function OMe() {
try {
- let e = localStorage.getItem(G8);
+ let e = localStorage.getItem(K8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function q8(e) {
- !e || LV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));
+function J8(e) {
+ !e || LV(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 OMe(e, t) {
+function kMe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ys(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -76084,55 +76203,55 @@ function OMe(e, t) {
actionHref: "/sources"
});
}
-function J8(e) {
- let t = e && !e.error && e.items || [];
- return OMe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(TMe).join("")}</div>`;
-}
function Y8(e) {
- e && (e9(e), Z.appSettings.feedAutoScroll && vc(e));
+ let t = e && !e.error && e.items || [];
+ return kMe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(EMe).join("")}</div>`;
}
function X8(e) {
+ e && (t9(e), Z.appSettings.feedAutoScroll && vc(e));
+}
+function Z8(e) {
return fn(e) && e !== "/junk-files";
}
-function kMe() {
+function AMe() {
let e = L("#feedNew");
- LV(e) ? VV(e, { revision: ++H8.feedRevision }) : (q8(e), BV("feed-new", {
+ LV(e) ? VV(e, { revision: ++U8.feedRevision }) : (J8(e), BV("feed-new", {
host: e,
- revision: H8.feedRevision,
- helpers: H8.feedNewHelpers,
- actions: H8.feedNewActions
+ revision: U8.feedRevision,
+ helpers: U8.feedNewHelpers,
+ actions: U8.feedNewActions
}, {
container: e,
- isCurrent: () => X8(location.pathname)
+ isCurrent: () => Z8(location.pathname)
}));
}
-function Z8() {
+function Q8() {
let e = L("#feedNew");
e.querySelectorAll(".feednewrow").forEach(yc), HV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
-function Q8() {
- H8.feedRevision += 1, VV(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });
+function $8() {
+ U8.feedRevision += 1, VV(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });
}
-function AMe() {
+function jMe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? vc(e) : yc(e));
}
-var $8 = 0;
-function jMe([e]) {
- let t = e.contentRect.width >= H8.HERO_WIDE_PX;
- cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {
- $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
+var e5 = 0;
+function MMe([e]) {
+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;
+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {
+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function MMe() {
- H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${dA}"></div>
+function NMe() {
+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${AA}"></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(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${wn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${wn(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.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(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {
- feedRowHtml: J8,
- wireFeedRow: (e) => Y8(e)
- }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(jMe).observe(L("#index"));
+ <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}/${wn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${wn(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, J.resize(MMe).observe(L("#index"));
}
// src/entity-skeleton.ts
-function NMe(e, t, n, r = "") {
+function PMe(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">
@@ -76146,10 +76265,10 @@ function NMe(e, t, n, r = "") {
<div class="entitysection">${o}</div></div></section>`;
}
// src/filter-controls-skeleton.ts
-var e5 = (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>` : as(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${LU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${RU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;
-function r5(e, t) {
- let n = sM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [[
+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>` : as(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${RU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${zU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;
+function i5(e, t) {
+ let n = jM(), 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, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -76157,7 +76276,7 @@ function r5(e, t) {
"list",
"列表",
"ri-list-unordered"
- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${t5}>${z(e.label)}${e.dir ? e5(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")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${n5}>${z(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/application/entity.js
var Y = {
@@ -76185,16 +76304,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function i5() {
+function a5() {
let e = IV(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function a5(e) {
+function o5(e) {
Y.entityPageCurrent() && VV(L("#index"), e);
}
-function o5() {
+function s5() {
if (Ul.type === "item") return Ul;
- let e = i5();
+ let e = a5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -76206,23 +76325,23 @@ function o5() {
}
return Ul;
}
-function s5(e, t, n = e7()) {
- return DNe(n).map(([n, r]) => {
- let i = e === n, a = Fk(n, e, t);
+function c5(e, t, n = t7()) {
+ return ONe(n).map(([n, r]) => {
+ let i = e === n, a = $k(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Nk(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Nk(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Zk(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Zk(a.sort, a.dir) : ""}排序` : ""
};
});
}
-function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function l5() {
- return vMe({
+function u5() {
+ return yMe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -76231,37 +76350,37 @@ function l5() {
statsVisible: !L("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function u5() {
+function d5() {
Y.photos.sync();
}
-function d5() {
- l5() ? fse(_A()) : AA();
+function f5() {
+ u5() ? qoe(IA()) : YA();
}
-function PMe(e) {
+function FMe(e) {
Y.photos.setSize(e);
}
-var f5 = hMe({
+var p5 = gMe({
request: (e) => on("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => S8.toast({ text: "已在资源管理器中显示" }),
+ success: () => C8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function p5(e) {
+async function m5(e) {
let t = { textContent: "" };
- return await f5(e, t), t.textContent;
+ return await p5(e, t), t.textContent;
}
-async function FMe(e) {
+async function IMe(e) {
let t = { textContent: "" }, n = [];
- return await m5(e, t, (e) => {
+ return await h5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function m5(e, t, n) {
+async function h5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await on("/api/purge-missing", {
@@ -76274,7 +76393,7 @@ async function m5(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), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), C8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await on("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -76286,22 +76405,22 @@ async function m5(e, t, n) {
restored: e.length
});
} : null });
- } else S8.actionReceipt("目录核对完成,无需改动");
+ } else C8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);
}
}
-function IMe(e) {
+function LMe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function LMe(e, t) {
+function RMe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && J.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));
+ r && J.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));
}
-async function RMe(e, t) {
+async function zMe(e, t) {
let n = zc({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -76324,53 +76443,53 @@ async function RMe(e, t) {
remove: !0
});
} catch (e) {
- S8.actionFailure("撤销别名", e);
+ C8.actionFailure("撤销别名", e);
return;
}
- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ C8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? C8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : C8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function h5(e, t) {
- let n = ["performer", "studio"].includes(e) && H8.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>${os()}${e === "agency" ? "" : r5(s5(U.sort, U.dir, n), n ? {
+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>${os()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: pA(),
- options: cA
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("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="${z(e.k)}" aria-pressed="${U.state === e.k}" ${t5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = NMe(e, r, e === "agency" ? Rs({
+ value: MA(),
+ options: DA
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${R("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="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = PMe(e, r, e === "agency" ? Rs({
kind: "performers",
- layout: j5.peopleIndexLayout()
- }) : qJ("正在读取作品", xA(bA({
+ layout: M5.peopleIndexLayout()
+ }) : qJ("正在读取作品", BA(zA({
active: n,
home: !1,
portrait: !1
}))), i);
- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (L("#index").innerHTML = a, g5(e, t), Gs(L("#index")));
+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), Gs(L("#index")));
}
-function g5(e, t) {
+function _5(e, t) {
let n = L("#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" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));
+ 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()));
}
-function _5(e) {
- let t = pn[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function v5(e) {
+ let t = pn[e] || e, n = H3[t] || "条目", r = H3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function v5(e, t) {
- b9(Y.application.fresh(e, t));
+function y5(e, t) {
+ x9(Y.application.fresh(e, t));
}
-function zMe() {
+function BMe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -76381,40 +76500,40 @@ function zMe() {
"orient",
"sort",
"dir"
- ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {
+ ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = o5();
+ let e = s5();
return e.type === "home" ? U : e.filters;
}, L("#q").value = U.q, X.rememberSearchValue();
}
-function BMe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {
- let n = i5();
+function VMe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {
+ let n = a5();
return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {
wireDrag: (e) => {
- e && e9(e);
+ e && t9(e);
},
wireScroller: (e) => {
e && cc(e);
},
- wireFeedRow: (e) => Y8(e),
- feedRowHtml: J8,
- receipt: (e, t) => S8.actionReceipt(e, t),
- failure: (e, t) => S8.actionFailure(e, t),
- aliasForm: (e, t) => RMe(e, t),
- sourceToolsHtml: (e) => IMe(e),
- wireSourceTools: (e, t) => LMe(e, t),
- comboItems: (e) => F7(e),
- sortKeys: (e, t, n) => s5(e, t, n)
+ wireFeedRow: (e) => X8(e),
+ feedRowHtml: Y8,
+ receipt: (e, t) => C8.actionReceipt(e, t),
+ failure: (e, t) => C8.actionFailure(e, t),
+ aliasForm: (e, t) => zMe(e, t),
+ sourceToolsHtml: (e) => LMe(e),
+ wireSourceTools: (e, t) => RMe(e, t),
+ comboItems: (e) => I7(e),
+ sortKeys: (e, t, n) => c5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -76437,11 +76556,11 @@ function BMe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function VMe() {
- Y.application = CMe({
+function HMe() {
+ Y.application = wMe({
controller: {
context: () => {
- let e = o5();
+ let e = s5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -76453,28 +76572,28 @@ function VMe() {
filters: U
} }),
releaseBodyPreviews: () => Ol(L("#index [data-entity-body]")),
- push: a5,
+ push: o5,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: H8.feedRevision,
- photoSize: _A(),
- photoLayout: vA(),
- photoLayouts: uA,
+ feedRevision: U8.feedRevision,
+ photoSize: IA(),
+ photoLayout: LA(),
+ photoLayouts: kA,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: pA(),
- javLayouts: cA,
+ javLayout: MA(),
+ javLayouts: DA,
states: X.VIEW_PILLS,
- peopleLayout: j5.peopleIndexLayout(),
- layout: G7(),
+ peopleLayout: M5.peopleIndexLayout(),
+ layout: K7(),
selectMode: ql,
selected: new Set(Gl),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: e9,
+ wireDrag: t9,
skeletonHtml: Y.entityBodySkeleton,
canLoadMore: Y.entityBodyCanLoadMore,
follow: {
@@ -76482,52 +76601,52 @@ function VMe() {
actions: Y.entityFollowActions
}
}),
- changeFilter: S7,
- rollSeed: () => S8.rollSeed(),
+ changeFilter: C7,
+ rollSeed: () => C8.rollSeed(),
writeSeed: (e) => {
U.seed = e, vu();
},
- setJavLayout: r7,
- javLayout: pA,
- setPhotoLayout: CA,
- syncPhotoWalls: u5,
- openEntity: v5,
- photoViewActive: l5,
+ setJavLayout: i7,
+ javLayout: MA,
+ setPhotoLayout: HA,
+ syncPhotoWalls: d5,
+ openEntity: y5,
+ photoViewActive: u5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: d5,
- scheduleSticky: u7,
+ syncDensity: f5,
+ scheduleSticky: d7,
releasePage: () => HV(L("#index")),
- showMissing: _5,
- dropBars: O8
+ showMissing: v5,
+ dropBars: k8
},
loading: {
- shapesReady: (e, t) => H8.hasEntityShape(e, t),
- waitShapes: R5,
- paintSkeleton: h5,
+ shapesReady: (e, t) => U8.hasEntityShape(e, t),
+ waitShapes: z5,
+ paintSkeleton: g5,
resetView: () => {
_u({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: W8,
- syncParts: g5
+ loadShapes: G8,
+ syncParts: _5
},
photos: {
preferences: () => ({
- size: _A(),
- layout: vA(),
+ size: IA(),
+ layout: LA(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: a5,
- pushFollow: T9,
- syncDensity: d5,
- storeSize: use
+ pushEntity: o5,
+ pushFollow: E9,
+ syncDensity: f5,
+ storeSize: Goe
},
helpers: Y.entityPageHelpers,
actions: {
- toggleTag: P7,
- openFollowAuthor: P5,
+ toggleTag: F7,
+ openFollowAuthor: F5,
javContext: (e) => _u({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -76537,8 +76656,8 @@ function VMe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var y5 = { playlistWrite: void 0 };
-function HMe(e, t) {
+var b5 = { playlistWrite: void 0 };
+function UMe(e, t) {
e === "tag" ? (_u({ state: {
...U,
tag: t,
@@ -76548,17 +76667,17 @@ function HMe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(h7()), U5(), M7()) : v5(e, t);
+ } }), X.clearSearchField(), Q.route(g7()), W5(), N7()) : y5(e, t);
}
-function b5(e = "") {
+function x5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function UMe({ title: e, count: t, save: n }) {
+async function WMe({ title: e, count: t, save: n }) {
let r = zc({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: b5(e),
+ body: x5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -76568,28 +76687,28 @@ async function UMe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await o9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {
- await y5.playlistWrite({
+ i && (await s9(a.id, a.current_asset_id, !0), C8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await b5.playlistWrite({
action: "delete",
id: a.id
- }), b9("/playlists");
+ }), x9("/playlists");
} }));
}
-async function WMe(e) {
+async function GMe(e) {
let t = ((await on("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ts(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = zc({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ys("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ys("还没有播放列表,填个名称就能新建一份。", { 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 y5.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 b5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await y5.playlistWrite({
+ for (let t of r) await b5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -76607,40 +76726,40 @@ async function WMe(e) {
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await y5.playlistWrite({
+ C8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await b5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await y5.playlistWrite({
+ a.created && await b5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function x5() {
- Ol(), i9(!1), H5();
+function S5() {
+ Ol(), a9(!1), U5();
let e = IV(L("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? _u({ pageOpens: cu + 1 }) : (V5({ manage: !1 }), _u({ playlistsRevision: mu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? _u({ pageOpens: cu + 1 }) : (H5({ manage: !1 }), _u({ playlistsRevision: mu + 1 }));
}
-function GMe(e) {
+function KMe(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
-function S5(e) {
+function C5(e) {
_u({ configurationRequestedSection: e }), Q.navigatePath(pV(e));
}
-function KMe() {
- y5.playlistWrite = (e) => on("/api/playlist", {
+function qMe() {
+ b5.playlistWrite = (e) => on("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function C5(e) {
+function w5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function w5(e, t, n, r, i = !1) {
+function T5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -76648,23 +76767,23 @@ function w5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function T5(e, t, n, r, i, a = !1) {
+function E5(e, t, n, r, i, a = !1) {
let o = n === "follow", s = kY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...w5(e, t, n, !0),
+ ...T5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function qMe(e, t, n, r) {
- let i = C5(t);
+function JMe(e, t, n, r) {
+ let i = w5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: s$(n).view === "dismissed"
+ junkDismissed: c$(n).view === "dismissed"
};
}
// src/application/selection.js
-var E5 = {
+var D5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -76672,43 +76791,43 @@ var E5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function D5() {
- U7({
+function O5() {
+ W7({
selected: new Set(Gl),
selectMode: ql
- }), a5({
+ }), o5({
selected: new Set(Gl),
selectMode: ql
- }), T9({
+ }), E9({
selected: new Set(Kl),
selectMode: ql
- }), E5.batchDockProps = rNe(), v8() && (v8().render(E5.batchDockProps), Z.syncGlassOptics());
+ }), D5.batchDockProps = iNe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());
}
-function O5(e, t = !1) {
- _u(w5({
+function k5(e, t = !1) {
+ _u(T5({
selected: Gl,
followSelected: Kl
- }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", ql), ql && Ol(), L("#selectMode").setAttribute("aria-pressed", String(ql)), D5();
+ }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", ql), ql && Ol(), L("#selectMode").setAttribute("aria-pressed", String(ql)), O5();
}
-function JMe() {
- return [...F5.gridCards()].map((e) => +e.dataset.id);
+function YMe() {
+ return [...I5.gridCards()].map((e) => +e.dataset.id);
}
-function k5(e, t = !1) {
- _u(T5({
+function A5(e, t = !1) {
+ _u(E5({
selected: Gl,
followSelected: Kl
- }, A5(), C5(location.pathname), JMe(), e, t)), O5(!0);
+ }, j5(), w5(location.pathname), YMe(), e, t)), k5(!0);
}
-function YMe() {
+function XMe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function XMe(e, t = !1) {
- _u(T5({
+function ZMe(e, t = !1) {
+ _u(E5({
selected: Gl,
followSelected: Kl
- }, A5(), "follow", YMe(), e, t)), O5(!0);
+ }, j5(), "follow", XMe(), e, t)), k5(!0);
}
-async function ZMe(e, t) {
+async function QMe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -76740,9 +76859,9 @@ async function ZMe(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"));
- O5(!1, !0), await a7();
+ k5(!1, !0), await o7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ C8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -76767,23 +76886,23 @@ async function ZMe(e, t) {
operation: r
})
});
- await a7();
+ await o7();
} : null });
} catch (e) {
throw Oc(t, !1), e;
} finally {
- Oc(t, !1), D5();
+ Oc(t, !1), O5();
}
}
});
}
-async function QMe() {
+async function $Me() {
let e = [...Gl];
if (!e.length) return;
let t = zc({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + E5.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=\"产地\">" + D5.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,
@@ -76807,9 +76926,9 @@ async function QMe() {
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 && (O5(!1, !0), await a7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (k5(!1, !0), await o7(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function $Me(e, t) {
+async function eNe(e, t) {
let n = [...Kl];
if (!n.length) return;
let r = {
@@ -76835,16 +76954,16 @@ async function $Me(e, t) {
items: n,
to: e
})
- }), O5(!1, !0), location.pathname === "/follow" && _u({ pageOpens: cu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), k5(!1, !0), location.pathname === "/follow" && _u({ pageOpens: cu + 1 }), C8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Oc(t, !1), e;
} finally {
- Oc(t, !1), D5();
+ Oc(t, !1), O5();
}
}
});
}
-async function eNe(e, t) {
+async function tNe(e, t) {
let n = [...Gl];
if (!n.length) return;
let r = {
@@ -76871,68 +76990,68 @@ async function eNe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), O5(!1, !0), await L7();
+ }), k5(!1, !0), await R7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ C8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await on("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await L7();
+ }), await R7();
} : null });
} catch (e) {
throw Oc(t, !1), e;
} finally {
- Oc(t, !1), D5();
+ Oc(t, !1), O5();
}
}
});
}
-function tNe() {
- Xje({
+function nNe() {
+ Zje({
root: L("[data-batch-dock]"),
run: (e, t, n) => {
- E5.BATCH_RUNNERS[e]?.(t, n);
+ D5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(E5.batchDockProps), Z.syncGlassOptics();
+ e.render(D5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function nNe() {
- E5.batchDockProps = {
+function rNe() {
+ D5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(L("#selectMode"), "onclick", () => O5(!ql, !!ql)), E5.REGION_CHOICES = [
+ }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(L("#selectMode"), "onclick", () => k5(!ql, !!ql)), D5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], E5.BATCH_RUNNERS = {
- batch: ZMe,
- region: QMe,
- follow: $Me,
- junk: eNe,
- clear: () => O5(!1, !0)
+ ], D5.BATCH_RUNNERS = {
+ batch: QMe,
+ region: $Me,
+ follow: eNe,
+ junk: tNe,
+ clear: () => k5(!1, !0)
}, J.handler(L("#density"), "onclick", () => {
- l5() ? PMe(_A() === "big" ? "small" : "big") : dse();
- }), AA(), El({
+ u5() ? FMe(IA() === "big" ? "small" : "big") : Koe();
+ }), YA(), El({
selecting: () => ql,
- censored: () => Q7(),
+ censored: () => $7(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
}), J.listen(window, "pagehide", () => Ol()), J.listen(document, "visibilitychange", () => {
document.hidden && Ol();
- }), Cl(), E5.coverRecheck = 0, J.listen(window, "resize", () => {
- bl(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Cl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {
+ bl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && dl(e);
}), 200);
}, { passive: !0 });
}
-function A5() {
+function j5() {
return {
selectMode: ql,
selectSurface: Xl,
@@ -76940,73 +77059,73 @@ function A5() {
followLastSelectedId: Yl
};
}
-function rNe() {
- return qMe({
+function iNe() {
+ return JMe({
selected: Gl,
followSelected: Kl
}, location.pathname, location.search, U.state);
}
// src/application/index.js
-var j5 = {
+var M5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function iNe() {
+function aNe() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function aNe() {
+function oNe() {
return LZ(location.search);
}
-function oNe(e) {
+function sNe(e) {
return RZ(e);
}
-function sNe(e) {
- Q.route(oNe(e));
+function cNe(e) {
+ Q.route(sNe(e));
}
-function cNe(e = "") {
+function lNe(e = "") {
return zZ(location.search, e);
}
-function lNe(e) {
- return I8(e);
+function uNe(e) {
+ return L8(e);
}
-function M5(e) {
- return P8(e);
+function N5(e) {
+ return F8(e);
}
-function N5() {
- L("#stats").hidden = !0, L("#index").hidden = !1, z7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
+function P5() {
+ L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
}
-function uNe(e, t) {
+function dNe(e, t) {
_u({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), O5(!1, !1), Q.route(h7()), U5(), g9(), M7();
+ } }), k5(!1, !1), Q.route(g7()), W5(), _9(), N7();
}
-function P5(e) {
- j5.controller.openFollowAuthor(e);
+function F5(e) {
+ M5.controller.openFollowAuthor(e);
}
-function dNe(e) {
- j5.controller.openFollowTag(e);
+function fNe(e) {
+ M5.controller.openFollowTag(e);
}
-function fNe() {
+function pNe() {
$.FOLLOW_MANAGE_TABS = IZ, J.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");
- }), j5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), j5.personAvatar = F8;
+ e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");
+ }), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;
}
-function pNe() {
- j5.controller = mMe({
+function mNe() {
+ M5.controller = hMe({
route: Q.route,
- followView: S9,
- adoptFollowView: C9,
+ followView: C9,
+ adoptFollowView: w9,
hideIndex: () => {
L("#index").hidden = !0;
},
- openPage: b9
+ openPage: x9
});
}
// src/application/loading.js
-var F5 = {
+var I5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -77015,58 +77134,58 @@ var F5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function I5(e = "正在读取作品") {
+function L5(e = "正在读取作品") {
if (location.pathname === "/wall") {
L("#loadSentinel").hidden = !0;
return;
}
let t = L("#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 = Bwe(s$(location.search)), Gs(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && w7({
+ 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 = zwe(c$(location.search)), Gs(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({
count: null,
- ...D7()
- })), L("#loadSentinel").hidden = !0, H7()) return;
- let r = L("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== l2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Gs(L("#grid")));
-}
-function L5() {
- L("#catalogFilter").style.display = "none", C7();
+ ...O7()
+ })), L("#loadSentinel").hidden = !0, U7()) return;
+ let r = L("#grid"), i = q7(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== u2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Gs(L("#grid")));
}
function R5() {
+ L("#catalogFilter").style.display = "none", w7();
+}
+function z5() {
let e = new Promise((e) => {
- let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
t -= Math.min(i - n, 50), n = i, t > 0 ? J.delay(r, Math.min(t, 50)) : e();
};
J.delay(r, 50);
});
- return Promise.race([F5.entityShapesReady ||= W8(), e]);
+ return Promise.race([I5.entityShapesReady ||= G8(), e]);
}
-function mNe() {
+function hNe() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();
- else if (/^\/assets\/\d+$/.test(e)) L5();
- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();
- else if (e === "/junk-files") I5("正在读取垃圾文件");
- else if (e === "/jav" && S$(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");
+ 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" && C$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- L5();
+ R5();
let t = L("#stats");
- t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Gs(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), G3(L("#index"), U3(e.slice(1), location.search), j5.peopleIndexLayout());
+ t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Gs(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), K3(L("#index"), W3(e.slice(1), location.search), M5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- L5(), L("#index").hidden = !1, z7();
+ R5(), L("#index").hidden = !1, B7();
let t = mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (H8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {
- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Gs(L("#index")));
+ (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), Gs(L("#index")));
});
- } else Q.routeMeta(e) ? I5() : (z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? L5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
-function hNe() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => s2(t, {
+function gNe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => c2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: _A()
+ gridSize: IA()
}), $.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>
@@ -77074,37 +77193,37 @@ function hNe() {
<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>`, L("#loadSentinel").innerHTML = Ss(xs), F5.setGridCards = (e) => Is(L("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Ss(xs), I5.setGridCards = (e) => Is(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => c2(e, {
- followLayout: iNe(),
+ }), 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) => l2(e, {
+ followLayout: aNe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(aNe())
- }), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {
+ }))(oNe())
+ }), I5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = OV(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 z5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function gNe(e, t, n) {
+function _Ne(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-${z5(r)}"/></svg>`;
- return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(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-${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>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function _Ne(e, t, n, r = !1) {
+function vNe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -77122,7 +77241,7 @@ function _Ne(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var B5 = {
+var V5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -77144,20 +77263,20 @@ var B5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function V5({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), g9()), t && u2(L("#stats"), t);
-}
-function H5() {
- X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");
+function H5({ manage: e = !0, placeholder: t = "" } = {}) {
+ L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), _9()), t && d2(L("#stats"), t);
}
function U5() {
- document.body.classList.remove("entity-open", "index-open"), HV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();
+ X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");
+}
+function W5() {
+ document.body.classList.remove("entity-open", "index-open"), HV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();
}
-function vNe() {
- Q.route("/"), U5();
+function yNe() {
+ Q.route("/"), W5();
}
-function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {
- h9({
+function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ g9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -77180,28 +77299,28 @@ function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function G5(e) {
- wPe({
- ...S9(),
+function K5(e) {
+ TPe({
+ ...C9(),
...e
- }), h9({ filters: $.followSidebarFilters() });
+ }), g9({ filters: $.followSidebarFilters() });
}
-function K5() {
+function q5() {
return matchMedia("(max-width:760px)").matches;
}
-function q5(e) {
+function J5(e) {
let t = L("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && K5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
-}
-function yNe() {
- K5() && q5(!1);
+ t.inert = !e && q5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
function bNe() {
+ q5() && J5(!1);
+}
+function xNe() {
ou === null && (_u({ runtimeConfigurable: !1 }), on("/healthz").then((e) => {
- _u({ runtimeConfigurable: !!e.configurable }), ou && Y5() && X5();
+ _u({ runtimeConfigurable: !!e.configurable }), ou && X5() && Z5();
}).catch(() => {}));
}
-function J5(e = "", t = !1) {
+function Y5(e = "", t = !1) {
if (!t && !dV(location.pathname)) {
let t = ZV.navigation;
ZV.push(pV(e), { settingsBackground: {
@@ -77214,35 +77333,35 @@ function J5(e = "", t = !1) {
replace: !0,
state: ZV.navigation.location.state
});
- return e ||= fV(location.pathname), qje(B5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= fV(location.pathname), Jje(V5.settingsHost()).then((t) => (t.open(e), t));
}
-function xNe() {
+function SNe() {
dV(location.pathname) && (mV(ZV.navigation.location.state) ? ZV.go(-1) : Q.navigatePath("/", !0));
}
-function SNe() {
+function CNe() {
return {
scroll: L("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: B5.NAV_CATALOG,
- navOn: s7,
- navTo: c7,
- toggleChip: (e, t, n) => S7((r) => {
+ navCatalog: V5.NAV_CATALOG,
+ navOn: c7,
+ navTo: l7,
+ toggleChip: (e, t, n) => C7((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) => S7((n) => {
+ setDuration: (e, t) => C7((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]), q5(!1), b9(x9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());
+ $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());
},
- selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => G5({
+ selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => K5({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -77251,111 +77370,111 @@ function SNe() {
}
};
}
-function CNe() {
+function wNe() {
let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = gNe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {
- if (f8()) return;
+ e.innerHTML = _Ne(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {
+ if (p8()) return;
let t = e.target.closest?.("[data-nav]");
- t && c7(t.dataset.nav);
- }), Jje(SNe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});
+ t && l7(t.dataset.nav);
+ }), Yje(CNe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});
}
-async function wNe() {
+async function TNe() {
let e = J, t = null;
try {
t = await on("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && rA(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && SA(t, (e) => Z.settingsEffects[e]?.());
}
-function Y5() {
+function X5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function X5() {
- let e = Y5();
- bNe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (E5.trashCount = null), Z5(e);
+function Z5() {
+ let e = X5();
+ xNe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);
}
-function TNe(e) {
+function ENe(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: B5.MANAGE_SECTIONS,
- menu: e ? B5.manageMenuSections() : [],
- trash: E5.trashCount
+ sections: V5.MANAGE_SECTIONS,
+ menu: e ? V5.manageMenuSections() : [],
+ trash: D5.trashCount
};
}
-function Z5(e = Y5()) {
- Q5();
- let t = TNe(e), n = h8();
+function Q5(e = X5()) {
+ $5();
+ let t = ENe(e), n = g8();
if (n) n.render(t);
else {
- let e = aP(t);
- e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);
+ let e = Vce(t);
+ e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);
}
- let r = tP(t)?.title || "";
- r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && Ns(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = yP(t)?.title || "";
+ r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Ns(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function ENe() {
- let e = B5.manageHeaderRoot();
+function DNe() {
+ let e = V5.manageHeaderRoot();
J.listen(e, "click", (e) => {
- if (h8()) return;
+ if (g8()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) $5(t.dataset.manage);
+ if (t) e7(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]") && N7();
- }), Yje({
+ } else e.target.closest?.("[data-empty-trash]") && P7();
+ }), Xje({
root: e,
- openManage: $5,
+ openManage: e7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: N7
- }).then(() => Z5()).catch(() => {});
+ emptyTrash: P7
+ }).then(() => Q5()).catch(() => {});
}
-function Q5() {
+function $5() {
let e = L("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !Y5() && fn(t) && dn[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Y5() || !fn(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !X5() && fn(t) && dn[U.state] || "";
+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!X5() || !fn(t) || !!n || U.jav === "1";
}
-function $5(e = "stats") {
+function e7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", vu(), Q.route(c$()), U5(), g9(), M7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", vu(), Q.route(l$()), W5(), _9(), N7());
}
-function e7() {
+function t7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || uu : !1;
}
-function DNe(e = e7()) {
- let t = Ok.filter(([e]) => e !== "seed");
- return e ? [kk, ...t] : t;
+function ONe(e = t7()) {
+ let t = Kk.filter(([e]) => e !== "seed");
+ return e ? [qk, ...t] : t;
}
-function t7() {
+function n7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
-function n7() {
- return mA(t7());
+function r7() {
+ return NA(n7());
}
-function ONe(e) {
- cse(e), i7(), L("#grid").hidden || J7();
+function kNe(e) {
+ Uoe(e), a7(), L("#grid").hidden || Y7();
}
-function r7(e) {
- SA(e), i7(), J7();
+function i7(e) {
+ VA(e), a7(), Y7();
}
-function i7() {
+function a7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === n7();
- }), X.catalogFilterProps && w7({ layout: E7() });
-}
-function kNe(e) {
- lse(e), i7(), J7();
+ e.checked = e.value === r7();
+ }), X.catalogFilterProps && T7({ layout: D7() });
}
-async function a7() {
- O8(), X.mixRelatedCache.clear(), await Promise.all([o7(), M7()]);
+function ANe(e) {
+ Woe(e), a7(), Y7();
}
async function o7() {
+ k8(), X.mixRelatedCache.clear(), await Promise.all([s7(), N7()]);
+}
+async function s7() {
if (Y.entityPageCurrent() && !L("#index").hidden) {
- a5({ revision: ++Y.entityPageRevision });
+ o5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -77364,24 +77483,24 @@ async function o7() {
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await L7();
+ t?.route.reload ? await t.route.reload() : await R7();
}
-function s7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];
- if (r) return Y5() === r;
+function c7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];
+ if (r) return X5() === r;
if (e === "manage") {
- let e = Y5();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);
+ let e = X5();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !U.state && !e7() && U.orient !== "竖屏" : ln[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : ln[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
-function c7(e) {
- if (yNe(), B5.DIRECT_MANAGE_NAV[e]) {
- $5(B5.DIRECT_MANAGE_NAV[e]);
+function l7(e) {
+ if (bNe(), V5.DIRECT_MANAGE_NAV[e]) {
+ e7(V5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- $5();
+ e7();
return;
}
if (e === "jav") {
@@ -77389,25 +77508,25 @@ function c7(e) {
return;
}
if (e === "") {
- g7();
+ _7();
return;
}
let t = ln[e] ? null : Q.routePathOf("nav", e);
- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), vu(), Q.route(h7()), U5(), g9(), M7());
+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), vu(), Q.route(g7()), W5(), _9(), N7());
}
-function l7() {
+function u7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- ql && Xl !== E5.currentSelectSurface() && O5(!1, !0);
+ ql && Xl !== D5.currentSelectSurface() && k5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(mn, t[0]), r = fn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && ql && O5(!1, !0);
+ L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && ql && k5(!1, !0);
}
-function ANe() {
+function jNe() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;
+ (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.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\"]");
- B5.mobileFilterScroll = _Ne(B5.mobileFilterScroll, n, innerWidth <= 760, r);
+ V5.mobileFilterScroll = vNe(V5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && B5.mobileFilterScroll.free;
+ let e = n === t && V5.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);
@@ -77419,63 +77538,63 @@ function ANe() {
});
}
}
-function jNe() {
- ANe(), [".board-filter-frame", "#count"].forEach((e) => {
+function MNe() {
+ jNe(), [".board-filter-frame", "#count"].forEach((e) => {
let t = L(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 u7() {
- B5.stickyFrame ||= J.frame(() => {
- B5.stickyFrame = 0, jNe();
+function d7() {
+ V5.stickyFrame ||= J.frame(() => {
+ V5.stickyFrame = 0, MNe();
});
}
-function MNe() {
+function NNe() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), J.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = k8, B5.MANAGE_SECTIONS = A8, B5.MANAGE_MENU_SECTIONS = j8, B5.manageMenuSections = () => dMe(ou === !0), B5.OPTIONAL_SIDEBAR_ITEMS = M8, B5.NAV_CATALOG = fMe, B5.DIRECT_MANAGE_NAV = pMe, B5.settingsHost = () => ({
+ }), J.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => fMe(ou === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = pMe, V5.DIRECT_MANAGE_NAV = mMe, V5.settingsHost = () => ({
selectSection: (e) => QV(pV(e), {
replace: !0,
state: ZV.navigation.location.state
}),
- closed: xNe,
+ closed: SNe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Mo(e),
- navCatalog: B5.NAV_CATALOG,
- themeOptions: rse,
- videoLayouts: cA,
- followInitialRanges: N8,
- videoLayout: () => n7(),
- setVideoLayout: kNe,
- censored: Q7,
- setCensored: tPe,
+ navCatalog: V5.NAV_CATALOG,
+ themeOptions: Roe,
+ videoLayouts: DA,
+ followInitialRanges: P8,
+ videoLayout: () => r7(),
+ setVideoLayout: ANe,
+ censored: $7,
+ setCensored: nPe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: nPe,
- receipt: (e) => S8.actionReceipt(e),
- failure: S8.actionFailure,
- syncRemote: (e) => rA(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: rPe,
+ receipt: (e) => C8.actionReceipt(e),
+ failure: C8.actionFailure,
+ syncRemote: (e) => SA(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => on("/healthz").then((e) => (_u({ runtimeConfigurable: !!e.configurable }), ou)).catch(() => null)
- }), J.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", J.listen(document, "focusin", u7), J.listen(document, "focusout", u7), J.listen(window, "scroll", () => {
- u7(), location.pathname === "/follow" && w9() && _u({ followScrollY: scrollY }), window.__scrolling = !0, Ol(), clearTimeout(B5.scrollT), B5.scrollT = J.delay(() => {
+ }), J.handler(L("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", J.listen(document, "focusin", d7), J.listen(document, "focusout", d7), J.listen(window, "scroll", () => {
+ d7(), location.pathname === "/follow" && T9() && _u({ followScrollY: scrollY }), window.__scrolling = !0, Ol(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), J.listen(window, "resize", u7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => q5(!1));
+ }, { passive: !0 }), J.listen(window, "resize", d7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => J5(!1));
}
// src/catalog-filter-skeleton.ts
-var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), p7 = (e) => e.repeat(d7);
-function NNe(e, t, n) {
- let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join(""), i = SW();
- 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\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + p7("<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(d7) + `</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>${os()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), m7 = (e) => e.repeat(f7);
+function PNe(e, t, n) {
+ let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = SW();
+ 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\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + m7("<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(f7) + `</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>${os()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/application/catalog.js
var X = {
@@ -77514,46 +77633,46 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function PNe() {
- X.initialParams.has("loc") || (U.loc = m7(U.loc), vu());
+function FNe() {
+ X.initialParams.has("loc") || (U.loc = h7(U.loc), vu());
}
-function m7(e) {
- return nMe(e, Z.sourceOnline);
+function h7(e) {
+ return rMe(e, Z.sourceOnline);
}
-function h7(e = U) {
- return rMe(e);
+function g7(e = U) {
+ return iMe(e);
}
-function FNe() {
- _u(w8(iMe(U, Z.appSettings, S8.rollSeed))), O8();
+function INe() {
+ _u(T8(aMe(U, Z.appSettings, C8.rollSeed))), k8();
}
-function g7(e = null, t = !1) {
- FNe(), e && (Object.assign(U, e), vu()), Q.route(e ? h7() : "/"), X.clearSearchField(), i9(!1), U5(), g9(), M7(), t && window.scrollTo({
+function _7(e = null, t = !1) {
+ INe(), e && (Object.assign(U, e), vu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function INe(e, t = null) {
+function LNe(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);
+ !e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);
}
-function _7(e) {
+function v7(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, on("/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 LNe(e, t) {
- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : v7(e, t);
+function RNe(e, t) {
+ i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);
}
-function v7(e, t) {
- e.edition_group ? lPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? uPe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);
+function y7(e, t) {
+ e.edition_group ? uPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? dPe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);
}
-async function RNe(e, t) {
+async function zNe(e, t) {
try {
let n = await on("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), C8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await on("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -77561,10 +77680,10 @@ async function RNe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- S8.actionFailure("更新稍后看", e);
+ C8.actionFailure("更新稍后看", e);
}
}
-async function zNe(e, t) {
+async function BNe(e, t) {
try {
await on("/api/batch", {
method: "POST",
@@ -77572,9 +77691,9 @@ async function zNe(e, t) {
ids: [e.id],
operation: t
})
- }), await L7();
+ }), await R7();
let n = t === "restore" ? "dispose" : "restore";
- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ C8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await on("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -77582,14 +77701,14 @@ async function zNe(e, t) {
operation: n,
...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}
})
- }), await L7();
+ }), await R7();
} });
} catch (e) {
- throw S8.actionFailure("操作", e), e;
+ throw C8.actionFailure("操作", e), e;
}
}
-async function BNe(e, t, n, r) {
- let i = Number(e.rating) || 0, a = _M(i, t), o = async (t, r) => {
+async function VNe(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = ZM(i, t), o = async (t, r) => {
let i = (await on("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -77603,14 +77722,14 @@ async function BNe(e, t, n, r) {
};
try {
let e = await o(a, r);
- S8.actionReceipt(e ? `已评 ${gM(e)} 星` : "已取消评分", { undo: () => o(i) });
+ C8.actionReceipt(e ? `已评 ${XM(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || S8.actionFailure("评分", e), e;
+ throw r?.aborted || C8.actionFailure("评分", e), e;
}
}
-async function y7(e) {
+async function b7(e) {
let t = new URLSearchParams();
- if (e7() && 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" && U.state && t.set("state", U.state), e.type !== "item") {
+ if (t7() && 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" && U.state && t.set("state", U.state), e.type !== "item") {
let e = Y.activeFilterState();
[
"loc",
@@ -77631,9 +77750,9 @@ async function y7(e) {
e[n] && t.set(n, e[n]);
});
}
- return lMe(t.toString(), X.topsQueryParams(e).toString());
+ return uMe(t.toString(), X.topsQueryParams(e).toString());
}
-function VNe() {
+function HNe() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
@@ -77645,32 +77764,32 @@ function VNe() {
behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"
});
}
-function b7(e) {
- o5().type !== "entity" && w7({ tags: O7(e) }), h9({ filters: { ...e } }), I7();
+function x7(e) {
+ s5().type !== "entity" && T7({ tags: k7(e) }), g9({ filters: { ...e } }), L7();
}
-async function x7(e) {
- let t = ++X.facetCountsSeq, [n] = await y7(e);
- t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));
+async function S7(e) {
+ let t = ++X.facetCountsSeq, [n] = await b7(e);
+ t === X.facetCountsSeq && (e.type === "home" && (n9.facets = n), g9({ latest: Q7(n, e) }));
}
-function S7(e) {
- VNe();
- let t = o5();
+function C7(e) {
+ HNe();
+ let t = s5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), c5(t.kind, t.name, n), b7(n), x7(o5());
+ e(n), l5(t.kind, t.name, n), x7(n), S7(s5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(Wl);
- if (i9(!1), _u({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), c5(t.kind, t.name, t.filters) ? M7() : _u({ pageOpens: cu + 1 });
+ if (a9(!1), _u({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), l5(t.kind, t.name, t.filters) ? N7() : _u({ pageOpens: cu + 1 });
return;
}
e(U), _u({ barsContext: {
type: "home",
filters: U
- } }), Q.route(h7()), U5(), M7();
- } else e(U), vu(), Q.route(h7()), b7(U), x7(Ul);
+ } }), Q.route(g7()), W5(), N7();
+ } else e(U), vu(), Q.route(g7()), x7(U), S7(Ul);
}
-function HNe() {
+function UNe() {
return {
tiers: null,
tiersPending: !1,
@@ -77688,94 +77807,94 @@ function HNe() {
combo: [],
comboHidden: !0,
comboHost: L("#combo"),
- actions: T7(),
+ actions: E7(),
helpers: {
- wireDrag: e9,
+ wireDrag: t9,
wireScroller: (e) => {
e && cc(e);
}
}
};
}
-function C7() {
- X.catalogFilterProps && w7({});
+function w7() {
+ X.catalogFilterProps && T7({});
}
-function w7(e) {
+function T7(e) {
let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || HNe(),
+ ...X.catalogFilterProps || UNe(),
...e
- }, !X.catalogFilterMounting && (LV(t) ? VV(t, e) : (!t.firstChild && !n && (t.innerHTML = NNe(X.catalogViews(), X.catalogFilterProps.state, D7()), Gs(t)), X.catalogFilterMounting = BV("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (LV(t) ? VV(t, e) : (!t.firstChild && !n && (t.innerHTML = PNe(X.catalogViews(), X.catalogFilterProps.state, O7()), Gs(t)), X.catalogFilterMounting = BV("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => VV(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function T7() {
+function E7() {
return {
currentHref: () => {
- let e = new URL(h7(), location.origin);
+ let e = new URL(g7(), location.origin);
return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => v5(e, t),
+ openEntity: (e, t) => y5(e, t),
setView: (e) => {
- U.state = e, vu(), w7({ state: e }), Q.route(h7()), M7();
+ U.state = e, vu(), T7({ state: e }), Q.route(g7()), N7();
},
- toggleTag: (e) => P7(e),
- clearFilter: (e) => S7((t) => {
+ toggleTag: (e) => F7(e),
+ clearFilter: (e) => C7((t) => {
t[e] = "";
}),
- clearAll: () => S7((e) => {
+ clearAll: () => C7((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = Fk(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, vu(), X7());
+ let t = $k(e, U.sort, U.dir);
+ t && (U.sort = t.sort, U.dir = t.dir, vu(), Z7());
},
- reshuffle: () => ePe(),
+ reshuffle: () => tPe(),
setLayout: (e) => {
- e7() ? r7(e) : ONe(e);
+ t7() ? i7(e) : kNe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await uMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(k7) : n.map(A7);
+ let n = (await dMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(A7) : n.map(j7);
}
};
}
-function E7() {
- return e7() ? {
+function D7() {
+ return t7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: pA(),
- options: cA
- } : t7() ? {
+ value: MA(),
+ options: DA
+ } : n7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: n7(),
- options: cA
+ value: r7(),
+ options: DA
} : null;
}
-function D7() {
+function O7() {
return {
- sorts: s5(U.sort, U.dir),
- layout: E7(),
+ sorts: c5(U.sort, U.dir),
+ layout: D7(),
state: U.state || "",
trash: U.state === "trash"
};
}
-function O7(e) {
+function k7(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function k7(e) {
+function A7(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${z(Fn(e.k))}</span>${Xa({
@@ -77789,99 +77908,99 @@ function k7(e) {
})}`
};
}
-function A7(e) {
+function j7(e) {
return {
name: e.k,
fallback: Pn(e.k, 2),
logo: e.has_logo ? qa(e.k, "icon", e.logo_version) : ""
};
}
-function UNe(e, t) {
- X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, w7({
+function WNe(e, t) {
+ X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, T7({
tiers: null,
tiersPending: !0,
state: e.state || ""
}));
}
-function j7(e) {
- X.barsPendingSeq === e && (X.barsPendingSeq = 0, w7({ tiersPending: !1 }));
+function M7(e) {
+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, T7({ tiersPending: !1 }));
}
-async function M7() {
+async function N7() {
let e = ++X.barsRequestSeq;
- if (h9(), !Bl(location.pathname) || Ul.type === "item") return;
- let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([
+ if (g9(), !Bl(location.pathname) || Ul.type === "item") return;
+ let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
- e7()
+ t7()
]);
- UNe(n, e);
+ WNe(n, e);
let i;
try {
- i = await y7(t);
+ i = await b7(t);
} catch (t) {
- throw j7(e), t;
+ throw M7(e), t;
}
let [a, o] = i;
if (e !== X.barsRequestSeq) {
- j7(e);
+ M7(e);
return;
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- B5.sidebarCatalog && h9({
- content: B5.sidebarCatalog,
+ V5.sidebarCatalog && g9({
+ content: V5.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = s, t.type === "home" && (t9.facets = a);
+ X.barsRendered = s, t.type === "home" && (n9.facets = a);
let c = a.tags || [];
ja(o.performers), ja(o.studios);
- let l = t.type === "home" && !e7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);
+ let l = t.type === "home" && !t7() && !U.state && !U.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 = S8.seededSample(p, X.TAGS_FIRST, `tags:${U.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 = C8.seededSample(p, X.TAGS_FIRST, `tags:${U.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: Ml(e.k),
n: e.n ?? null
- })), X.barsPendingSeq = 0, w7({
+ })), X.barsPendingSeq = 0, T7({
tiers: {
key: String(X.barsRequestSeq),
- performers: o.performers.map(k7),
- studios: o.studios.map(A7)
+ performers: o.performers.map(A7),
+ studios: o.studios.map(j7)
},
tiersPending: !1,
empty: l,
- tags: O7(n),
+ tags: k7(n),
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), I7(), B5.sidebarCatalog = {
+ }), L7(), V5.sidebarCatalog = {
kind: "catalog",
- key: String(++B5.sidebarContentSeq),
- facets: Z7(a, t)
- }, h9({
- content: B5.sidebarCatalog,
+ key: String(++V5.sidebarContentSeq),
+ facets: Q7(a, t)
+ }, g9({
+ content: V5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function WNe(e, t) {
- t9.total = e, U.state === "trash" && (E5.trashCount = {
- total: t9.total,
+function GNe(e, t) {
+ n9.total = e, U.state === "trash" && (D5.trashCount = {
+ total: n9.total,
shown: t
- }), X5(), w7({ count: {
- total: t9.total,
+ }), Z5(), T7({ count: {
+ total: n9.total,
shown: t
} });
}
-function N7() {
+function P7() {
return Vc({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -77891,19 +78010,19 @@ function N7() {
try {
let e = await on("/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"));
- S8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ C8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await L7();
+ await R7();
}
}
});
}
-function P7(e) {
- S7((t) => {
+function F7(e) {
+ C7((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function F7(e) {
+function I7(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -77923,13 +78042,13 @@ function F7(e) {
label: Ml(e)
})), t;
}
-function I7() {
- w7({
- combo: F7(U),
+function L7() {
+ T7({
+ combo: I7(U),
comboHidden: !X.catalogOnScreen()
});
}
-async function L7() {
+async function R7() {
let e = Q.claimSurface(Q.surfacePath());
if (_u({
barsContext: {
@@ -77937,40 +78056,40 @@ async function L7() {
filters: U
},
detailReturnBarsContext: null
- }), i9(!1), U.state === "ads") return qNe(e);
- if (X.controller.page === "/junk-files" && z7(), I5(), U5(), X8(location.pathname) && U.browse !== "folders") {
- if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- kMe();
- } else Z8();
- return I7(), L("#count").classList.remove("manage-static", "junkcount"), B7(e);
-}
-function R7(e) {
+ }), a9(!1), U.state === "ads") return JNe(e);
+ if (X.controller.page === "/junk-files" && B7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {
+ if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ AMe();
+ } else Q8();
+ return L7(), L("#count").classList.remove("manage-static", "junkcount"), V7(e);
+}
+function z7(e) {
X.controller.settle(e);
}
-function z7() {
+function B7() {
let e = L("#grid");
Ol(e), HV(e), X.controller.clear(), e.innerHTML = "";
}
-function B7(e) {
- return W7("/", KNe, e, { place: EPe });
+function V7(e) {
+ return G7("/", qNe, e, { place: DPe });
}
-function GNe(e) {
- return W7("/junk-files", YNe, e);
+function KNe(e) {
+ return G7("/junk-files", XNe, e);
}
-function V7() {
+function H7() {
return !!IV(L("#grid"));
}
-function H7() {
- return X.controller.taken(V7());
+function U7() {
+ return X.controller.taken(H7());
}
-function U7(e) {
+function W7(e) {
VV(L("#grid"), e);
}
-function W7(e, t, n, r = {}) {
+function G7(e, t, n, r = {}) {
let i = L("#grid");
- X.controller.page && X.controller.page !== e && z7();
- let a = X.controller.begin(e, V7()), o = t();
- if (!a.mount) return U7(o), a.settled;
+ X.controller.page && X.controller.page !== e && B7();
+ let a = X.controller.begin(e, H7()), o = t();
+ if (!a.mount) return W7(o), a.settled;
Ol(i);
let s = () => HV(i);
return a.signal.addEventListener("abort", s, { once: !0 }), BV(e, o, {
@@ -77978,69 +78097,69 @@ function W7(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(V7());
+ a.signal.removeEventListener("abort", s), a.finish(H7());
}), a.settled;
}
-function G7() {
- let e = t7();
- return bA({
- active: e7() || e,
+function K7() {
+ let e = n7();
+ return zA({
+ active: t7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
-function K7(e = "正在读取作品") {
- return qJ(e, q7());
-}
-function q7() {
- return U ? xA(G7()) : 16 / 9;
+function q7(e = "正在读取作品") {
+ return qJ(e, J7());
}
function J7() {
- H7() && (Ol(L("#grid")), U7({
- layout: G7(),
+ return U ? BA(K7()) : 16 / 9;
+}
+function Y7() {
+ U7() && (Ol(L("#grid")), W7({
+ layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (Ol(L("#index [data-entity-hero]")), a5({
- layout: G7(),
+ })), Y.entityPageCurrent() && (Ol(L("#index [data-entity-hero]")), o5({
+ layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function KNe() {
+function qNe() {
let e = decodeURIComponent(location.pathname), t = fn(e), n = U.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: G7(),
+ layout: K7(),
wall: e === "/wall",
selectMode: ql,
selected: new Set(Gl),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: e9,
- settled: R7,
- skeletonHtml: () => K7(),
+ wireDrag: t9,
+ settled: z7,
+ skeletonHtml: () => q7(),
filters: { ...U },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",
mix: t && e !== "/wall" && !n && U.browse !== "folders",
- shorts: t && e !== "/wall" && !e7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
+ shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
countRow: L("#count"),
- onCount: WNe,
- onCountFailed: () => w7({ count: !1 }),
+ onCount: GNe,
+ onCountFailed: () => T7({ count: !1 }),
emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : AK({
- jav: e7() && !t,
+ jav: t7() && !t,
configurable: ou,
filtered: !t
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function qNe(e) {
+function JNe(e) {
let t = L("#count");
- return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), I5("正在读取垃圾文件")), U5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), GNe(e);
+ return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), L5("正在读取垃圾文件")), W5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), KNe(e);
}
-async function JNe(e, t) {
+async function YNe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await on("/api/batch", {
@@ -78050,24 +78169,24 @@ async function JNe(e, t) {
operation: t,
...r ? { disposal_reason: "junk" } : {}
})
- }), await L7();
+ }), await R7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ C8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await on("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await L7();
+ }), await R7();
} });
} catch (e) {
- throw S8.actionFailure("操作", e), e;
+ throw C8.actionFailure("操作", e), e;
}
}
-function YNe() {
+function XNe() {
return {
- ...s$(location.search),
+ ...c$(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -78075,16 +78194,16 @@ function YNe() {
selectMode: ql,
selected: new Set(Gl),
countRow: L("#count"),
- settled: R7,
- skeletonHtml: () => s2("正在读取垃圾文件", {
+ settled: z7,
+ skeletonHtml: () => c2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function XNe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), _u(w8(tMe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {
+function ZNe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), _u(T8(nMe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -78105,12 +78224,12 @@ function XNe() {
};
};
}
-function ZNe() {
+function QNe() {
J.handler(L("#wallBtn"), "onclick", () => {
- O5(!1, !0);
- let e = o5(), t = {
+ k5(!1, !0);
+ let e = s5(), t = {
...Y.activeFilterState(),
- jav: e7() ? "1" : ""
+ jav: t7() ? "1" : ""
};
e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(xK(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
@@ -78118,42 +78237,42 @@ function ZNe() {
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => LF(e, t),
- displayName: (e, t) => IF(e, t),
+ titleHtml: (e, t) => wF(e, t),
+ displayName: (e, t) => CF(e, t),
tagLabel: (e) => Ml(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await n8(t9.stageHost);
+ let r = await r8(n9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: v7,
- open: (e, t) => LNe(e, t),
- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : INe(e, t),
- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : d9(e.id),
- openShorts: () => d9(),
- openMix: (e, t) => cPe(e, e, !0, t),
- openEntity: (e, t) => v5(e, t),
- openUnowned: () => g7({ owner: "none" }, !0),
+ wallDetails: y7,
+ open: (e, t) => RNe(e, t),
+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : LNe(e, t),
+ openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : f9(e.id),
+ openShorts: () => f9(),
+ openMix: (e, t) => lPe(e, e, !0, t),
+ openEntity: (e, t) => y5(e, t),
+ openUnowned: () => _7({ owner: "none" }, !0),
toggleTag: (e) => {
- S7((t) => {
+ C7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- toggleSelection: (e, t) => k5(e, t),
- watchLater: (e, t) => RNe(e, t),
- rate: (e, t, n, r) => BNe(e, t, n, r),
- resourceOperation: (e, t) => zNe(e, t),
- mixRelated: (e) => _7(e),
- canFlip: () => !ql && !Q7() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => A5(e, t),
+ watchLater: (e, t) => zNe(e, t),
+ rate: (e, t, n, r) => VNe(e, t, n, r),
+ resourceOperation: (e, t) => BNe(e, t),
+ mixRelated: (e) => v7(e),
+ canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: U.seed || ""
});
- return t && n.set("page", String(t)), e7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;
+ return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -78176,36 +78295,36 @@ function ZNe() {
href: e.k ? ln[e.k] : "/"
})), X.TAGS_FIRST = 26, J.listen(L("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && w7({ comboHidden: !0 });
+ X.catalogFilterProps && T7({ comboHidden: !0 });
};
}
-function QNe() {
+function $Ne() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- ql && O5(!1, !0), Q.route(e);
+ ql && k5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => k5(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),
+ toggleSelection: (e, t) => A5(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : l9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await on("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), S8.toast({ text: "已在资源管理器中显示" }), "";
+ }), C8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => JNe(e, t)
+ operate: (e, t) => YNe(e, t)
};
}
-X.controller = new aMe();
+X.controller = new oMe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -78228,7 +78347,7 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function Y7() {
+async function X7() {
let e = J;
try {
let t = await rr(e.signal);
@@ -78239,18 +78358,18 @@ async function Y7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), PNe(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), FNe(), Z.sourceOnline;
}
-function X7() {
+function Z7() {
let e = Q.surfacePath();
- if (!fn(e) || e === "/junk-files") return L7();
+ if (!fn(e) || e === "/junk-files") return R7();
let t = Z.nextCatalogLoad();
- return QV(h7(), {
+ return QV(g7(), {
replace: !0,
state: ZV.navigation.location.state
}), t;
}
-function $Ne(e) {
+function ePe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -78271,7 +78390,7 @@ function $Ne(e) {
cost: "free"
};
}
-function Z7(e, t) {
+function Q7(e, t) {
let n = (e, t = (e) => e.label || Ml(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -78282,7 +78401,7 @@ function Z7(e, t) {
value: e.k,
label: Ln[e.k] || e.k,
n: e.n ?? null,
- dot: $Ne(e.k),
+ dot: ePe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -78294,24 +78413,24 @@ function Z7(e, t) {
duration: !!e.stats?.duration
};
}
-async function ePe(e = !1) {
- if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || ql || Gl.size || document.activeElement === L("#q"))) return !1;
+async function tPe(e = !1) {
+ if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || ql || Gl.size || document.activeElement === L("#q"))) return !1;
if (!L("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- x5();
+ S5();
return;
}
let n = t === "reopen" ? e : "/stats";
n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, ZV.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), vu(), O8(), w7({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), vu(), k8(), T7({ refreshing: !0 });
try {
- let e = X7();
- await null, await Promise.all([e, M7()]);
+ let e = Z7();
+ await null, await Promise.all([e, N7()]);
} finally {
- w7({ refreshing: !1 });
+ T7({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -78319,66 +78438,66 @@ async function ePe(e = !1) {
}), !0;
}
}
-function Q7() {
+function $7() {
return document.body.classList.contains("censor");
}
-function $7(e) {
+function e9(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function tPe(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && Ol();
-}
function nPe(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && Ol();
+}
+function rPe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function e9(e) {
+function t9(e) {
return cc(e, { drag: !0 });
}
-function rPe() {
- ["#nrow", "#count"].forEach((e) => e9(L(e))), document.querySelectorAll(".tier,.srow").forEach(e9);
-}
function iPe() {
+ ["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);
+}
+function aPe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function aPe() {
+function oPe() {
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 = nA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), jo(Z.appSettings.uiSounds), Lo(), oA(), ose(), jA(), PA(), FA(), 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 = {
- theme: () => oA(),
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = xA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), jo(Z.appSettings.uiSounds), Lo(), TA(), Voe(), XA(), $A(), ej(), 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 = {
+ theme: () => TA(),
uiSounds: () => {
jo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Mo("toggle-on");
},
- glowFrame: () => NA(),
+ glowFrame: () => QA(),
glow: () => {
- NA(), PA();
+ QA(), $A();
},
batchSize: () => {
- location.pathname === "/" && L7();
+ location.pathname === "/" && R7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = Ik(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && X7();
+ U.sort = Z.appSettings.defaultSort, U.dir = eA(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && Z7();
},
sortDirection: () => {
- U.dir = Ik(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && X7();
+ U.dir = eA(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && Z7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
Al(e, "previewing", !1), Al(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => J7(),
- groupCollapse: () => o7(),
- feedAutoScroll: () => AMe(),
- feedLimit: () => Q8(),
- feedCompilations: () => Q8(),
+ seekSeconds: () => Y7(),
+ groupCollapse: () => s7(),
+ feedAutoScroll: () => jMe(),
+ feedLimit: () => $8(),
+ feedCompilations: () => $8(),
miniplayer: () => {
- Z.appSettings.miniplayer || r8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || i8()?.closeMiniplayer();
},
javImage: () => {
- Ba(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(sl), sPe();
+ Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(sl), cPe();
},
searchHistoryLimit: () => VV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -78389,11 +78508,11 @@ function aPe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = ws;
}
-function oPe() {
- Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function sPe() {
+ Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
-var t9 = {
+var n9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -78404,18 +78523,18 @@ var t9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function n9() {
+function r9() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function r9() {
- return r8()?.exit() || Promise.resolve();
+function i9() {
+ return i8()?.exit() || Promise.resolve();
}
-function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), _u({
+function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), _u({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -78423,12 +78542,12 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), u7(), e && Q.route(Zl || "/");
+ }), d7(), e && Q.route(Zl || "/");
}
-function sPe() {
- r8()?.repaintPoster();
+function cPe() {
+ i8()?.repaintPoster();
}
-function a9(e, t, n, r, i = null, a = {}) {
+function o9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = tu?.kind === e && (e === "playlist" ? tu.playlistId : tu.seedId) === t;
r && !o && _u({ detailReturnPath: location.pathname + location.search }), r && SV();
@@ -78442,38 +78561,38 @@ function a9(e, t, n, r, i = null, a = {}) {
fresh: !o
};
if (a.autoplay && (s.autoplay = !0), r) {
- _9();
+ v9();
let e = Q.queueOpenRequest = {
seq: ZV.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), _u({ queueOpens: lu + 1 });
- } else return c9(n == null ? null : +n, !1, s, i, r);
-}
-function cPe(e, t = e, n = !0, r = null) {
- return a9("mix", e, t, n, r);
+ Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), _u({ queueOpens: lu + 1 });
+ } else return l9(n == null ? null : +n, !1, s, i, r);
}
function lPe(e, t = e, n = !0, r = null) {
- return a9("editions", e, t, n, r);
+ return o9("mix", e, t, n, r);
}
function uPe(e, t = e, n = !0, r = null) {
- return a9("parts", e, t, n, r);
+ return o9("editions", e, t, n, r);
+}
+function dPe(e, t = e, n = !0, r = null) {
+ return o9("parts", e, t, n, r);
}
-function o9(e, t = null, n = !0) {
- return a9("playlist", e, t, n);
+function s9(e, t = null, n = !0) {
+ return o9("playlist", e, t, n);
}
-function s9() {
+function c9() {
return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;
}
-async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
- if (a || _9(), t && !n) {
- _u({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));
+ if (a || v9(), t && !n) {
+ _u({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => l9(e, !1, null, r));
return;
}
Ol(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : Ql?.isConnected ? Ql : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : $l, c = s9(), l = eu || !t && !c, u = Ul.type === "item" ? Wl : Y.cloneBarsContext(o5());
- t ? _u({ detailReturnPath: location.pathname + location.search }) : i || _u({ detailReturnPath: wV() || Zl }), t && SV(), r8()?.showing() !== "item" && i9(!1, !0, {
+ let o = r?.isConnected ? r : Ql?.isConnected ? Ql : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : $l, c = c9(), l = eu || !t && !c, u = Ul.type === "item" ? Wl : Y.cloneBarsContext(s5());
+ t ? _u({ detailReturnPath: location.pathname + location.search }) : i || _u({ detailReturnPath: wV() || Zl }), t && SV(), i8()?.showing() !== "item" && a9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), _u({
@@ -78485,60 +78604,60 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), _u({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, TV("item"));
- let d = await n8(t9.stageHost);
+ let d = await r8(n9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ...t9.itemDetailActions,
+ ...n9.itemDetailActions,
present: (e, t) => {
- a.cancelled || t9.itemDetailActions.present(e, t);
+ a.cancelled || n9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || t9.itemDetailActions.redirect(e);
+ a.cancelled || n9.itemDetailActions.redirect(e);
}
- } : t9.itemDetailActions;
+ } : n9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: t9.itemDetailHelpers,
+ helpers: n9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: G7(),
+ layout: K7(),
selectMode: ql,
selected: new Set(Gl),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : n9()
- }), u7();
+ resume: t || e == null ? null : r9()
+ }), d7();
}
-async function l9() {
+async function u9() {
let e = Y.cloneBarsContext(Wl), t = Zl || "/", n = eu;
- await r9(), i9(!1, !1, { miniplayer: !1 }), _u({ detailReturnBarsContext: null }), CV(), _u({ barsContext: e || {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), _u({ detailReturnBarsContext: null }), CV(), _u({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? _u({ pageOpens: cu + 1 }) : (M7(), location.pathname === "/playlists" && _u({ pageOpens: cu + 1 })));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? _u({ pageOpens: cu + 1 }) : (N7(), location.pathname === "/playlists" && _u({ pageOpens: cu + 1 })));
}
-async function u9(e, t = !0) {
+async function d9(e, t = !0) {
if (t) {
- _u({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));
+ _u({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));
return;
}
- let n = ZV.navigation.seq, r = Y.cloneBarsContext(o5()), i = !s9(), a = wV() || (i ? "/jav?tab=discover" : Zl) || "/jav?tab=discover";
- r8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), _u({
+ let n = ZV.navigation.seq, r = Y.cloneBarsContext(s5()), i = !c9(), a = wV() || (i ? "/jav?tab=discover" : Zl) || "/jav?tab=discover";
+ i8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), _u({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Ol();
- let [o, s] = await Promise.all([n8(t9.stageHost), B("/healthz")]);
+ let [o, s] = await Promise.all([r8(n9.stageHost), B("/healthz")]);
ZV.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void l9(),
+ close: () => void u9(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
ZV.navigation.seq === n && t && t !== e && QV("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -78547,56 +78666,56 @@ async function u9(e, t = !0) {
});
},
openTag: (e) => {
- S7((t) => {
+ C7((t) => {
t.tag = e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- receipt: (e) => S8.toast({ text: e })
+ receipt: (e) => C8.toast({ text: e })
}
- }), u7());
+ }), d7());
}
-async function d9(e = null, t = !0) {
- t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await Kje(t9.immerseHost)).open(e));
+async function f9(e = null, t = !0) {
+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await qje(n9.immerseHost)).open(e));
}
-function dPe() {
- t9.total = 0, t9.facets = null, t9.stageHost = {
+function fPe() {
+ n9.total = 0, n9.facets = null, n9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => S8.toast({ text: e }, t),
- loadSourceStatus: () => Y7(),
+ toast: (e, t) => C8.toast({ text: e }, t),
+ loadSourceStatus: () => X7(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? D9(t, !0, n) : c9(t, !0);
+ e === "follow" ? O9(t, !0, n) : l9(t, !0);
},
- openItem: (e) => void c9(e)
- }, t9.stageOpen = () => !!r8()?.isOpen();
+ openItem: (e) => void l9(e)
+ }, n9.stageOpen = () => !!i8()?.isOpen();
}
-function fPe() {
- t9.itemDetailHelpers = {
+function pPe() {
+ n9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => LF(e),
- displayName: (e) => IF(e),
+ titleHtml: (e) => wF(e),
+ displayName: (e) => CF(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Ml(e),
isDurationTag: (e) => Bn.has(e),
- tagCandidates: () => t9.facets && t9.facets.tags || [],
+ tagCandidates: () => n9.facets && n9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => s2("正在读取推荐", {
+ relatedSkeletonHtml: () => c2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => _7(e),
- wireDrag: (e) => e9(e),
+ mixRelated: (e) => v7(e),
+ wireDrag: (e) => t9(e),
wireDragReorder: (e, t) => Lc(e, t)
- }, t9.itemDetailActions = {
- close: () => l9(),
+ }, n9.itemDetailActions = {
+ close: () => u9(),
present: (e) => {
_u({ presentedItem: e });
let t = Wl;
@@ -78604,65 +78723,65 @@ function fPe() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), nu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${nu}`, !1, TV("item")), _u({ pendingQueueRoute: null })), M7();
+ } }), nu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${nu}`, !1, TV("item")), _u({ pendingQueueRoute: null })), N7();
},
redirect: (e) => {
let t = !!nu;
e.kind === "follow" ? (Q.queueOpenRequest = null, _u({
pendingQueueRoute: null,
followDetailReturnPath: Zl || "/"
- }), Q.route(`/posts/${e.id}`, !t, TV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : x5() : i9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, TV("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? l9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : S5() : a9(!1);
},
- openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void o9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = ru;
if (!e) return;
let t = tu;
- t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);
+ t ? o9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : l9(e.id, !1);
},
- checkSource: async (e) => (await Y7())[e] !== !1,
+ checkSource: async (e) => (await X7())[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) => v5(e, t),
- openUnowned: () => g7({ owner: "none" }, !0),
- openRegion: (e) => g7({ region: e || "none" }, !0),
+ openEntity: (e, t) => y5(e, t),
+ openUnowned: () => _7({ owner: "none" }, !0),
+ openRegion: (e) => _7({ region: e || "none" }, !0),
openTag: (e) => {
- S7((t) => {
+ C7((t) => {
t.tag = e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- addToPlaylist: (e) => WMe(e),
- saveMix: (e) => UMe(e),
- editPlaylist: () => b9("/playlists"),
- openPlaylists: () => b9("/playlists"),
- reveal: (e) => p5(e),
- sync: (e) => FMe(e),
+ addToPlaylist: (e) => GMe(e),
+ saveMix: (e) => WMe(e),
+ editPlaylist: () => x9("/playlists"),
+ openPlaylists: () => x9("/playlists"),
+ reveal: (e) => m5(e),
+ sync: (e) => IMe(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (CV(), i9(!0, !1, { miniplayer: !1 })), await L7());
+ U.state === "ads" && (t || e === "trash") && (t || (CV(), a9(!0, !1, { miniplayer: !1 })), await R7());
},
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: (e, t) => S8.actionFailure(e, t)
- }, t9.immerseHost = {
+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => C8.actionFailure(e, t)
+ }, n9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => IF(e),
+ displayName: (e) => CF(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => g7(),
- openItem: (e) => void c9(e),
- openEntity: (e, t) => v5(e, t),
- openUnowned: () => g7({ owner: "none" }, !0),
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => S8.actionFailure(e, t)
- }, t9.immerseOpen = () => !!o8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => d9());
+ closed: () => _7(),
+ openItem: (e) => void l9(e),
+ openEntity: (e, t) => y5(e, t),
+ openUnowned: () => _7({ owner: "none" }, !0),
+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
+ warn: (e) => C8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => C8.actionFailure(e, t)
+ }, n9.immerseOpen = () => !!s8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => f9());
}
// src/application/tutorial.js
-var f9 = {
+var p9 = {
postSetupTutorialDone: void 0,
postSetupTutorialNeedsReopen: void 0,
postSetupTutorialTasks: void 0,
@@ -78671,29 +78790,29 @@ var f9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function pPe() {
- rl(), await f9.writePostSetupTutorialDone(!1), await p9();
+async function mPe() {
+ rl(), await p9.writePostSetupTutorialDone(!1), await m9();
}
-async function p9() {
+async function m9() {
let e = L("#postSetupTutorial");
if (!e) return;
let t = () => {
e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");
};
- if (f9.postSetupTutorialNeedsReopen && (f9.postSetupTutorialNeedsReopen = !1, await f9.writePostSetupTutorialDone(!1).catch(() => {})), qc() !== "pending" || await f9.readPostSetupTutorialDone()) {
+ if (p9.postSetupTutorialNeedsReopen && (p9.postSetupTutorialNeedsReopen = !1, await p9.writePostSetupTutorialDone(!1).catch(() => {})), qc() !== "pending" || await p9.readPostSetupTutorialDone()) {
t();
return;
}
let n = tl();
e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${R("compass")}<p>正在检查安装进度…</p></article>`);
try {
- let r = await f9.postSetupTutorialTasks();
+ let r = await p9.postSetupTutorialTasks();
if (!nl(n)) return;
let i = new Set(r.map((e) => e.key)), a = new Set([...Zc()].filter((e) => i.has(e)));
Qc(a);
let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);
if (!s.length) {
- Jc("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});
+ Jc("complete"), t(), await p9.writePostSetupTutorialDone(!0).catch(() => {});
return;
}
let c = $c(o);
@@ -78701,33 +78820,33 @@ async function p9() {
e.removeAttribute("aria-busy");
return;
}
- e.innerHTML = f9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");
+ e.innerHTML = p9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");
let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");
d.inert = Yc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {
let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";
t.dataset.collapsed = String(n), Xc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), xo(d, !n);
}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {
let t = Zc(), n = e.dataset.tutorialSkip;
- t.add(n), Qc(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
+ t.add(n), Qc(t), C8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
let e = Zc();
- e.delete(n), Qc(e), Jc("pending"), await p9();
- } }), p9();
+ e.delete(n), Qc(e), Jc("pending"), await m9();
+ } }), m9();
}));
let f = new Map(o.map((e) => [e.key, e]));
e.querySelectorAll("[data-tutorial-task]").forEach((e) => J.handler(e, "onclick", (t) => {
let n = f.get(e.dataset.tutorialTask);
- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), f9.openTutorialTarget(n));
- })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => f9.openTutorialTarget(l));
+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), p9.openTutorialTarget(n));
+ })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => p9.openTutorialTarget(l));
} catch {
if (!nl(n)) return;
e.innerHTML = il(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {
- delete e.dataset.tutorialSignature, e.innerHTML = "", p9();
+ delete e.dataset.tutorialSignature, e.innerHTML = "", m9();
}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function mPe() {
- if (_u({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, su) {
- Jc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;
+function hPe() {
+ if (_u({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), p9.postSetupTutorialDone = null, p9.postSetupTutorialNeedsReopen = !1, su) {
+ Jc("pending"), p9.postSetupTutorialDone = !1, p9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
e.searchParams.delete("onboarding"), QV(e, {
replace: !0,
@@ -78741,7 +78860,7 @@ function mPe() {
state: ZV.navigation.location.state
})), t === "on" && import("/dev/agentation.js").catch(() => {});
}
- f9.postSetupTutorialTasks = async () => {
+ p9.postSetupTutorialTasks = async () => {
let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await on("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);
return [
{
@@ -78794,7 +78913,7 @@ function mPe() {
icon: "square-check-big"
}
];
- }, f9.postSetupTutorialHtml = (e, t, n) => {
+ }, p9.postSetupTutorialHtml = (e, t, n) => {
let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = Yc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">
<a href="${e.href}" data-tutorial-task="${e.key}">
<span class="post-setup-check" aria-hidden="true">${e.done ? R("check") : R(e.icon)}</span>
@@ -78815,19 +78934,19 @@ function mPe() {
<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer>
</div>
</article>`;
- }, f9.writePostSetupTutorialDone = async (e) => {
- f9.postSetupTutorialDone = e, await on("/api/settings", {
+ }, p9.writePostSetupTutorialDone = async (e) => {
+ p9.postSetupTutorialDone = e, await on("/api/settings", {
method: "POST",
body: JSON.stringify({ postSetupTutorialDone: e })
});
- }, f9.readPostSetupTutorialDone = async () => {
- if (f9.postSetupTutorialDone === null) try {
- f9.postSetupTutorialDone = (await on("/api/settings")).postSetupTutorialDone === !0;
+ }, p9.readPostSetupTutorialDone = async () => {
+ if (p9.postSetupTutorialDone === null) try {
+ p9.postSetupTutorialDone = (await on("/api/settings")).postSetupTutorialDone === !0;
} catch {
- f9.postSetupTutorialDone = !1;
+ p9.postSetupTutorialDone = !1;
}
- return f9.postSetupTutorialDone;
- }, f9.openTutorialTarget = (e) => {
+ return p9.postSetupTutorialDone;
+ }, p9.openTutorialTarget = (e) => {
e.setupEntry && _u({ cameFromSetup: !0 }), Q.navigatePath(e.href);
};
}
@@ -78851,40 +78970,40 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function m9() {
- let e = f8();
- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));
+function h9() {
+ let e = p8();
+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));
}
-function h9(e = {}) {
+function g9(e = {}) {
let t = Q.surfacePath();
- t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {
- ...B5.sidebarProps,
+ t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {
+ ...V5.sidebarProps,
content: null,
latest: null
- }), B5.sidebarProps = {
- ...B5.sidebarProps,
+ }), V5.sidebarProps = {
+ ...V5.sidebarProps,
...e
- }, f8()?.render(B5.sidebarProps);
-}
-function g9() {
- h9(), m9(), l7();
+ }, p8()?.render(V5.sidebarProps);
}
function _9() {
+ g9(), h9(), u7();
+}
+function v9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, _u({ pendingQueueRoute: null });
}
-function v9(e, t, n) {
- _9(), SV(), Q.requestedOverlay = {
+function y9(e, t, n) {
+ v9(), SV(), Q.requestedOverlay = {
path: e,
open: n
}, Q.route(e, !1, TV(t));
}
-function y9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), h9(), CV(), p9();
+function b9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), g9(), CV(), m9();
}
-function b9(e) {
+function x9(e) {
Q.route(e), _u({ pageOpens: cu + 1 });
}
-function hPe() {
+function gPe() {
Q.routeMeta = (e) => {
let t = OV(e);
return t ? { route: t } : null;
@@ -78892,7 +79011,7 @@ function hPe() {
let t = OV(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !vV(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? d9(iPe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? cNe() : e) : (O5(!1, !0), b9(M5({
+ e === "/immerse" ? f9(aPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? lNe() : e) : (k5(!1, !0), x9(N5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -78901,34 +79020,34 @@ function hPe() {
})));
};
}
-function gPe() {
+function _Pe() {
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) => (X8(e) || Z8(), HV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && z7(), 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) => (Z8(e) || Q8(), HV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && B7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, QV(e, {
replace: t,
state: n
- }), F5.syncPageTitle(e), queueMicrotask(() => {
- l7(), Q5(), h9(), p9();
+ }), I5.syncPageTitle(e), queueMicrotask(() => {
+ u7(), $5(), g9(), m9();
});
}, Q.navigatePath = (e, t = !1, n) => {
t ? ZV.replace(e, n) : ZV.push(e, n), queueMicrotask(() => {
- l7(), Q5();
+ u7(), $5();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function _Pe(e, t, n) {
+function vPe(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="${z(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>${z(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function vPe(e, t = 0, n = 0) {
- return n > 0 ? _Pe(e, t, n) : Ss(e);
+function yPe(e, t = 0, n = 0) {
+ return n > 0 ? vPe(e, t, n) : Ss(e);
}
-async function yPe(e) {
+async function bPe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -78943,14 +79062,14 @@ async function yPe(e) {
await t(2e3);
}
}
-function bPe(e) {
+function xPe(e) {
let t = e.note || ((e) => ys(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Ss, r = e.progress || ((e, t, n) => vPe(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 || Ss, r = e.progress || ((e, t, n) => yPe(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;
- yPe({
+ bPe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -78999,25 +79118,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function xPe(e) {
+function SPe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- S8.toast({ text: Ci(e) }, {
+ C8.toast({ text: Ci(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => E9(!0)
+ run: () => D9(!0)
}
});
}
-function x9() {
- return ua(S9());
+function S9() {
+ return ua(C9());
}
-function SPe() {
+function CPe() {
return $.controller.read();
}
-function S9() {
+function C9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -79032,33 +79151,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 CPe() {
+function wPe() {
let e = IV(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function w9() {
- return !!CPe();
+function T9() {
+ return !!wPe();
}
-function T9(e) {
- w9() && VV(L("#stats"), e);
+function E9(e) {
+ T9() && VV(L("#stats"), e);
}
-function wPe(e, t = {}) {
+function TPe(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 && _u({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));
+ !location.pathname.startsWith("/posts/") && !r && _u({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));
return;
}
Ol(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && _u({ followDetailReturnPath: location.pathname + location.search }), !t && !r && _u({ followDetailReturnPath: wV() || "/follow" }), t && SV(), r8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, TV("follow")), await (await n8(t9.stageHost)).open({
+ t && i && !r && _u({ followDetailReturnPath: location.pathname + location.search }), !t && !r && _u({ followDetailReturnPath: wV() || "/follow" }), t && SV(), i8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, TV("follow")), await (await r8(n9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -79066,66 +79185,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 : n9()
- }), u7();
+ resume: t ? null : r9()
+ }), d7();
}
-async function TPe() {
- await r9(), i9(!1, !1, { miniplayer: !1 }), CV(), Q.route(iu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && w9() ? (SPe(), T9({ view: S9() })) : _u({ pageOpens: cu + 1 }));
+async function EPe() {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), CV(), Q.route(iu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (CPe(), E9({ view: C9() })) : _u({ pageOpens: cu + 1 }));
}
-function EPe(e) {
+function DPe(e) {
let t = document.createElement("div");
return t.className = "peach-react", Is(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function DPe() {
+function OPe() {
$.followFeedHelpers = Pl({
wireDrag: (e) => {
- e && e9(e);
+ e && t9(e);
},
wireScroller: (e) => {
e && cc(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: bPe
+ jobProgress: xPe
}), $.followFeedActions = {
- loaded: (e) => W5(e),
- openDetail: (e) => D9(e),
+ loaded: (e) => G5(e),
+ openDetail: (e) => O9(e),
openAuthor: (e) => Q.navigatePath(hn("creator", e)),
- toggleSelection: (e, t) => XMe(e, t),
+ toggleSelection: (e, t) => ZMe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();
},
setPhotoLayout: (e) => {
- CA(e), u5();
+ HA(e), d5();
},
- canFlip: () => !ql && !Q7() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: (e, t) => S8.actionFailure(e, t),
- checkReport: (e) => xPe(e)
+ canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => C8.actionFailure(e, t),
+ checkReport: (e) => SPe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- r8()?.showing() !== "follow" && (Ol(), i9(!1), H5(), !w9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && HV(L("#stats")), L("#stats").replaceChildren()));
+ i8()?.showing() !== "follow" && (Ol(), a9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && HV(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = Hl({
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
rememberReturn: (e) => _u({ followDetailReturnPath: e }),
- close: () => void TPe(),
- open: (e, t, n) => void D9(e, !0, t, n),
- drawer: W5,
+ close: () => void EPe(),
+ open: (e, t, n) => void O9(e, !0, t, n),
+ drawer: G5,
openAuthor: (e) => Q.navigatePath(hn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: S8.actionFailure
+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
+ failure: C8.actionFailure
});
}
-function OPe() {
+function kPe() {
$.controller = pa({
location: () => location,
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
session: () => ({
discoverySeed: du,
revision: fu,
@@ -79139,20 +79258,20 @@ function OPe() {
preferences: () => ({
selectMode: ql,
selected: Kl,
- photoSize: _A(),
- photoLayout: vA(),
+ photoSize: IA(),
+ photoLayout: LA(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
- live: w9,
- push: T9,
+ live: T9,
+ push: E9,
route: Q.route,
- openPage: b9,
- rollSeed: () => Number(S8.rollSeed()),
+ openPage: x9,
+ rollSeed: () => Number(C8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- Ol(), H5(), V5({ manage: !1 });
+ Ol(), U5(), H5({ manage: !1 });
},
- syncPhotoWalls: u5,
+ syncPhotoWalls: d5,
scrollTop: () => window.scrollTo({
top: 0,
behavior: "smooth"
@@ -79160,19 +79279,19 @@ function OPe() {
}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;
}
// src/application/lifecycle.js
-function kPe() {
- hSe(), Ac(document), vo(document.documentElement, { variant: "page" }), vo(L("#drawerScroll")), J.own(Dc()), Ta(document.body), X.homeHasFeed = DMe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {
+function APe() {
+ hSe(), Ac(document), vo(document.documentElement, { variant: "page" }), vo(L("#drawerScroll")), J.own(Dc()), Ta(document.body), X.homeHasFeed = OMe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, 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 = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
// src/react/search/recommendations.ts
-async function APe(e) {
+async function jPe(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -79196,9 +79315,9 @@ async function APe(e) {
let t = Xi(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = Zi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = XU(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 = Zi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = ZU(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: KU(r),
+ value: qU(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -79214,7 +79333,7 @@ async function APe(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: YU(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: XU(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, {
@@ -79284,7 +79403,7 @@ async function APe(e) {
];
}
// src/application/search-morph.js
-function jPe(e, t, n, r, i, a, o) {
+function MPe(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);
@@ -79299,65 +79418,65 @@ function jPe(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 MPe(e) {
+function NPe(e) {
let t = e ? Ia({
...e,
is_jav: !!e.code
}, Z.appSettings.javImage) : "";
return t === "cover" ? no(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, L(".search").classList.remove("search-morphing");
+function j9() {
+ k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");
}
-function j9(e) {
+function M9(e) {
let t = L(".search"), n = L("#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), L("#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 = xc();
t.classList.add("search-morphing");
- let h = t.animate(jPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(MPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- O9.searchMorph = h, J.handler(h, "onfinish", () => {
- O9.searchMorph === h && A9();
+ k9.searchMorph = h, J.handler(h, "onfinish", () => {
+ k9.searchMorph === h && j9();
});
}
-function NPe() {
- return t9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;
+function PPe() {
+ return n9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;
}
-function PPe(e) {
+function FPe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function FPe() {
- O9.searchControl = null, O9.searchActions = {
+function IPe() {
+ k9.searchControl = null, k9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), i9(!1), U.q = e, vu(), Q.route(U.jav === "1" ? h7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), a9(!1), U.q = e, vu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
- openItem: (e) => c9(e),
- openEntity: (e, t) => v5(e, t),
+ openItem: (e) => l9(e),
+ openEntity: (e, t) => y5(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 = {
+ }, k9.searchHelpers = {
pool: () => kK(U, on),
- recommendations: () => APe(on),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? U8(e) : MPe(e)}</span>`,
+ recommendations: () => jPe(on),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : NPe(e)}</span>`,
present: (e) => Ho(e),
dismiss: (e) => Uo(e),
wireScroller: (e) => cc(e),
@@ -79375,10 +79494,10 @@ function FPe() {
}, BV("search", {
input: L("#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: L("#searchMenu"),
@@ -79391,49 +79510,49 @@ function FPe() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function IPe() {
- O9.searchMorph = null, O9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {
- innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());
- }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), J.handler(L("#searchBtn"), "onclick", () => {
- j9(!0), L("#q").focus({ preventScroll: !0 });
+function LPe() {
+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {
+ innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());
+ }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(L("#searchBtn"), "onclick", () => {
+ M9(!0), L("#q").focus({ preventScroll: !0 });
}), J.handler(L("#searchBack"), "onclick", () => {
- j9(!1), k9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
+ M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
});
let e = (e) => {
- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || j9(!1), k9());
+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());
};
J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(L("#brandHome"), "onclick", (e) => {
- e.preventDefault(), g7(null, !0);
+ e.preventDefault(), _7(null, !0);
}), J.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = l8();
+ let t = u8();
if (t?.isOpen()) {
t.close();
return;
}
if (!L("#searchMenu").hidden) {
- k9();
+ A9();
return;
}
- if (t9.immerseOpen()) {
- o8().close();
+ if (n9.immerseOpen()) {
+ s8().close();
return;
}
- if (t9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), r8().requestClose());
+ if (n9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), i8().requestClose());
return;
}
if (L("#drawer").classList.contains("open")) {
- q5(!1);
+ J5(!1);
return;
}
if (ql || Gl.size || Kl.size) {
- O5(!1, !0);
+ k5(!1, !0);
return;
}
return;
}
- if (PPe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (FPe(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) {
@@ -79441,37 +79560,37 @@ function IPe() {
return;
}
}
- let t = NPe();
+ let t = PPe();
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(), rM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), EM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), nM(t);
+ e.preventDefault(), TM(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), yj(t, ".vjs-mute-control");
+ e.preventDefault(), Bj(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), yj(t, ".vjs-fullscreen-control");
+ e.preventDefault(), Bj(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 LPe(e) {
+function RPe(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;
@@ -79490,74 +79609,74 @@ function LPe(e) {
return n.startsWith("#") && !a?.section || !_V(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;
}
// src/application/composition.js
-var M9 = {
+var N9 = {
shellActions: void 0,
routing: void 0
};
-function RPe() {
+function zPe() {
let e = J, t = (e) => {
- e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);
+ e.kind === "item" ? l9(e.id, !1) : e.kind === "jav" ? d9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : o9(e.queue, e.key, e.item, !1);
};
- if (EMe(), F5.entityShapesReady = W8(), mNe(), location.pathname === "/") {
+ if (DMe(), I5.entityShapesReady = G8(), hNe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);
}
- X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), CNe(), M9.shellActions = {
- openSettings: (e) => J5(e, !0),
- closeSettings: () => l8()?.close(!1),
- openItem: (e) => void c9(e),
- openEntity: (e, t) => void v5(e, t),
+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), wNe(), N9.shellActions = {
+ openSettings: (e) => Y5(e, !0),
+ closeSettings: () => u8()?.close(!1),
+ openItem: (e) => void l9(e),
+ openEntity: (e, t) => void y5(e, t),
openTag: (e) => {
- vNe(), P7(e);
+ yNe(), F7(e);
},
- openTasteSignal: HMe,
+ openTasteSignal: UMe,
navigate: (e) => {
let n = new URL(e, location.href), r = _V(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 && !vV(location.pathname)) {
Q.route(e);
let t = ZV.navigation.seq;
- c6(n.hash, () => ZV.navigation.seq === t);
+ l6(n.hash, () => ZV.navigation.seq === t);
} else Q.navigatePath(e);
},
- openManage: $5,
+ openManage: e7,
managePath: (e) => Q.routePathOf("section", e) || "",
- openFollow: () => E9(),
- receipt: (e, t) => S8.actionReceipt(e, t),
- toast: (e, t) => S8.toast(e, t),
- failure: S8.actionFailure,
- revealSource: p5,
- reopenTutorial: pPe,
- routeReview: GMe,
- routeFollowManage: sNe,
+ openFollow: () => D9(),
+ receipt: (e, t) => C8.actionReceipt(e, t),
+ toast: (e, t) => C8.toast(e, t),
+ failure: C8.actionFailure,
+ revealSource: m5,
+ reopenTutorial: mPe,
+ routeReview: KMe,
+ routeFollowManage: cNe,
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(M5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => O5(!1, !1),
- personAvatar: (e, t, n) => j5.personAvatar(e, t, n),
- authorAvatar: (e) => lNe(e),
- showIndexTags: uNe,
- openFollowAuthor: P5,
- openFollowTag: dNe,
- openPlaylist: (e, t) => void o9(e, t, !0),
- canFlip: () => !ql && !Q7() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => k5(!1, !1),
+ personAvatar: (e, t, n) => M5.personAvatar(e, t, n),
+ authorAvatar: (e) => uNe(e),
+ showIndexTags: dNe,
+ openFollowAuthor: F5,
+ openFollowTag: fNe,
+ openPlaylist: (e, t) => void s9(e, t, !0),
+ canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (Ol(), _u({ barsContext: {
type: "home",
filters: U
- } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (Ol(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (Ol(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));
+ } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (Ol(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (Ol(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;
- t9.requestedImmerseId = void 0, d9(t, !1);
+ let t = n9.requestedImmerseId === void 0 ? e : n9.requestedImmerseId;
+ n9.requestedImmerseId = void 0, f9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -79568,7 +79687,7 @@ function RPe() {
Q.requestedOverlay = null, ZV.navigation.claimed && (!$V() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : ($V() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
- t9.stageOpen() && i9(!1);
+ n9.stageOpen() && a9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -79576,64 +79695,64 @@ function RPe() {
},
configurable: () => !!ou,
surfaceShown: (e) => {
- e === "index" ? (g9(), u7()) : M7();
+ e === "index" ? (_9(), d7()) : N7();
},
entity: {
missing: (e) => {
- M9.shellActions.surfaceChanged("entity", location.pathname), _5(e);
+ N9.shellActions.surfaceChanged("entity", location.pathname), v5(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 = o5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);
+ let i = s5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(s5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => m7("local,115"),
+ defaultLoc: () => h7("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
- n && (y9(), l7(), Q5()), t && O8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = U.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());
+ n && (b9(), u7(), $5()), t && k8(), e === "/trash" ? (X.clearSearchField(), W5()) : (L("#q").value = U.q, X.rememberSearchValue()), _9(), N7(), Z.handOff(R7());
},
load: () => {
- Z.handOff(L7());
+ Z.handOff(R7());
},
fill: () => {
- if (H7() || !$V() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if (U7() || !$V() && !L("#grid").querySelector(".catalog-skeleton")) return;
let e = L("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), V7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- z7(), Z8();
+ B7(), Q8();
}
}
- }, M9.routing = !1, e.listen(document, "click", (e) => {
- let t = LPe(e);
- t && (e.preventDefault(), M9.shellActions.navigate(t));
+ }, N9.routing = !1, e.listen(document, "click", (e) => {
+ let t = RPe(e);
+ t && (e.preventDefault(), N9.shellActions.navigate(t));
}), J.own(ZV.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !vV(e.location.pathname) && i9(!1), M9.routing && !e.claimed && y9();
- })), Wje(M9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), ENe(), tNe(), X5(), Promise.all([
- Y7(),
- wNe(),
- F5.entityShapesReady
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !vV(e.location.pathname) && a9(!1), N9.routing && !e.claimed && b9();
+ })), Gje(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), DNe(), nNe(), Z5(), Promise.all([
+ X7(),
+ TNe(),
+ I5.entityShapesReady
]).then(() => {
- e.isActive && (F5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), rPe(), M9.routing = !0, _u({ pageOpens: 1 }), y9(), u7());
+ e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), iPe(), N9.routing = !0, _u({ pageOpens: 1 }), b9(), d7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
-var N9 = !1;
-async function zPe(e, t) {
- if (N9) return;
+var P9 = !1;
+async function BPe(e, t) {
+ if (P9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
return;
}
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");
- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, N9 = !0, document.head.append(o);
+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, P9 = !0, document.head.append(o);
let s = document.documentElement;
s.dataset.themeSnapshot = "true";
let c = !1, l = () => {
@@ -79644,11 +79763,11 @@ async function zPe(e, t) {
} catch {
l();
} finally {
- delete s.dataset.themeSnapshot, o.remove(), N9 = !1;
+ delete s.dataset.themeSnapshot, o.remove(), P9 = !1;
}
}
// src/application/chrome.js
-function BPe() {
+function VPe() {
(() => {
let e = J, t = [
"#brandHome",
@@ -79731,7 +79850,7 @@ function BPe() {
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="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(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), q5(!1), S5("媒体库与入库");
+ u.setOpen(!1), J5(!1), C5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -79748,18 +79867,18 @@ function BPe() {
(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="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("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" && zPe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), oA();
+ t.getAttribute("aria-pressed") !== "true" && BPe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), TA();
});
- })), oA();
+ })), TA();
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 = Ko(g, v, _);
- e.own(y.dispose), e.own(vse(v)), Zje({
+ e.own(y.dispose), e.own($oe(v)), Qje({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), q5(!1), J5("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), J5(!1), Y5("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -79771,7 +79890,7 @@ function BPe() {
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 = !K5();
+ let r = n.classList.contains("open"), i = !q5();
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(J, window)("resize", b);
@@ -79895,33 +80014,33 @@ function BPe() {
subtree: !0
}), y();
}
- })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function VPe() {
- kPe(), hPe(), hNe(), gPe(), aPe(), $je(), XNe(), mPe(), zMe(), dPe(), nNe(), ZNe(), MMe(), KMe(), DPe(), fNe(), BMe(), OPe(), pNe(), VMe(), MNe(), QNe(), FPe(), fPe(), IPe(), oPe(), RPe(), BPe(), J.own(z7), J.own(_9);
+function HPe() {
+ APe(), gPe(), gNe(), _Pe(), oPe(), eMe(), ZNe(), hPe(), BMe(), fPe(), rNe(), QNe(), NMe(), qMe(), OPe(), pNe(), VMe(), kPe(), mNe(), HMe(), NNe(), $Ne(), IPe(), pPe(), LPe(), sPe(), zPe(), VPe(), J.own(B7), J.own(v9);
}
// src/ui-kit/middle-truncate.ts
-var P9 = "…", F9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, I9 = /* @__PURE__ */ new WeakMap(), L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = /* @__PURE__ */ new Set(), V9 = (e) => F9 ? [...F9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function HPe(e, t) {
- let n = V9(e);
+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 UPe(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 = P9;
+ let r = 0, i = Math.max(0, n.length - 1), a = F9;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + P9 + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + F9 + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var H9 = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (H9.canvas ||= document.createElement("canvas")).getContext("2d");
+var U9 = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (U9.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, V9(t).length - 1) * a);
+ 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 }), UPe = (e) => {
+}, { canvas: null }), WPe = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -79931,56 +80050,56 @@ var H9 = 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);
-}, WPe = (e) => {
- let t = I9.get(e);
+}, GPe = (e) => {
+ let t = L9.get(e);
if (!t || !e.isConnected) return;
- let n = UPe(e), r = n > 0 ? HPe(t.full, (t) => H9(e, t) <= n) : t.full;
+ let n = WPe(e), r = n > 0 ? UPe(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");
-}, U9 = (e) => {
- let t = I9.get(e);
+}, W9 = (e) => {
+ let t = L9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, WPe(e);
+ t.raf = 0, GPe(e);
}));
-}, W9 = (e) => {
- e instanceof HTMLElement && (I9.has(e) || I9.set(e, {
+}, G9 = (e) => {
+ e instanceof HTMLElement && (L9.has(e) || L9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
- }), L9.has(e) || (L9.add(e), B9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? R9?.observe(e.parentElement) : R9?.observe(e)), U9(e));
-}, G9 = (e) => {
+ }), R9.has(e) || (R9.add(e), V9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? z9?.observe(e.parentElement) : z9?.observe(e)), W9(e));
+}, K9 = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && W9(t), t.querySelectorAll("[data-middle-truncate]").forEach(W9);
+ t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);
};
-function K9(e = document) {
- z9?.(), L9 = /* @__PURE__ */ new WeakSet(), B9 = /* @__PURE__ */ new Set();
- let t = B9, n = !0;
- R9 = new ResizeObserver((e) => e.forEach((e) => {
- n && (U9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(U9));
+function KPe(e = document) {
+ B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();
+ let t = V9, n = !0;
+ z9 = new ResizeObserver((e) => e.forEach((e) => {
+ n && (W9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(W9));
}));
- let r = R9;
- G9(e.documentElement || e);
+ let r = z9;
+ K9(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(G9);
+ e.addedNodes.forEach(K9);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
- let r = I9.get(t);
- r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), U9(t));
+ let r = L9.get(t);
+ r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), W9(t));
}));
i.observe(e.body || e, {
childList: !0,
characterData: !0,
subtree: !0
}), document.fonts?.ready?.then(() => {
- n && e.querySelectorAll("[data-middle-truncate]").forEach(U9);
+ n && e.querySelectorAll("[data-middle-truncate]").forEach(W9);
});
let a = (e) => {
let t = document.getSelection();
if (!t || t.isCollapsed) return;
- let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && I9.get(n);
+ let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && L9.get(n);
r && n.contains(t.focusNode) && e.clipboardData && (e.clipboardData?.setData("text/plain", r.full), e.preventDefault());
};
e.addEventListener("copy", a);
@@ -79988,13 +80107,13 @@ function K9(e = document) {
if (n) {
n = !1, r.disconnect(), i.disconnect(), e.removeEventListener("copy", a);
for (let e of t) {
- let t = I9.get(e);
+ let t = L9.get(e);
t?.raf && (cancelAnimationFrame(t.raf), t.raf = 0);
}
- t.clear(), z9 === o && (z9 = null, R9 = null);
+ t.clear(), B9 === o && (B9 = null, z9 = null);
}
};
- return z9 = o, o;
+ return B9 = o, o;
}
// src/react/result-updates.tsx
var q9 = [
@@ -80028,7 +80147,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], GPe = {
+], qPe = {
catalog: [
...q9,
...J9,
@@ -80049,10 +80168,10 @@ var q9 = [
"avatar-choices"
]
};
-function KPe() {
+function JPe() {
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 GPe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of qPe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -80065,12 +80184,12 @@ function KPe() {
})), t || Promise.resolve();
};
}
-function qPe() {
+function YPe() {
let e = Pt({
- queryKey: zF,
- queryFn: ({ signal: e }) => VF(e),
- refetchInterval: (e) => BF(e.state.data)
- }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(KPe), r = e.data?.result_versions;
+ queryKey: EF,
+ queryFn: ({ signal: e }) => OF(e),
+ refetchInterval: (e) => DF(e.state.data)
+ }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(JPe), r = e.data?.result_versions;
return (0, P.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -80080,52 +80199,52 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function JPe() {
+function XPe() {
if (!X9) {
- let e = Qje();
+ let e = $je();
X9 = {
effects: e,
owners: 0
- }, e.own(K9(document)), e.own(() => {
+ }, e.own(KPe(document)), e.own(() => {
Ol(), H.cancelQueries();
- }), e.own(Gje), e.own(Zme), e.own(Bo);
+ }), e.own(Kje), e.own(Zme), e.own(Bo);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function YPe() {
+function ZPe() {
let [e, t] = (0, P.useState)(null);
return (0, P.useLayoutEffect)(() => {
- let e = X9 === null, n = JPe(), r = Uje(t);
+ let e = X9 === null, n = XPe(), r = Wje(t);
if (e) try {
- VPe();
+ HPe();
} catch (e) {
throw r(), n.effects.dispose(), X9 = null, e;
}
return () => {
r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));
};
- }, []), /* @__PURE__ */ (0, F.jsx)(zge, {
+ }, []), /* @__PURE__ */ (0, F.jsx)(Rge, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, F.jsx)(qPe, {}) : null
+ background: e ? /* @__PURE__ */ (0, F.jsx)(YPe, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function XPe(e) {
+function QPe(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, Rt.createRoot)(e, Bge);
+ let n = (0, Rt.createRoot)(e, zge);
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, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(YPe, {}))), n;
+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(ZPe, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-XPe($9);
-export { NI as $2ec61d1d4f780267$export$a8a3e93435678ff9, VI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, iR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, uT as $72abaeab4d80592f$export$78efe591171d7d45, XR as $76d00c5a4edb230a$export$76ccd210b9029917, qR as $76d00c5a4edb230a$export$816b5d811295e6bc, $R as $76d00c5a4edb230a$export$b59bdbef9ce70de2, tz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, KR as $76d00c5a4edb230a$export$f850895b287ef28e, gfe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, hfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ffe as $b4f18e3395fe64d7$export$b2539bed5023c21c, az as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, yfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, ZC as $ea3928288112382f$export$439d29a4e110a164, _R as $f2ff30fde7b014be$export$3ddf2d174ce01153, wR as $fe21c36db05242bb$export$a98f0dcb43a68a25, TR as $fe21c36db05242bb$export$d7b12c4107be0d61, tpe as $l, Wk as ACCENTS, jTe as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, MTe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, RW as ArtSlot, q as Button, dI as ButtonLink, upe as Bx, Qt as CLOUD_LOCATIONS, X1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, c1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, NTe as COOKIE_TEXT_LIMIT, Y$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, G$ as CUSTOM_SOURCES_KEY, W$ as CUSTOM_SOURCES_URL, aV as Checkbox, iV as CheckboxGlyph, YB as ChevronSortDown, sZ as Chip, q2 as CloudDownloadDialog, qH as CollapseChevron, KH as CollapseRegion, f$ as CollectionSummary, mbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, dxe as DIRECTORY_TEMPLATE_ERROR, j0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, _Y as DUPLICATES_KEY, QJ as DataTableFooter, JJ as DataTableFrame, ZJ as DataTableSort, $H as Disclosure, HOe as DownloadsPanel, Kfe as E3, hbe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, ipe as Ea, xpe as EmptyFocusButton, Lz as EmptyState, ZH as ErrorText, ige as ExternalLink, Sr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, VAe as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, oge as Fact, age as FactList, QH as FieldLabel, L$ as Fieldset, I$ as FieldsetTitle, pue as FilterGlass, iI as FilterGlassRows, rI as FilterIconButton, aI as FilterPill, rge as Footer, xz as Gg, oI as GlassPill, XH as Help, Oz as HintText, NAe as IDLE_POLL_MS, rbe as IDLE_REPAIR, $F as IconButton, Nz as Input, Mz as InputBase, cA as JAV_LAYOUTS, N0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Z3 as JavHeader, Zye as KEEP_LABELS, wr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, fH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, Lbe as LINK_KINDS, VY as LINK_PRUNE_KEY, Ln as LOC, Dz as Label, B$ as LibraryProcessingCard, eB as LibraryShortcuts, OH as LinkButton, VH as LoadingDots, Jfe as M6, Hbe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, SY as MEDIA_REPAIR_KEY, xY as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Zo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, $B as MENU_ITEM, eV as MENU_ITEM_INTERACTIVE, QB as MENU_POPOVER_SURFACE, MH as MenuDialog, PG as MixCard, Pz as ModalFrame, Qv as MotionConfigContext, Ez as NR, Iz as Note, _pe as OA, oX as ORGANIZE_KEY, lX as ORPHAN_RECORDS_KEY, bz as OV, pz as P7, Ywe as PHASES, JY as PICK_FOLDER_URL, H$ as PLAYLISTS_KEY, NEe as POLICY_COLUMNS, FEe as POLICY_COVER_NOTE, PEe as POLICY_MATRIX, K1 as POLICY_SUMMARY, XJ as Pagination, z$ as PathLine, AF as PillTabList, UH as Progress, DY as QUALITY_GOALS_KEY, A$ as REPAIR_CARD_TEXT, CY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, cTe as RESULT_PANEL, lTe as RESULT_SECTION, pbe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, AY as REVIEW_KEY, jY as REVIEW_LABELS, LW as RetryNote, gpe as Rf, ege as Rows, kTe as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, OTe as SCRAPING_SETTINGS_URL, IU as SEGMENT, FU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, l3 as STATS_KEY, $he as Section, nge as SectionSkeleton, PU as SegmentedRadioGroup, Xge as SegmentedTabList, hW as Segments, YJ as Select, DU as Select$1, f1 as SelectField, OU as SelectItem, aY as SelectionActions, Sk as SelectionDock, oY as SelectionPopover, JH as SettingsCard, Qhe as SettingsRow, YH as SettingsSectionLabel, uge as SiteLabel, VU as SortDirectionIcon, vW as SortKeys, mQ as SourceAvatar, rU as SourceLabel, eU as SourceMark, tge as Stack, R$ as StatusLabel, P2 as Switch, zF as TASKS_KEY, SAe as TASTE_REFRESH_KEY, CAe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, qle as TRIGGER_LABELS, zJ as Table, sY as TableColumnControls, cY as TableColumnResizer, uY as TableSelectionHeader, t$ as TagManager, WH as TaskProgress, Az as TextField, kz as TextFieldContext, yz as Un, g$ as WANTS_KEY, r4 as WantMagnets, hp as WithPromise, mz as Wt, vz as Xc, Tz as Xf, Xfe as Xt, qfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, hpe as aB, si as addAlias, oi as addSource, v$ as addWant, B as apiGet, V as apiSend, nA as appSettingsStore, Axe as applyConfirmText, SX as applyLeftovers, kxe as applyPlanText, Mxe as applyText, oA as applyTheme, Xg as asNumber, vxe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Dq as autoResetPageIndex, Za as avatarInner, h3 as bandRows, fxe as baseName, nbe as batchOperate, Dk as boundedPreference, $ye as bulkCloudPreferences, Vz as busyProps, mpe as cB, QOe as cachedMagnetStates, ap as calcGeneratorVelocity, xbe as canApprove, kf as cancelFrame, Cxe as candidateText, BH as cardClass, xA as cardRatio, _z as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Vbe as checkLine, Ci as checkReceipt, wi as checkSummary, FTe as checkText, Di as checkedText, oG as clickedBlank, Gye as cloudLocations, D0 as cloudProxySkeleton, vx as clsx, spe as cn, ph as collectMotionValues, qq as columnVisibilityFeature, PJ as column_getCanSort, AJ as column_getSortFn, ybe as commonReviewSources, lV as configurationSection, DAe as configureTasteBrowser, Vc as confirmModal, lq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Rq as createColumnHelper, STe as createPlaylist, ji as credentialDone, C0 as credentialsSkeleton, Abe as currentReviewRow, DF as cx, Cz as dZ, Dbe as decisionPayload, Obe as decisionReceipt, Ebe as defaultChoice, wTe as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, rTe as discoveryArtwork, C$ as discoveryKey, aDe as discoveryScore, Yye as distinctName, Nbe as dropReviewRows, xi as dropSources, ppe as du, ebe as duplicateVictims, KF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Eq as expandRowModel, uz as f1, Fr as feedIntervalText, $$ as fetchAmaneBridge, $r as fetchCheckJob, l1 as fetchConfiguration, Q$ as fetchCoverJob, Qr as fetchCredentials, K$ as fetchCustomSources, MQ as fetchDiagnostics, w$ as fetchDiscoveries, yY as fetchDuplicates, Hle as fetchEarlier, Gbe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Wbe as fetchFollowSchedule, OX as fetchJunkSummary, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, Ube as fetchMediaProcessing, wY as fetchMediaRepair, tr as fetchMediaSources, sX as fetchOrganize, ixe as fetchOrganizeExample, uX as fetchOrphanRecords, fi as fetchPending, U$ as fetchPlaylists, OY as fetchQualityGoals, TY as fetchRepairLibraries, ei as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, DX as fetchReviewCounts, iX as fetchSettings, Z$ as fetchSources, u3 as fetchStats, ti as fetchSuggestions, VF as fetchTasks, F3 as fetchTaste, OAe as fetchTasteJob, Kbe as fetchThumbnailJobs, kX as fetchTrashSummary, _$ as fetchWants, _be as filterReviewRows, Fn as firstGrapheme, BK as flexRender, UAe as flowGraph, WAe as flowLabel, Hke as fmtCount, kn as fmtDur, jn as fmtSize, nue as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, iue as followupDetail, Of as frame, Lfe as g4, Xq as getDefaultPaginationState, bA as gridLayout, Wr as groupByAuthor, tue as groupFollowups, NY as groupReviewRows, Dxe as hasChanges, _X as hasResourceRoots, UF as hasResultProblems, PAe as historySpan, dz as i2, MAe as importTasteExport, w0 as indexersSkeleton, Zf as interpolate, b$ as invalidateWants, GF as isActive, Pr as isBroken, Or as isLayout, Rh as isMotionValue, MY as isReviewCategory, rue as isRoutine, T0 as javBrowserSkeleton, F0 as javContentSkeleton, pA as javLayout, P0 as javTagSkeleton, Lxe as junkBreakdown, TTe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, d3 as known, Vfe as l7, eue as latestOfKind, eAe as lengthRows, ir as localTime, _i as lookupFeedActor, Wfe as m7, Sz as mM, cn as mapLimit, di as markItem, g3 as max, Qke as mediumRows, Ule as mergeFinished, _3 as min, Fbe as mirrorText, obe as missingToolText, bY as mixedCloudPreferences, XF as momentText, By as motion, hh as motionValue, mxe as organizeOutcome, X0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, ZV as peachHistory, ZV as peachHistory$1, Tbe as pendingGenres, Wke as percentText, sxe as pickOrganizeFolder, pxe as planSummary, f3 as playedFor, Kke as playedItemUrl, BF as pollInterval, ks as popCount, xTe as posterUrl, nG as previewLibraryColor, oxe as previewOrganize, lbe as previewUrl, $le as problemDestination, qF as progressText, nU as providerIcon, Bbe as pruneText, yX as purgeCount, yxe as purgeOrphan, wz as pv, fpe as qE, H as queryClient, fz as r2, BAe as radarRows, Yke as radialArc, Xke as radialBarSize, Jke as radialCeiling, qke as radialSlices, Ij as randomId, RAe as rankDetail, zAe as rankShares, m3 as reachedShare, JF as readableErrorHeadline, oDe as recommendationScore, jbe as recordGenre, xxe as recordsText, ETe as recreatePlaylist, yTe as refreshPlaylists, xl as relayoutCovers, Si as reloadFollowManage, Pbe as reloadReview, REe as rememberShape, lxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, jAe as removeTasteSource, y$ as removeWants, li as renameAliasGroup, CTe as renamePlaylist, nAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, aq as require_with_selector, Qwe as resetWants, Yn as resolveFollowSort, dp as resolveStartTime, bTe as resumeAssetId, gbe as reviewGroupingOptions, Ixe as reviewSummary, vbe as reviewWindow, Cbe as rowEvidence, FY as rowFieldName, rJ as rowPaginationFeature, wJ as rowSelectionFeature, LJ as rowSortingFeature, PY as rowSubject, wbe as rowTags, Sbe as rowTitle, Rfe as s5, ui as saveCredential, Oxe as scanLine, Zbe as schedulePollInterval, eTe as searchNote, bbe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, pV as settingsPath, Jye as sharedNamePrefix, QV as shellNavigate, b8 as showToast, xn as siteMarkUrl, _q as skipFirstRun, OF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, jxe as sourceMeta, bs as spinnerHtml, Jf as spring, zz as spriteGlyph, ni as startCheck, Rbe as startLinkCheck, zbe as startLinkPrune, cxe as startOrganize, ri as startResolve, Txe as startResourceApply, wxe as startResourceScan, AAe as startTasteRefresh, Yle as statusLabel, abe as statusLine, Nr as statusText, SA as storeJavLayout, kbe as submitDecision, ZF as summaryItems, zq as tableFeatures, vq as tableMemo, Kr as tableRows, Qle as taskIssues, I3 as tasteDate, IAe as tasteDimensions, FAe as tasteHours, P3 as tasteKey, TAe as tasteRefetchInterval, EAe as tasteTime, PF as textLang, ld as time, epe as tl, Xr as toggleGroup, L3 as topScores, rpe as uo, kH as useAction, AZ as useBackgroundJob, bU as useClientUpdates, xu as useConstant, nI as useHorizontalScroller, Su as useIsomorphicLayoutEffect, iG as useLibraryTints, Ft as useMutation, oV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, My as useReducedMotion, Xbe as useRunSchedule, Jbe as useSaveFollowSchedule, aX as useSaveSettings, Qbe as useSaveThumbnailMode, RJ as useTable, tY as useTablePreferences, tbe as victimBytes, $we as wantName, Gke as watchNote, p3 as watchedShare, cc as wireHorizontalScroller, uxe as withOrganizeJob };
+QPe($9);
+export { NI as $2ec61d1d4f780267$export$a8a3e93435678ff9, VI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, iR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, BT as $72abaeab4d80592f$export$78efe591171d7d45, XR as $76d00c5a4edb230a$export$76ccd210b9029917, qR as $76d00c5a4edb230a$export$816b5d811295e6bc, $R as $76d00c5a4edb230a$export$b59bdbef9ce70de2, tz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, KR as $76d00c5a4edb230a$export$f850895b287ef28e, gfe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, hfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, ffe as $b4f18e3395fe64d7$export$b2539bed5023c21c, az as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, yfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, Dw as $ea3928288112382f$export$439d29a4e110a164, _R as $f2ff30fde7b014be$export$3ddf2d174ce01153, wR as $fe21c36db05242bb$export$a98f0dcb43a68a25, TR as $fe21c36db05242bb$export$d7b12c4107be0d61, tpe as $l, cA as ACCENTS, MTe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, NTe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, RW as ArtSlot, q as Button, cI as ButtonLink, upe as Bx, Qt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, l1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, PTe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, aV as Checkbox, iV as CheckboxGlyph, YB as ChevronSortDown, sZ as Chip, J2 as CloudDownloadDialog, JH as CollapseChevron, qH as CollapseRegion, p$ as CollectionSummary, mbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, dxe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, _Y as DUPLICATES_KEY, QJ as DataTableFooter, JJ as DataTableFrame, ZJ as DataTableSort, eU as Disclosure, UOe as DownloadsPanel, Kfe as E3, hbe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, ipe as Ea, xpe as EmptyFocusButton, Lz as EmptyState, QH as ErrorText, rge as ExternalLink, Sr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, HAe as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, age as Fact, ige as FactList, $H as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, QF as FilterGlass, $F as FilterGlassRows, ZF as FilterIconButton, tI as FilterPill, nge as Footer, xz as Gg, rI as GlassPill, ZH as Help, Oz as HintText, PAe as IDLE_POLL_MS, rbe as IDLE_REPAIR, KF as IconButton, Nz as Input, Mz as InputBase, DA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Q3 as JavHeader, Zye as KEEP_LABELS, wr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, fH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, Lbe as LINK_KINDS, VY as LINK_PRUNE_KEY, Ln as LOC, Dz as Label, V$ as LibraryProcessingCard, eB as LibraryShortcuts, OH as LinkButton, HH as LoadingDots, Jfe as M6, Hbe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, SY as MEDIA_REPAIR_KEY, xY as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Zo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, $B as MENU_ITEM, eV as MENU_ITEM_INTERACTIVE, QB as MENU_POPOVER_SURFACE, MH as MenuDialog, PG as MixCard, Pz as ModalFrame, my as MotionConfigContext, Ez as NR, Iz as Note, _pe as OA, oX as ORGANIZE_KEY, lX as ORPHAN_RECORDS_KEY, bz as OV, pz as P7, Jwe as PHASES, JY as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, PEe as POLICY_COLUMNS, IEe as POLICY_COVER_NOTE, FEe as POLICY_MATRIX, q1 as POLICY_SUMMARY, XJ as Pagination, B$ as PathLine, _F as PillTabList, WH as Progress, DY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, CY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, sTe as RESULT_PANEL, cTe as RESULT_SECTION, pbe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, AY as REVIEW_KEY, jY as REVIEW_LABELS, LW as RetryNote, gpe as Rf, $he as Rows, ATe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, kTe as SCRAPING_SETTINGS_URL, LU as SEGMENT, IU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, u3 as STATS_KEY, Qhe as Section, tge as SectionSkeleton, FU as SegmentedRadioGroup, Yge as SegmentedTabList, hW as Segments, YJ as Select, OU as Select$1, p1 as SelectField, kU as SelectItem, aY as SelectionActions, Bk as SelectionDock, oY as SelectionPopover, YH as SettingsCard, Zhe as SettingsRow, XH as SettingsSectionLabel, lge as SiteLabel, HU as SortDirectionIcon, vW as SortKeys, hQ as SourceAvatar, iU as SourceLabel, tU as SourceMark, ege as Stack, z$ as StatusLabel, F2 as Switch, EF as TASKS_KEY, CAe as TASTE_REFRESH_KEY, wAe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, oue as TRIGGER_LABELS, zJ as Table, sY as TableColumnControls, cY as TableColumnResizer, uY as TableSelectionHeader, n$ as TagManager, GH as TaskProgress, Az as TextField, kz as TextFieldContext, yz as Un, _$ as WANTS_KEY, i4 as WantMagnets, hp as WithPromise, mz as Wt, vz as Xc, Tz as Xf, Xfe as Xt, qfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, hpe as aB, si as addAlias, oi as addSource, y$ as addWant, B as apiGet, V as apiSend, xA as appSettingsStore, Axe as applyConfirmText, SX as applyLeftovers, kxe as applyPlanText, Mxe as applyText, TA as applyTheme, $g as asNumber, vxe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Dq as autoResetPageIndex, Za as avatarInner, g3 as bandRows, fxe as baseName, nbe as batchOperate, Gk as boundedPreference, $ye as bulkCloudPreferences, Vz as busyProps, mpe as cB, $Oe as cachedMagnetStates, ap as calcGeneratorVelocity, xbe as canApprove, kf as cancelFrame, Cxe as candidateText, VH as cardClass, BA as cardRatio, _z as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Vbe as checkLine, Ci as checkReceipt, wi as checkSummary, ITe as checkText, Di as checkedText, oG as clickedBlank, Gye as cloudLocations, O0 as cloudProxySkeleton, qx as clsx, spe as cn, ph as collectMotionValues, qq as columnVisibilityFeature, PJ as column_getCanSort, AJ as column_getSortFn, ybe as commonReviewSources, lV as configurationSection, OAe as configureTasteBrowser, Vc as confirmModal, lq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Rq as createColumnHelper, CTe as createPlaylist, ji as credentialDone, w0 as credentialsSkeleton, Abe as currentReviewRow, mF as cx, Cz as dZ, Dbe as decisionPayload, Obe as decisionReceipt, Ebe as defaultChoice, TTe as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, nTe as discoveryArtwork, w$ as discoveryKey, oDe as discoveryScore, Yye as distinctName, Nbe as dropReviewRows, xi as dropSources, ppe as du, ebe as duplicateVictims, NF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Eq as expandRowModel, uz as f1, Fr as feedIntervalText, e1 as fetchAmaneBridge, $r as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Qr as fetchCredentials, q$ as fetchCustomSources, NQ as fetchDiagnostics, T$ as fetchDiscoveries, yY as fetchDuplicates, tue as fetchEarlier, Gbe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Wbe as fetchFollowSchedule, OX as fetchJunkSummary, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, Ube as fetchMediaProcessing, wY as fetchMediaRepair, tr as fetchMediaSources, sX as fetchOrganize, ixe as fetchOrganizeExample, uX as fetchOrphanRecords, fi as fetchPending, W$ as fetchPlaylists, OY as fetchQualityGoals, TY as fetchRepairLibraries, ei as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, DX as fetchReviewCounts, iX as fetchSettings, Q$ as fetchSources, d3 as fetchStats, ti as fetchSuggestions, OF as fetchTasks, I3 as fetchTaste, kAe as fetchTasteJob, Kbe as fetchThumbnailJobs, kX as fetchTrashSummary, v$ as fetchWants, _be as filterReviewRows, Fn as firstGrapheme, BK as flexRender, WAe as flowGraph, GAe as flowLabel, Uke as fmtCount, kn as fmtDur, jn as fmtSize, hue as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, _ue as followupDetail, Of as frame, Lfe as g4, Xq as getDefaultPaginationState, zA as gridLayout, Wr as groupByAuthor, mue as groupFollowups, NY as groupReviewRows, Dxe as hasChanges, _X as hasResourceRoots, AF as hasResultProblems, FAe as historySpan, dz as i2, NAe as importTasteExport, T0 as indexersSkeleton, Zf as interpolate, x$ as invalidateWants, MF as isActive, Pr as isBroken, Or as isLayout, Rh as isMotionValue, MY as isReviewCategory, gue as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, MA as javLayout, F0 as javTagSkeleton, Lxe as junkBreakdown, ETe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, f3 as known, Vfe as l7, pue as latestOfKind, tAe as lengthRows, ir as localTime, _i as lookupFeedActor, Wfe as m7, Sz as mM, cn as mapLimit, di as markItem, _3 as max, $ke as mediumRows, nue as mergeFinished, v3 as min, Fbe as mirrorText, obe as missingToolText, bY as mixedCloudPreferences, BF as momentText, cb as motion, hh as motionValue, mxe as organizeOutcome, Z0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, ZV as peachHistory, ZV as peachHistory$1, Tbe as pendingGenres, Gke as percentText, sxe as pickOrganizeFolder, pxe as planSummary, p3 as playedFor, qke as playedItemUrl, DF as pollInterval, ks as popCount, STe as posterUrl, nG as previewLibraryColor, oxe as previewOrganize, lbe as previewUrl, fue as problemDestination, PF as progressText, rU as providerIcon, Bbe as pruneText, yX as purgeCount, yxe as purgeOrphan, wz as pv, fpe as qE, H as queryClient, fz as r2, VAe as radarRows, Xke as radialArc, Zke as radialBarSize, Yke as radialCeiling, Jke as radialSlices, rM as randomId, zAe as rankDetail, BAe as rankShares, h3 as reachedShare, FF as readableErrorHeadline, sDe as recommendationScore, jbe as recordGenre, xxe as recordsText, DTe as recreatePlaylist, bTe as refreshPlaylists, xl as relayoutCovers, Si as reloadFollowManage, Pbe as reloadReview, zEe as rememberShape, lxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, MAe as removeTasteSource, b$ as removeWants, li as renameAliasGroup, wTe as renamePlaylist, rAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, aq as require_with_selector, Zwe as resetWants, Yn as resolveFollowSort, dp as resolveStartTime, xTe as resumeAssetId, gbe as reviewGroupingOptions, Ixe as reviewSummary, vbe as reviewWindow, Cbe as rowEvidence, FY as rowFieldName, rJ as rowPaginationFeature, wJ as rowSelectionFeature, LJ as rowSortingFeature, PY as rowSubject, wbe as rowTags, Sbe as rowTitle, Rfe as s5, ui as saveCredential, Oxe as scanLine, Zbe as schedulePollInterval, $we as searchNote, bbe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, pV as settingsPath, Jye as sharedNamePrefix, QV as shellNavigate, x8 as showToast, xn as siteMarkUrl, _q as skipFirstRun, hF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, jxe as sourceMeta, bs as spinnerHtml, Jf as spring, zz as spriteGlyph, ni as startCheck, Rbe as startLinkCheck, zbe as startLinkPrune, cxe as startOrganize, ri as startResolve, Txe as startResourceApply, wxe as startResourceScan, jAe as startTasteRefresh, cue as statusLabel, abe as statusLine, Nr as statusText, VA as storeJavLayout, kbe as submitDecision, HF as summaryItems, zq as tableFeatures, vq as tableMemo, Kr as tableRows, due as taskIssues, L3 as tasteDate, LAe as tasteDimensions, IAe as tasteHours, F3 as tasteKey, EAe as tasteRefetchInterval, DAe as tasteTime, xF as textLang, ld as time, epe as tl, Xr as toggleGroup, R3 as topScores, rpe as uo, kH as useAction, AZ as useBackgroundJob, xU as useClientUpdates, xu as useConstant, YF as useHorizontalScroller, Su as useIsomorphicLayoutEffect, iG as useLibraryTints, Ft as useMutation, oV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, eb as useReducedMotion, Xbe as useRunSchedule, Jbe as useSaveFollowSchedule, aX as useSaveSettings, Qbe as useSaveThumbnailMode, RJ as useTable, tY as useTablePreferences, tbe as victimBytes, Qwe as wantName, Kke as watchNote, m3 as watchedShare, cc as wireHorizontalScroller, uxe as withOrganizeJob };
-//# debugId=dc0d1d22-a6c2-4ee3-89a3-4220fcd1d0e9
\ No newline at end of file
+//# debugId=8bad2f98-410d-408a-bca6-aac14c1b3700
\ No newline at end of file